Skip to content

Commit

Permalink
Merge pull request #305 from typekit/bs-fix-entity-encoding
Browse files Browse the repository at this point in the history
Do not encode test strings so they don't fail when they're passed to native API
  • Loading branch information
bramstein committed Feb 2, 2016
2 parents 02016df + 69d25a5 commit 1f53841
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/modules/google/fontapiparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ webfont.modules.google.FontApiParser = function(fontFamilies) {
this.fontTestStrings_ = {};
};


webfont.modules.google.FontApiParser.INT_FONTS = {
'latin': webfont.FontWatchRunner.DEFAULT_TEST_STRING,
'cyrillic': 'йяЖ',
'greek': 'αβΣ',
'khmer': 'កខគ',
'Hanuman': 'កខគ' // For backward compatibility
'cyrillic': '\u0439\u044f\u0416',
'greek': '\u03b1\u03b2\u03a3',
'khmer': '\u1780\u1781\u1782',
'Hanuman': '\u1780\u1781\u1782' // For backward compatibility
};

webfont.modules.google.FontApiParser.WEIGHTS = {
Expand Down

0 comments on commit 1f53841

Please sign in to comment.