pdf.js/test
Jonas Jenwald 29a1cdb6a6 Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410)
For (1, 0) cmaps, we have two different codepaths depending on whether the font has/hasn't got an encoding. But with (3, 1) cmaps we don't have a good fallback when the encoding is missing, hence this patch changes `readCmapTable` to only choose a (3, 1) cmap table if the font is non-symbolic *and* an encoding exists. Without this, we'll not be able to successfully create a working glyph map for some TrueType fonts with (3, 1) cmap tables.

Fixes 6410.
2015-09-07 16:56:05 +02:00
..
features cleaned whitespace 2015-02-17 11:07:37 -05:00
font cleaned whitespace 2015-02-17 11:07:37 -05:00
mozcentral cleaned whitespace 2015-02-17 11:07:37 -05:00
pdfs Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410) 2015-09-07 16:56:05 +02:00
resources Merge pull request #5905 from timvandermeij/specialpowers 2015-04-27 10:36:54 -07:00
stats cleaned whitespace 2015-02-17 11:07:37 -05:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit Merge pull request #6404 from Snuffleupagus/linearization-unit-tests 2015-08-31 07:38:55 -05:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
downloadutils.js Fixes lint warning W004 in /test 2014-04-11 00:02:33 +02:00
driver.js Add --testfilter (-t) flag to run a specific test 2015-07-18 17:31:56 +02:00
test_manifest.json Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410) 2015-09-07 16:56:05 +02:00
test_slave.html Implement an option to disable automatic scrolling 2015-05-21 20:19:36 +02:00
test.js Add --testfilter (-t) flag to run a specific test 2015-07-18 17:31:56 +02:00
testutils.js Improve robustness of builder (esp. on Windows) 2015-07-16 21:40:57 +02:00
webbrowser.js Merge pull request #6222 from Rob--W/botio-robustness 2015-08-03 10:10:35 -07:00
webserver.js Fix lint error: "test/webserver.js: line 177, col 106, Line is too long." 2015-01-08 12:22:34 +01:00