mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Clear the |getSinglePixelWidth| cache when rendering Type3 fonts (issue 6117)
Fixes 6117.
This commit is contained in:
parent
e926757eb9
commit
75624c8d82
3 changed files with 11 additions and 0 deletions
|
@ -1485,6 +1485,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
if (isTextInvisible || fontSize === 0) {
|
||||
return;
|
||||
}
|
||||
this.cachedGetSinglePixelWidth = null;
|
||||
|
||||
ctx.save();
|
||||
ctx.transform.apply(ctx, current.textMatrix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue