Hello, I have some problems with using fonts. In the ConTeX test file at the end, `charter' only works (a little) if I use the commented line `\definetypeface[charter][rm][serif][charter][default][encoding=ec]'... But, doing this, small-caps don't work anymore and, strangely, \tt neither! How does one use a font already described in the type-*.tex files? I tried with Utopia too but no luck. I read mfonts.pdf but I have not seen what I need. Thanks, Gilles. PS: TeXExec 3.3 - ConTeXt / PRAGMA ADE 1997-2003 pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7x) ConTeXt ver: 2003.8.15 fmt: 2003.8.19 int: english mes: english %%%%%%%%%%% BEGIN TEST FILE HERE \setuppapersize[A4][A4] \setupencoding[default=ec] \usetypescript[adobekb][\defaultencoding] \usetypescript[charter][ec] %\definetypeface[charter][rm][serif][charter][default][encoding=ec] \setupbodyfont[charter,10pt] \startbuffer[tufte] \input tufte \stopbuffer \starttext \getbuffer[tufte] \blank {\it\getbuffer[tufte]} \blank {\bf\getbuffer[tufte]} \blank {\sc\getbuffer[tufte]} \blank {\tt\getbuffer[tufte]} \stoptext
At 19:04 20/08/2003 +0200, you wrote:
Hello,
I have some problems with using fonts. In the ConTeX test file at the end, `charter' only works (a little) if I use the commented line \definetypeface[charter][rm][serif][charter][default][encoding=ec]'... But, doing this, small-caps don't work anymore and, strangely, \tt neither!
you need to define a tt variant (and probably some ss an dmath as well):
\definetypeface[charter][tt][mono][...
also, you should apply soem relative scaling (rscale=...) in the type-* files are examples of such collections of files. Grep for "palatino" Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (2)
-
Gilles Pérez-Lambert
-
Hans Hagen