logo       

Re: How to change font encoding?: msg#00396

kde.linux

Subject: Re: How to change font encoding?

Akar wrote:
Chris, KDE is built on QT and QT has made all this stuff automatic. The only
prerequisite is that you choose a font that has the glyphs you want or at
least assign a substitute font.

I don't see how it can be automatic since 8-bit encodings are ambiguous as to which character set the upper group should be mapped to. Web pages and certain text-based media forms might specify this in a special field, but what about something like a filename in the filesystem?

That is the problem we're having right now, is that Thai filenames in Konqueror are showing as some other language. We have chosen Tahoma font for all KDE fonts except fixed, and for the Konqueror browser font. But Tahoma contains several glyph sets from other languages besides Thai. So how does Qt know which one we want? There is nothing in the 8-bit information in the filename to give it a clue which encoding to use.

In KDE 2, we told it to use Thai encoding for Tahoma font, which made the choice clear.

Just remember that you need to set fonts in numerous places. In
controlcentre under fonts there is a general font but there is also a font
choice for the Desktop and for FileManager that is distinct from the
Konqueror Browser font choices.

Yes.

You use qtconfig (in your qt bin folder, prob not in your menu) to set
substitute fonts. For instance you can tell it to use Arial but to use
TastyThai font if there are glyphs that Arial does not have (probably none
in this case). You can do this for whatever fonts and families you want.

Thanks for the tip about qtconfig. This might hold the keys to solving my problem. I will investigate it soon, after I spend a long time responding to all the replies to my questions!

Thanks for your input, much appreciated.

Good day!
--
_____________________
Christopher R. Carlen
crobc@xxxxxxxxxxxxx
Suse 8.1 Linux 2.4.19

___________________________________________________
This message is from the kde-linux mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise