fonttosfnt: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 28 17:05:12 UTC 2024


 write.c |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit e3971be7b20580a54b3c26281a5912433b9a7319
Author: Jan Friesse <jfriesse at gmail.com>
Date:   Wed Nov 2 09:41:57 2022 +0100

    Use FONT_UNITS_FLOOR for ascent/descent
    
    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>



More information about the xorg-commit mailing list