From: Vivien Nicolas <21@vingtetun.org> Date: Sun, 3 Jul 2011 12:52:00 +0000 (+0200) Subject: Let Chrome (and others?) handle Type1 Fonts (TrueType not working yet) X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=cdff127eef9d5998f1d1b0df62457570f14fb12d;p=pdf.js.git Let Chrome (and others?) handle Type1 Fonts (TrueType not working yet) --- diff --git a/fonts.js b/fonts.js index 808553c..ebbd0c0 100644 --- a/fonts.js +++ b/fonts.js @@ -1656,7 +1656,7 @@ CFF.prototype = { }; charstrings.sort(function charstrings_sort(a, b) { - return a.unicode > b.unicode; + return a.unicode - b.unicode; }); return charstrings; },