distributionsunabhängigen Font-Path für .ttf?

Oliver Baum <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization Fraunhofer IIS / AMM
Message-ID <[email protected]>
Hi, Liste!

Wie kann ich mir von meiner Applikation aus (möglichst ohne die 
XF86Config zu parsen ;-) ) das Verzeichnis holen, in dem die 
TrueType-Fonts 'rumliegen?

Bei meinem SuSE 9.1 ist das Verzeichnis /usr/X11R6/lib/X11/fonts/truetype
bei anderen Distris z.B.
/usr/share/fonts/truetype

NB: Bei Windoof (meine Applikation soll irgendwann mal 
plattformübergreifend laufen) kann man sich ja z.B. mit 
GetWindowsDirectory(...) das Windows-Verzeichnis holen und dann 
"\\Fonts" anhängen.

Vielen Dank für Hilfe im Voraus!


Viele Grüße,

	Oliver Baum

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [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.