1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Consider textRise when showing type3 font glyphs

Add test case for issue 19532
This commit is contained in:
Xiphoseer 2025-02-21 20:51:27 +01:00
parent e3ea92603d
commit 24aa39eb14
4 changed files with 411 additions and 1 deletions

View file

@ -2362,7 +2362,7 @@ class CanvasGraphics {
ctx.save();
ctx.transform(...current.textMatrix);
ctx.translate(current.x, current.y);
ctx.translate(current.x, current.y + current.textRise);
ctx.scale(textHScale, fontDirection);