Don't print missing symbols in the font

This commit is contained in:
notmasteryet 2012-03-25 14:15:40 -05:00
parent 32eb64389e
commit 72355121a0
2 changed files with 23 additions and 8 deletions

View file

@ -751,6 +751,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
x += Util.sign(current.fontMatrix[0]) * wordSpacing;
continue;
}
if (glyph.disabled)
continue;
var char = glyph.fontChar;
var charWidth = glyph.width * fontSize * 0.001 +