PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : TTF-Fonts unter Debian einlesen


pixel
11.12.02, 14:35
Hi@all,

ich möchte unter Debian 3.0/XFrree-4.1.0/KDE-3.0.5 die Microsoft TrueType-Fonts einrichten. Gemäss Online-Handbuch habe ich die ttf-Dateien ins Verzeichnis /usr/share/fonts/truetyp
kopiert. Das alleine reicht ja noch nicht. Wie heisst der/die Befehle damit Sie ins System eingebunden werden?

Gruss Pixel

[WCM]Manx
11.12.02, 15:26
Hi!

Also ich hab's folgendermaßen gemacht:
font's in ein Verzeichnis kopiert und dieses in der XF86Config-4 und/oder (bin mir auch nicht sicher) XftConfig angegeben.
Ins TrueType Verzeichnis wechseln und mit "ttmkfdir -o fonts.scale" die Fonts.scale Datei erzeugen.
http://packages.debian.org/stable/x11/ttmkfdir.html
Schau ca. so aus:

debian:/usr/X11R6/lib/X11/fonts/TrueType# less fonts.scale
436
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-dosencoding-cp850
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-dosencoding-cp437
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-microsoft-cp1251
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-u
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-r
arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-15
...


Dann noch mit mkfontdir oder (mkttfdir?) (ist in xutils) die Datei fonts.dir erzeugen.

Und schon waren sie da ;)

Kommt aber auch drauf an ob Du einen Fontserver verwendest oder nicht (ich hab keinen).
Links:
http://www.tldp.org/HOWTO/mini/FDU/
http://new.linuxnow.com/docs/content/TT-Debian/TT-Debian.html
http://jmason.org/howto/subpixel.html
http://mumford1.dyndns.org/~bs7452/linuxhelp/aa_fonts.html

Grüße

Manx