diff --git a/fonts.js b/fonts.js index ebbd0c0b8..12d7ce82e 100644 --- a/fonts.js +++ b/fonts.js @@ -905,7 +905,7 @@ var Font = (function () { // Tables needs to be written by ascendant alphabetic order tables.sort(function tables_sort(a, b) { - return a.tag > b.tag; + return (a.tag > b.tag) - (a.tag < b.tag); }); // rewrite the tables but tweak offsets