Hinweis: Das Forum wird geschlossen! Neue Registrierungen sind nicht mehr möglich!

 Zurück zu Pro-Linux   Foren-Übersicht   FAQ     Suchen    Mitgliederliste
Neue Schriften unter Redhat 9 installieren

 
Neuen Beitrag schreiben   Auf Beitrag antworten    Pro-Linux Foren-Übersicht -> Sonstiges
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
sturmkind



Anmeldungsdatum: 20.04.2002
Beiträge: 31

BeitragVerfasst am: 18. Jun 2003 6:12   Titel: Neue Schriften unter Redhat 9 installieren

Holla!

Ich habe hier grade auf nen Rechner mal Redhat 9 drauf geschmissen und muß sagen das ich von der Einfachheit der Installation wirklich überrascht bin (mal im Gegensatz zu Debian gesehen *g*). Nun habe ich aber ein Problem! Wie bekomme ich zusätzliche Schriften in mein System??? Von Mandrake bin ich gewohnt das es dafür ein Programm gibt bei Redhat habe ich bisher noch nichts passendes gefunden.

Weis einer von Euch wie ich das hinbiegen kann?

Grüße
Sturmkind
_________________
Nobody is perfect! Wink
 
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen

Jochen
Gast





BeitragVerfasst am: 18. Jun 2003 10:26   Titel: Re: Neue Schriften unter Redhat 9 installieren

Aus den RedHat9 Release Notes:


There has been some confusion regarding font-related issues under the X Window System in recent versions of Red Hat Linux. At the present time, there are two font subsystems, each with different characteristics:

- The original (15+ year old) subsystem is referred to as the "core X font subsystem". Fonts rendered by this subsystem are not anti-aliased, are handled by the X server, and have names like:

-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1

The newer font subsystem is known as "fontconfig", and allows applications direct access to the font files. Fontconfig is often used along with the "Xft" library, which allows applications to render fontconfig fonts to the screen with antialiasing. Fontconfig uses more human-friendly names like:

Luxi Sans-10

Over time, fontconfig/Xft will replace the core X font subsystem. At the present time, applications using the Qt 3 or GTK 2 toolkits (which would include KDE and GNOME applications) use the fontconfig and Xft font subsystem; most everything else uses the core X fonts.

In the future, Red Hat may support only fontconfig/Xft in place of the XFS font server as the default local font access method.

NOTE: Two exceptions to the font subsystem usage outlined above are OpenOffice.org (which uses its own font rendering technology), and Mozilla (which uses fontconfig, but not GTK 2).

If you wish to add new fonts to your Red Hat Linux 9 system, you must be aware that the steps necessary depend on which font subsystem is to use the new fonts. For the core X font subsystem, you must:

1. Create the /usr/share/fonts/local/ directory (if it doesn't already exist):

mkdir /usr/share/fonts/local/

If you had to create /usr/share/fonts/local/, you must then add it to the X font server (xfs) path:

chkfontpath --add /usr/share/fonts/local/

2. Copy the new font file into /usr/share/fonts/local/

3. Update the font information by issuing the following command:

ttmkfdir -d /usr/share/fonts/local/ -o /usr/share/fonts/local/fonts.scale

4. Reload the xfs font server using the following command:

service xfs reload

Adding new fonts to the fontconfig font subsystem is more straightforward; the new font file only needs to be copied into the /usr/share/fonts/ directory (individual users can modify their personal font configuration by copying the font file into the ~/.fonts/ directory).

After the new font has been copied, use fc-cache to update the font information cache:

fc-cache <directory>

(Where <directory> would be either the /usr/share/fonts/ or ~/.fonts/ directories.)

Individual users may also install fonts graphically, by browsing fonts:/// in Nautilus, and dragging the new font files there.

NOTE: If the font filename ends with ".gz", it has been compressed with gzip, and must be decompressed (with the gunzip command) before the fontconfig font subsystem can use the font.



Den für Dich wahrscheinlich relevanten Teil habe ich hervorgehoben.

Jochen
 

Beiträge vom vorherigen Thema anzeigen:   
     Pro-Linux Foren-Übersicht -> Sonstiges Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehen Sie zu:  

Powered by phpBB © phpBB Group
pro_linux Theme © 2004 by Mandaxy