Partially reverts #2239 due to reftest fails

This commit is contained in:
Yury Delendik 2012-10-15 09:20:52 -05:00
parent 19002cc8a3
commit c129ecea8a

View File

@ -3557,10 +3557,6 @@ var Font = (function FontClosure() {
this.glyphNameMap = properties.glyphNameMap; this.glyphNameMap = properties.glyphNameMap;
} }
if (ids.length === 0) {
error('Valid glyph data is not found');
}
// Converting glyphs and ids into font's cmap table // Converting glyphs and ids into font's cmap table
cmap.data = createCMapTable(glyphs, ids); cmap.data = createCMapTable(glyphs, ids);
var unicodeIsEnabled = []; var unicodeIsEnabled = [];