1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
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
..
core 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
display Ensure that the clipping path is reset when the state is restored (issue 6413) 2015-09-03 17:35:32 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Serialize errors before invoking postMessage 2015-08-08 21:44:57 +02:00
doc_helper.js Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
pdf.js Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
worker_loader.js Stop including cidmaps.js 2014-07-25 21:53:09 +02:00