summaryrefslogtreecommitdiff
path: root/env.c
diff options
context:
space:
mode:
authorJan Friesse <jfriesse@gmail.com>2022-11-02 09:41:57 +0100
committerMarge Bot <emma+marge@anholt.net>2024-07-28 17:04:52 +0000
commite3971be7b20580a54b3c26281a5912433b9a7319 (patch)
treecfc40a3a126a33b90d40535f2cb555dcc1724bb3 /env.c
parent7532e3ad70441041395c77d12424edd31cf63a42 (diff)
Use FONT_UNITS_FLOOR for ascent/descentHEADmaster
Before version 1.49.3 the pango was using (probably) values from BLC table, since 1.49.3 pango uses harfbuzz for metrics and it seems harfbuzz is using OS2 table. Result is font with 1px extra for ascend/descent. Solution seems to be to use FONT_UNITS_FLOOR instead of FONT_UNITS_CEIL when storing file. Fixes: #7 Part-of: <https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/merge_requests/18>
Diffstat (limited to 'env.c')
0 files changed, 0 insertions, 0 deletions