воскресенье, 7 февраля 2010 г.

FreeBSD Cyrillic TTF fonts

About a week I was using KDE on a FreeBSD system without properly Cyrillic fonts installed. A little bit annoying.

To configure your system fonts install ports:

/usr/ports/x11-fonts/freefont-ttf
/usr/ports/x11-fonts/urwfonts-ttf
/usr/ports/x11-fonts/webfonts
/usr/ports/x11-fonts/xorg-fonts
/usr/ports/x11-fonts/xorg-fonts-cyrillic
/usr/ports/x11-fonts/xorg-fonts-truetype



Make sure, that you have in /etc/X11/xorg.conf:

Section "Files"
...
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/URW/"
        FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath     "/usr/local/lib/X11/fonts/webfonts/"
EndSection


After that you should run:
# fc-cache -v -f

The result is:

Have fun, guys! God luck :)


Комментарии

технология комментирования HyperComments


2008–2014 © Сергей Удалов Реклама Система Orphus