1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

avoid font lookup by id in showText

This commit is contained in:
Andreas Gal 2011-07-08 14:58:19 -07:00
parent d3979e4ac2
commit f6eb9cecd3
2 changed files with 13 additions and 12 deletions

View file

@ -413,6 +413,7 @@ function getUnicodeRangeFor(value) {
var Font = (function() {
var constructor = function font_constructor(name, file, properties) {
this.name = name;
this.textMatrix = properties.textMatrix || IDENTITY_MATRIX;
this.encoding = properties.encoding;
// If the font is to be ignored, register it like an already loaded font