From cdff127eef9d5998f1d1b0df62457570f14fb12d Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Sun, 3 Jul 2011 14:52:00 +0200 Subject: [PATCH] Let Chrome (and others?) handle Type1 Fonts (TrueType not working yet) --- fonts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fonts.js b/fonts.js index 808553ce9..ebbd0c0b8 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; },