mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Merge pull request #2299 from ironymark/master
Cleared some unused code
This commit is contained in:
commit
ce9460113c
1 changed files with 0 additions and 4 deletions
|
@ -849,10 +849,6 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
||||||
|
|
||||||
x += charWidth;
|
x += charWidth;
|
||||||
|
|
||||||
var glyphUnicode = glyph.unicode === ' ' ? '\u00A0' : glyph.unicode;
|
|
||||||
if (glyphUnicode in NormalizedUnicodes)
|
|
||||||
glyphUnicode = NormalizedUnicodes[glyphUnicode];
|
|
||||||
|
|
||||||
canvasWidth += charWidth;
|
canvasWidth += charWidth;
|
||||||
}
|
}
|
||||||
current.x += x * textHScale2;
|
current.x += x * textHScale2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue