the problem of XmbDrawString in xts5

Rui Feng <[email protected]> Tue, 27 Sep 2005 19:01:28 +0800
Newsgroups gmane.linux.lsb.test-suite
Message-ID <OF823D5E89.3842CC17-ON48257089.003B1E0D-48257089.003C6057@cn.ibm.com>
Hi,

There are some test cases for XmbDrawString/XmbDrawText in Xlib14,
but it seems that these cases are not well designed:

1. They try to use C as locale and the following to fonts:

xtfont7.pcf -vsw-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
xtfont8.pcf -vsw-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1

the C locale covers only the range of 0x00 to 0x7F, but it tries to
capture the pixels from the screen and compare them with the a1.C.dat
file, which covers the range of 0x00 to 0xFF.

2. The display windows is too narrow for the second font
(-vsw-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1)


It seems that we should better use en_US.ISO8859-1 locale for these
cases (XT_LOCALE setting in tetexe.cfg and rename the a1.C.dat to
a1.en_US.ISO8859-1.dat).

Any ideas?

Regards.

Rui Feng

_______________________________________________
lsb-test mailing list
[email protected]
http://mail.freestandards.org/mailman/listinfo/lsb-test