File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -939,13 +939,19 @@ class ExpressionMapping {
939
939
nextExp.text == "off" ||
940
940
nextExp.text == "1" ||
941
941
nextExp.text == "0" )) {
942
- fontFeatures.add (FontFeature (exp.text,
942
+ try {
943
+ fontFeatures.add (FontFeature (exp.text,
943
944
nextExp.text == "on" || nextExp.text == "1" ? 1 : 0 ));
945
+ } catch (_) {}
944
946
} else {
945
- fontFeatures.add (FontFeature .enable (exp.text));
947
+ try {
948
+ fontFeatures.add (FontFeature .enable (exp.text));
949
+ } catch (_) {}
946
950
}
947
951
} else {
948
- fontFeatures.add (FontFeature .enable (exp.text));
952
+ try {
953
+ fontFeatures.add (FontFeature .enable (exp.text));
954
+ } catch (_) {}
949
955
}
950
956
}
951
957
}
Original file line number Diff line number Diff line change @@ -600,6 +600,7 @@ enum Display {
600
600
}
601
601
602
602
enum ListStyleType {
603
+ initial ('initial' ),
603
604
arabicIndic ('arabic-indic' ),
604
605
armenian ('armenian' ),
605
606
lowerArmenian ('lower-armenian' ),
You can’t perform that action at this time.
0 commit comments