Fonts in a KDE application

Anne-Marie Mahfouf annemarie.mahfouf at free.fr
Wed Apr 6 21:17:27 BST 2005


Hi,

> Yes, it's the right place. Yet KDE *must* be buildable without any sort of
> X-Server running, also from the release tarballs distributed by KDE itself.
>
> So what's wrong with, e. g. doing it the same way as konsole (and document
> it properly in the README, or INSTALL).

what's wrong is that in konsole case the font is NOT installed i.e. not 
available for konsole to use it. the font is merely copied to some location 
and that's it.
we want the font to be immediately usable, from source or from packages. 

so what we intend to do is 
1) during app startup, use QFont to try to load the font
2) if it fails, install the font over using kfmclient and kfontinst (all in 
the code, nothing required from user, nothing in compile time that requires a 
X server) in fonts:/Personal

:-)

Anne-Marie





More information about the kde-core-devel mailing list