Skip to content

Commit

Permalink
[cmap] Allow fonts that only have a format-12 or format-13 subtable
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad authored and khaledhosny committed Feb 5, 2014
1 parent d1a1bb1 commit 4100fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ bool ots_cmap_serialise(OTSStream *out, OpenTypeFile *file) {

// Some fonts don't have 3-0-4 MS Symbol nor 3-1-4 Unicode BMP tables
// (e.g., old fonts for Mac). We don't support them.
if (!have_304 && !have_314 && !have_034) {
if (!have_304 && !have_314 && !have_034 && !have_31012 && !have_31013) {
return OTS_FAILURE();
}

Expand Down

0 comments on commit 4100fb9

Please sign in to comment.