File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -574,8 +574,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
574
574
575
575
var flags = properties .flags ;
576
576
var differences = [];
577
- var baseEncoding = !!(flags & FontFlags .Symbolic ) ?
578
- Encodings .symbolsEncoding : Encodings .StandardEncoding ;
577
+ var baseEncoding = Encodings .StandardEncoding ;
578
+ // The Symbolic attribute can be misused for regular fonts
579
+ // Heuristic: we have to check if the font is a standard one also
580
+ if (!!(flags & FontFlags .Symbolic )) {
581
+ baseEncoding = !properties .file ? Encodings .symbolsEncoding :
582
+ Encodings .MacRomanEncoding ;
583
+ }
579
584
var hasEncoding = dict .has ('Encoding' );
580
585
if (hasEncoding ) {
581
586
var encoding = dict .get ('Encoding' );
You can’t perform that action at this time.
0 commit comments