I've been looking into luatex and got it running now. However, i'm not sure how to link a font that I want to use in my ConText documents to an actual font file on my disk. For example, I have tried:
\definebodyfont[12pt][rm][
tf="c:\fonts\ITC Stone Serif\SR______.AFM"
]
It doesn't work, so I guess this approach is both naive and optimistic.
I also read the manual "Texfont explained" for clues, but that didn't help either.
Could someone show me how to use type1 font files with Luatex without having to go the TexFont route.
Thanks, Harrie.
On Tue, Jul 14, 2009 at 8:13 PM, Hans Hagen
<pragma@wxs.nl> wrote:
Harrie Frericks wrote:
Now that I finally have Context running I'm trying to install a number of
type1 fonts. I've read the Texfont manual, but I couldn't find answers to
these questions:
1. Can Texfont recursively process a font tree?
I have a directory font tree like this:
c:\fonts\type1\font-family1
c:\fonts\type1\font-family2
c:\fonts\type1\font-family3
each font-family subdirectory has a number of .afm files. If I set
--sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories of
the font families and locate and process the .afm files?
2. Can Texfont handle .afm files with extensions in uppercase?
Most of my type1 font files are in uppercase like: XYZ_____.AFM I can only
get Texfont to process these files if I first rename them to lowercase, like
XYZ_____.AFM
since you're new to context you can consider skipping pdftex and moving on to either xetex or luatex (which uses context mkiv)
for luatex/mkiv you don't need to mess around with fonts as this combo directly handles afm/pfb files so there is no need for creating tfm metrics
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________