Skip to content

Commit b1ae237

Browse files
committed
No suppressWarnings in Yury's encoding patch
1 parent 5c261b4 commit b1ae237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/canvas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,10 +478,10 @@ var CanvasGraphics = (function canvasGraphics() {
478478
geom.hScale = tr[0] - bl[0];
479479
geom.vScale = tr[1] - bl[1];
480480
}
481-
var spaceGlyph = font.charsToGlyphs(' ', true);
481+
var spaceGlyph = font.charsToGlyphs(' ');
482482
// Hack (sometimes space is not encoded)
483483
if (spaceGlyph.length === 0 || spaceGlyph[0].width === 0)
484-
spaceGlyph = font.charsToGlyphs('i', true);
484+
spaceGlyph = font.charsToGlyphs('i');
485485
// Fallback
486486
if (spaceGlyph.length === 0 || spaceGlyph[0].width === 0)
487487
spaceGlyph = [ {width:0} ];

0 commit comments

Comments
 (0)