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:
parent
e3ea92603d
commit
24aa39eb14
4 changed files with 411 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue