Bug#354577: Patch (attempt #2)

2006-02-28 Thread Andrew ``Bass'' Shcheglov
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.

Bug#354577: Patch (attempt #2)

2006-02-28 Thread 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.

Bug#354577: Patch

2006-02-28 Thread Andrew ``Bass'' Shcheglov
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

Bug#354577: xbase-clients: [xfontsel] xfontsel doesn't see all fonts if there's more than 32768 of them

2006-02-27 Thread Andrew ``Bass'' Shcheglov
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