You are not logged in.

1

Tuesday, February 3rd 2004, 6:56am

KDE 3.1.5 vs. XFree 4.3.0 font problems (iso-8859-15)

Hello folks,

I am having a problem here with KDE 3.1.5 and XFree 4.3.0 and the correct fonts for iso-8859-15 character set.

KDE, X and the the rest of the system is compiled by myself.

LC_CTYPE=de_DE@euro which points to de_DE.ISO8859-15 in /usr/X11R6/lib/X11/locales/locale.alias - this should be correct.

LANG, and the rest of LC_<something> are unset...pointing to POSIX if I execute "locale".

100dpi, 75dpi and Type1-fonts came with X in several encodings (in iso-8859-15 too). So there should be no problem in finding fonts.

If I execute kdm (whose standard font is Adobe Helvetica) the correct character set is used. I can type the ?-sign (euro-sign) correctly in the username field of kdm. But if I start a session this does not work anymore. The euro-sign is correctly displayed with truetype-fonts like the ms-fonts for example but it is not correctly displayed with the type1-fonts. It looks like XFree doesn't know which fonts to take (because LC_CTYPE is maybe unset?) and therefore is (maybe) taking the wrong chracter set for choosing fonts. Anyway, truetype-fonts work.

I played around several hours with the locale environment variables but it is always the same problem. It is confusing that it works in KDM but as soon a session is startet it does not work anymore.

I would really appreciate your help in tracking down this issue.

Sven

2

Tuesday, February 3rd 2004, 8:25am

additional information

Hello folks,

Here is some additional information to the mentioned problem above:

I wrote a smal HTML-page that produces a page with some euro-signs inside the page-title. Mozilla displays this page title in as window title when it is rendering the page.

I started X and started Mozilla (LC_CTYPE was set to de_DE@euro) and displayed this page. I took fvwm as window manager: fvwm uses standard fonts to display and the page title was displayed CORRECTLY with the euro-signs in it. So font-selection works....XFree doesn't seem to be the problem here... For proof I tried the same with unset LC-variables and there were questionmarks where the euro.signs should be.

I switched back to LC_CTYPE=de_DE@euro and startet konqueror with Adobe-Helvatica as title font. Mozilla is displaying the title correctly, konqueror not. - So this problem _must_ have something to do with KDE and/or QT.

The behaviour is reproducable..

Sven

3

Tuesday, February 3rd 2004, 10:24am

the problem is QT

Hello folks,

I managed to track this problem down to QT.
GTK or native X-apps have no problems with ISO-8859-15 character set and displaying the euro-sign with the X-fonts. QT-apps just do not work! I tried it with QT 3.2.3 and QT 3.2.2. I know I had this running with QT 3.1.2, so I will try this next.

I was looking at the QT-interest archive at Trolltech's site but found no information regarding this problem.

Any ideas?

Sven