Commit 9e5c7ab
committed
LibGfx/OpenType: Return metrics from hmtx even if there is no glyf entry
This fixes an issue with some typefaces where the space character has an
advance width, but no glyf entry (and thus no ascent/descent). Before
this change, we'd render whitespace with zero advance in such cases.1 parent 58e3b8c commit 9e5c7ab
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
675 | | - | |
676 | 674 | | |
677 | | - | |
678 | | - | |
| 675 | + | |
| 676 | + | |
679 | 677 | | |
680 | 678 | | |
681 | 679 | | |
| |||
0 commit comments