We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c261b4 commit b1ae237Copy full SHA for b1ae237
src/canvas.js
@@ -478,10 +478,10 @@ var CanvasGraphics = (function canvasGraphics() {
478
geom.hScale = tr[0] - bl[0];
479
geom.vScale = tr[1] - bl[1];
480
}
481
- var spaceGlyph = font.charsToGlyphs(' ', true);
+ var spaceGlyph = font.charsToGlyphs(' ');
482
// Hack (sometimes space is not encoded)
483
if (spaceGlyph.length === 0 || spaceGlyph[0].width === 0)
484
- spaceGlyph = font.charsToGlyphs('i', true);
+ spaceGlyph = font.charsToGlyphs('i');
485
// Fallback
486
487
spaceGlyph = [ {width:0} ];
0 commit comments