On 06 Feb 2003 08:07:27 +1300
Berend de Boer <[EMAIL PROTECTED]> wrote:
> Nagy Bence <[EMAIL PROTECTED]> writes:
>
> > > Has anyone been able to use the standard PDF postscript fonts with
> > > context? I recently upgraded to tetex 2.0, latest context, so had to
> > > restart with the font stuff.
> > > 1. After tinkering I could get the URW stuff working, but I want the
> > > Adobe.
> > I have the same problem, but I couldn't find the right solution and
> > URW fonts doesn't work too.
>
> OK, what to do:
>
> 1. Run texfont on context/data/type-tmf.dat like this:
>
> texfont --encoding=texnansi --fontroot=/usr/share/texmf --batch type-tmf.dat
>
> That should produce the right .tmf files.
>
> 2. In your cont-sys.tex (/usr/local/texmf/tex/context/cont-sys.tex)
> have only the following:
>
> ====================
> % This seems to be Hans preferred encoding
> \setupencoding[\s!default=texnansi]
> ====================
>
> No other \usesetypescript, or \setupencoding should be present.
>
> 3. If you run this test file:
>
> ====================
> \setupbodyfont
> [pos,10pt]
>
> \starttext
>
> hello world.
>
> {\ss hello again!}
>
> {\tt the end.}
>
> \stoptext
> ====================
Since a complete teTeX installation should include the LaTeX
PSNFSS package you don't need to generate the fonts (TFMs)
yourself.
Simply
====================
\usetypescript[berry][ec]
\setupbodyfont
[pos,10pt]
\starttext
hello world.
{\ss hello again!}
{\tt the end.}
\stoptext
====================
should work. This will use T1 (aka ec) encoded fonts not the
standard LY1 (aka texnansi) encoding. Therefore you have to
setup the proper input regime (\enableregime)
Jens
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context