[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I install a non packaged font in Debian?



Eduard Bloch <edi@gmx.de> writes:

> #include <hallo.h>
> xlsfonts uses the old X11 font system. And mkfontdir creates index files
> needed for it but only for the old pcf fonts. You want to use mkttfdir
> instead, from the fttools package.
>
> Eduard.

Hi, I have installed the package fttools and removed the directories in
/usr/share/fonts and /usr/local/share/fonts and now am simply working
from a ~/.fonts to keep things from getting confusing. 

I downloaded two other fonts from the same site to make sure it wasnt a
problem specific to that font.

[orchid@morcheeba:~/.fonts]% l
total 240
-rw-r--r-- 1 orchid orchid  1072 2005-12-12 23:56 Licence.txt
-rw-r--r-- 1 orchid orchid 65996 2004-12-30 16:39 PixelCarnageMono.ttf
-rw-r--r-- 1 orchid orchid  6924 2006-07-20 16:19
PixelCarnageMono.ttf.zip
-rw-r--r-- 1 orchid orchid 45232 2005-03-18 11:59 ProggyCleanCE.ttf
-rw-r--r-- 1 orchid orchid 41208 2005-03-17 18:47 ProggyClean.ttf
-rw-r--r-- 1 orchid orchid 15325 2006-07-18 17:49 ProggyClean.ttf.zip
-rw-r--r-- 1 orchid orchid 34396 2005-12-13 00:09 ProggySmall.ttf
-rw-r--r-- 1 orchid orchid  6490 2006-07-20 16:19 proggysmall.ttf.zip
-rw-r--r-- 1 orchid orchid   290 2005-03-18 20:01 Readme.txt

I then did mkttfdir -ejwo .fonts
and then sudo fc-cache -fv

fc-cache created ~/.fonts/fonts.cache-1
and outputted fc-cache: "/home/orchid/.fonts": caching, 4 fonts, 0 dirs
which seems right as I have 4 fonts now.

the fonts.cache-1 file itself contains four entries similar to:

"PixelCarnageMono.ttf" 0"PixelCarnageMonoTT:style=Regular:slant=0:weight=80:wid
th=100:spacing=100:foundry=unknown:index=0:outline=True:scalable=True:charset= |
>^(||>^1!|>^1!|>^1!|>^1!|>^1!|>^1!P0oWQ:lang=aa|ast|ay|bi|br|ch|da|de|en|es|eu|f
j|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nds|nl|nn|no|oc|om|pt|rm|sma|
smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu:fontversion=65536:fontformat=TrueType"

But xlsfonts still show no fonts from my ~/.fonts folder. 
I am trying to use the fonts in urxvt and in emacs if that matters. What
is frustrating is that on the previous Sid install, I had installed
these fonts wihout a problem and forgotten to document how I did it :)
 
-- 
-----Angelina Carlton-----
orchid on irc.freenode.net
     brat@magma.ca
web:bzgirl.bakadigital.com
--------------------------



Reply to: