GNU bug report logs -
#77171
31.0.50; Some lines in etc/HELLO display with large height on MS-Windows
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Sat, 22 Mar 2025 10:37:01 UTC
Severity: normal
Tags: patch
Found in version 31.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #36 received at 77171-done <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 21 Apr 2025 20:53:35 +0200
> From: Cecilio Pardo <cpardo <at> imayhem.com>
>
> The attached patch examines the actual glyph's outline with DirectWrite
> to compute exact values for ascent and descent and should solve the
> problem for any font. Specifically, Sans Serif Collection works well
> now, and everything on HELLO.txt looks good on my system.
>
> This adds some overhead, but I didn't find it noticeable. In case
> someone does, we could cache measurements as the GDI backend does.
>
> When computing the bounding box for bezier curves, I just used minmax
> values for start/end and control points, instead of actually evaluating
> the curve. This reduces the overhead and loses some precision, but I
> didn't see any real difference.
Thanks, this solves the problems, so I've now installed this on
master, and I'm therefore closing the bug.
This bug report was last modified 83 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.