nd
_LFWIstate, _FontNames structures operate int (or unsigned int)
arguments/fields (for maxnames/size), not CARD16...
And the patched version of xfontsel works well for me.
Where am I wrong?
--
Yours sincerely,
Andrew ``Bass'' Shcheglov.
Sorry, the patch got crippled being sent as message body. Now sending
as an attachment.
diff -ur xc.orig/programs/xfontsel/xfontsel.c xc/programs/xfontsel/xfontsel.c
--- xc.orig/programs/xfontsel/xfontsel.c 2004-04-04 02:38:55.0 +0400
+++ xc/programs/xfontsel/xfontsel.c 2006-02-28 17:51:11.
The maxnames parameter of XListFonts can take values that exceed 32767
(the hardcoded value) on platforms where sizeof(int) is greater than 2
bytes. The patch supplied eliminates the problem. It was made for
XFree-4.5.0, not x.org for two reasons:
1. source code of old utilities doesn't differ too
Package: xbase-clients
Version: 6.9.0.dfsg.1-4
Severity: important
*** Please type your report below this line ***
Apparently, if there's more than 32768 fonts available to the X server,
xfontsel doesn't see all of them.
Here's the actual number of fonts on my machine:
$ xlsfonts | wc -l
33412
4 matches
Mail list logo