Re: fonts for KDE folders and files

Mike FABIAN <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
"hermanmeester" <[email protected]> :

> After a SuSE 9.1 reinstall

By the way, why not update to SuSE 9.3 instead of reinstalling 9.1?

> all the files and folders with Arabic names have a funny
> (=illegible) Arabic font. Could anyone tell me from which directory
> KDE (when it is displaying the various files and folders you're
> navigating with Konqueror) gets all its non-western fonts?

Directories do not matter here, they have nothing to do with
languages. All directories which are mentioned in
/etc/fonts/fonts.conf and all their subdirectories are searched for
fonts. Which font is in which directory doesn't matter at all.

To influence which fonts are preferred for Arabic, add the following
rules to your ~/.fonts.conf file:

        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>your preferred Western Sans Serif font</family>
                        <family>your preferred Arabic Sans Serif font</family>
                        [... add fonts for other languages as needed here ...]
                </prefer>
        </alias>
        <alias>
                <family>serif</family>
                <prefer>
                        <family>your preferred Western Serif font</family>
                        <family>your preferred Arabic Serif font</family>
                        [... add fonts for other languages as needed here ...]
                </prefer>
        </alias>

        <alias>
                <family>monospace</family>
                <prefer>
                        <family>your preferred Western monospace font</family>
                        <family>your preferred Arabic monospace font</family>
                        [... add fonts for other languages as needed here ...]
                </prefer>
        </alias>

for more details see:

    http://www.suse.de/~mfabian/suse-cjk/fonts-xft-fontconfig.html

This should be enough for GTK2 applications.

For KDE applications, like Konqueror, you have to setup your
preferences with qtconfig. Start

    /usr/lib/qt3/bin/qtconfig

and configure your font preferences as described on

    http://www.suse.de/~mfabian/suse-cjk/kde-font-setup.html

-- 
Mike FABIAN   <[email protected]>   http://www.suse.de/~mfabian



-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.