libXft: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 7 00:24:44 UTC 2022
src/xftextent.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 95284856783b824a714b7506762f4adce3bb17ce
Author: Adam Sampson <ats at offog.org>
Date: Wed Sep 7 00:31:10 2022 +0100
Fix length check in XftTextExtents*.
Commit 06a3c0ab6520e368ac936cb1ef172f19957db0fa added length checks of
the form "if (len <= 0) return;" to various Xft functions. However,
while rendering an empty string is equivalent to doing nothing, asking
for the extents of an empty string isn't -- it still needs to fill in
the extents structure. This broke text rendering in some applications
(e.g. xpdf's Motif GUI).
Check for len < 0 in XftTextExtents* instead.
More information about the xorg-commit
mailing list