[arch-general] Unable to add fonts to X
Sławomir Szczyrba
steev at hot.pl
Wed Apr 25 16:14:25 EDT 2012
Dnia Wed, 25 Apr 2012 12:40:23 -0600
"D. R. Evans" <doc.evans at gmail.com> napisał(a):
> I did not at any point change the contents of /home/n7dr/.fonts, so it
> still looks like this:
>
> total 16
> drwxr-xr-x 2 n7dr users 4096 Apr 23 17:12 .
> drwx------ 34 n7dr users 4096 Apr 25 12:14 ..
> lrwxrwxrwx 1 n7dr users 39 Apr 22 17:08 CourierNewPSMTN7DR.ttf ->
> /home/n7dr/fonts/CourierNewPSMTN7DR.ttf
> -rwxrwxrwx 1 n7dr users 2896 Apr 23 17:13 fonts.dir
> -rwxrwxrwx 1 n7dr users 2896 Apr 23 17:12 fonts.scale
> lrwxrwxrwx 1 n7dr users 34 Apr 22 17:08 N7DR_SFTT1000.afm ->
> /home/n7dr/fonts/N7DR_SFTT1000.afm
> lrwxrwxrwx 1 n7dr users 34 Apr 22 17:08 N7DR_SFTT1000.pfb ->
> /home/n7dr/fonts/N7DR_SFTT1000.pfb
>
> Sorry about the wrapping in that output; Thunderbird no longer seems to
> support changing the wrap column for anindividual e-mail :-(
>
> Doc
>
What says fc-list?
Well, here's a hard way (just tested)
As root :
- copy afm & pfb files to /usr/share/fonts/Type1
- backup fonts.scale & fonts.dir
- run mkfontscale
- run mkfontdir
(ttf fonts - same procedure, /usr/share/fonts/TTF )
- run xset fp rehash
( besides this, You can always convert this font to ttf :/ )
Regards,
Slawek
--
________ 30 zdań, ktore może powiedzieć kobieta nagiemu mężczyźnie :
_/ __/ __/ 17. Przynajmniej długo to nie zajmie.
\__ \__ \_______________________________________________________________
/___/___/ Sławomir Szczyrba steev(AT)hot.pl
More information about the arch-general
mailing list