Wesley Allen said:
---------- Original Message ---------------------------------- From: Skip Gaede <sgaede@mediaone.net> Reply-To: wlug@mail.wlug.org Date: Fri, 3 Aug 2001 08:17:20 -0400
On Friday 03 August 2001 08:05, Skip wrote:
On Thursday 02 August 2001 17:18, Wesley Allen wrote:
Hello all, I've got some nice type 1 fonts that I want to insert for use in X and in ghostscript. Can anyone run though the right command sequences to do this?
Sure, Wes. It really isn't difficult, and you'll be pleased to know there are many ways you can do it. Have you found the web site http://www.linuxdoc.org yet? At linuxdoc there is an excellent set of documentation that's well written and easy to understand. They have a search engine, and entering Type 1 fonts should lead you to a HOWTO on how to do it.
Have said that, two things need to happen:
1) X has to know where to find the fonts 2) The directory needs to have a special file called fonts.dir
rm -f fonts.dir && ttmkfontdir .
Before someone else jumps on this, the above line should have read
(in the directory where your fonts are located, type)
rm -f fonts.dir && mkfontdir .
(The other command was for TrueType fonts!)
--Skip
Skip, I was already doing what you said, but my fonts.dir file is consistently coming up with "0" as the number of fonts in the directory. Any ideas as to why? Wes
AFAIK, with Type1 fonts, you need to have an entry for them in the matching fonts.scale for them to appear in fonts.dir from mkfontdir (this may or may not be debian-specific). From mkfontdir (1x): SCALABLE FONTS (this may or may not be debian-specific). From mkfontdir (1x): name, the file "fonts.scale" can be used to name the scalable fonts in the directory. The fonts listed in it are copied to fonts.dir by mkfont dir. "fonts.scale" has the same format as the "fonts.dir" file. g'luck -- Aaron Haviland orion [at] tribble [dot] dyndns [dot] org orion [at] parsed [dot] net http://www.aaron.haviland.net ICQ: 43079202