]> git.parisson.com Git - pdf.js.git/commitdiff
Offset glyphs to the unicode private use area
authorAdil Allawi <adil@diwan.com>
Sat, 20 Aug 2011 08:31:19 +0000 (09:31 +0100)
committerAdil Allawi <adil@diwan.com>
Sat, 20 Aug 2011 08:31:19 +0000 (09:31 +0100)
fonts.js

index 6afb475574c60fb227c03af52c3f18500b459221..b985e48a549bb31c36bbadae940f76661fb2958c 100755 (executable)
--- a/fonts.js
+++ b/fonts.js
@@ -789,7 +789,7 @@ var Font = (function Font() {
     encoding: null,
 
     checkAndRepair: function font_checkAndRepair(name, font, properties) {
-      var kCmapGlyphOffset = 0xFF;
+      var kCmapGlyphOffset = 0xE000; //offset glpyhs to the Unicode Private Use Area
 
       function readTableEntry(file) {
         // tag