aboutsummaryrefslogtreecommitdiff
path: root/troff/font/devutf/charlib/_f_f
diff options
context:
space:
mode:
authorFazlul Shahriar <fshahriar@gmail.com>2018-06-22 16:43:17 -0400
committerDavid du Colombier <0intro@gmail.com>2018-10-05 23:38:31 +0200
commit48da9bd71ddae0c51f8aff4c0d6806a8e32c4e23 (patch)
tree47af35532b23f284a3f84588f08eb442b8701889 /troff/font/devutf/charlib/_f_f
parentdb27122d3942ebec4471c260403d87cdd6541add (diff)
downloadplan9port-48da9bd71ddae0c51f8aff4c0d6806a8e32c4e23.tar.gz
plan9port-48da9bd71ddae0c51f8aff4c0d6806a8e32c4e23.tar.bz2
plan9port-48da9bd71ddae0c51f8aff4c0d6806a8e32c4e23.zip
fontsrv: copy some fixes from OS X to X11
* Avoid allocating empty images by adding 1 to width/height. This was crashing fontsrv. The total width of the subfont image can be zero even if the characters are present in the font. For example, all the characters in x0300.bit (part of "Combining Diacritical Marks" Unicode block) have zero width. * Make sure U+0000 is always present in the font, otherwise libdraw complains with: "stringwidth: bad character set for rune 0x0000 in ..." * Use the same fallback glyph (pjw face) as OS X. This also fixes a bug where advance was set to the total width of subfont instead of the character. Update #125 (most likely fixes the crash if in X11) Change-Id: Icdc2b641b8b0c08644569006e91cf613b4d5477f
Diffstat (limited to 'troff/font/devutf/charlib/_f_f')
0 files changed, 0 insertions, 0 deletions