From c129ecea8a5d34c1f551987c4dbfb4c7c78f809c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 15 Oct 2012 09:20:52 -0500 Subject: [PATCH] Partially reverts #2239 due to reftest fails --- src/fonts.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fonts.js b/src/fonts.js index e7cac1345..17d847a8d 100644 --- a/src/fonts.js +++ b/src/fonts.js @@ -3557,10 +3557,6 @@ var Font = (function FontClosure() { this.glyphNameMap = properties.glyphNameMap; } - if (ids.length === 0) { - error('Valid glyph data is not found'); - } - // Converting glyphs and ids into font's cmap table cmap.data = createCMapTable(glyphs, ids); var unicodeIsEnabled = [];