Installing BDF fonts



Hi,
I would like to install some TTF and BDF fonts and use them in my GTK
applications (using DirectFB).

I was successful with installation of TTF fonts. I ran `fc-cache' on the
folder containing TTF fonts and the corresponding cache file got created.
But the same procedure failed in the case of BDF fonts:
dheeraj linux:> ./fc-cache -vf ~/fonts/
./fc-cache: "/home/dheeraj/fonts": caching, 0 fonts, 0 dirs
Now the font is loaded in my GTK application using
pango_font_description_from_string().

On googling I found that BDF fonts may first have to be converted to PCF
using the command `bdftopcf'. But this also yielded no result.

Any inputs are appreciated.

Cheers,
Dheeraj
-- 






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