Commit af9e511
committed
Fix font deduplication logic in createFontList.
Only add a font name to the "seen" list if one successfully extracts the
font properties from it; otherwise a first font that cannot be read
(e.g. due to permission issues) will mask a later font that can.1 parent f2e0479 commit af9e511
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | 520 | | |
523 | 521 | | |
524 | 522 | | |
| |||
551 | 549 | | |
552 | 550 | | |
553 | 551 | | |
| 552 | + | |
554 | 553 | | |
555 | 554 | | |
556 | 555 | | |
| |||
0 commit comments