Wolfgang Schuster wrote:
Am 14.12.2010 um 11:15 schrieb Verhaag, G.C.H.M.:
Thanks for the tips! But now a real example. I've downloaded a font file called:
PlymouthRock 'SnowDusted'.ttf,
(Just a nice font to write Christmas cards; view it with Konqueror!)
and put it into texmf-fonts/tex/truetype/plymouthrock/snowdusted directory.
Wrong directory, you need
texmf-fonts/fonts/data
subdirectories below data are optional.
After that run „context --generate“ to inform context about the new file, after that you can use it in your document with
\definefont[snowdust][file:snowdusted*default] \starttext \snowdust SnowDusted \stoptext
To use the font for the whole document you can try:
\usemodule[simplefonts] \setmainfont[SnowDusted] \starttext SnowDusted \stoptext
Regards, Wolfgang
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Hi, I've put the ttf-file into the texmf-fonts/fonts/data directory, without the subdirectories, right? After that I ran: context --generate. Wolfgang, the file parameter of the definefont command is unclear to me, can you explain that to me? Can I check for the new font with for example the mtxrun command? Example is not yet working with the new font, sorry! Regards, Gerard