mikshaw


Group: Members
Posts: 4856
Joined: July 2004 |
 |
Posted: Mar. 09 2006,03:16 |
 |
You can probably get some fonts that will work from XFree86 (the official download...not the mydsl package). I couldn't say what fonts will work for you, though.
What I've done to get bitmap fonts into DSL: 1) Put the desired *.pcf fonts into a directory and run mkfontdir in that directory. This will create a fonts.dir file. 2) Create a fonts.scale file with the command echo "0" > fonts.scale (bitmap fonts don't scale, so the file is just a zero). I'm not sure this is a vital step, but it doesn't hurt. 2b) Optional: Create a fonts.alias file containing short names for your most-used fonts. The syntax is <short_name><space><actual_font_name> 3) Add the fonts directory to your font path with the command xset +fp /path/to/fonts
4) Test your fonts. Sometimes font names aren't written properly in a fonts.dir or fonts.alias file (such as font names that include spaces), so it's a good idea to open up aterm with the command aterm -fn <font_name> to check it out. You could also load up Firefox and play around with different fonts in Firefox preferences...changes are immediate in currently loaded pages, and it gives a good idea of what non-scalable fonts can look like when they're forced to scale.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|