[subset] Add missing FontName op code in top dict parsing.

Fix for #3058
This commit is contained in:
Garret Rieger 2021-07-14 13:46:36 -07:00
parent 9985ca6491
commit deee24fbef
8 changed files with 13 additions and 0 deletions

View File

@ -713,6 +713,7 @@ struct cff1_top_dict_opset_t : top_dict_opset_t<cff1_top_dict_val_t>
case OpCode_Notice:
case OpCode_Copyright:
case OpCode_FullName:
case OpCode_FontName:
case OpCode_FamilyName:
case OpCode_Weight:
case OpCode_PostScript:

View File

@ -12,6 +12,7 @@ EXTRA_DIST += \
expected/cff-full-font \
expected/japanese \
expected/cff-japanese \
expected/cff.notoserifmyanmar \
expected/layout \
expected/layout.gpos \
expected/layout.gpos2 \

View File

@ -3,6 +3,7 @@ TESTS = \
tests/cbdt.tests \
tests/cff-full-font.tests \
tests/cff-japanese.tests \
tests/cff.notoserifmyanmar.tests \
tests/cmap.tests \
tests/cmap14.tests \
tests/colr.tests \

Binary file not shown.

View File

@ -0,0 +1,9 @@
FONTS:
NotoSerifMyanmar-Regular.otf
PROFILES:
notdef-outline.txt
SUBSETS:
#စက်ပစ္စည်းတွေ၊

View File

@ -4,6 +4,7 @@ tests = [
'cff-full-font',
'japanese',
'cff-japanese',
'cff.notoserifmyanmar',
'layout',
'layout.gpos',
'layout.gpos2',