File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -939,13 +939,19 @@ class ExpressionMapping {
939939 nextExp.text == "off" ||
940940 nextExp.text == "1" ||
941941 nextExp.text == "0" )) {
942- fontFeatures.add (FontFeature (exp.text,
942+ try {
943+ fontFeatures.add (FontFeature (exp.text,
943944 nextExp.text == "on" || nextExp.text == "1" ? 1 : 0 ));
945+ } catch (_) {}
944946 } else {
945- fontFeatures.add (FontFeature .enable (exp.text));
947+ try {
948+ fontFeatures.add (FontFeature .enable (exp.text));
949+ } catch (_) {}
946950 }
947951 } else {
948- fontFeatures.add (FontFeature .enable (exp.text));
952+ try {
953+ fontFeatures.add (FontFeature .enable (exp.text));
954+ } catch (_) {}
949955 }
950956 }
951957 }
Original file line number Diff line number Diff line change @@ -600,6 +600,7 @@ enum Display {
600600}
601601
602602enum ListStyleType {
603+ initial ('initial' ),
603604 arabicIndic ('arabic-indic' ),
604605 armenian ('armenian' ),
605606 lowerArmenian ('lower-armenian' ),
You can’t perform that action at this time.
0 commit comments