ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typescript for Helvetica - what's wrong?
@ 2004-03-30 14:54 Stefan Wachter
  2004-03-30 15:32 ` Thomas A.Schmitz
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Stefan Wachter @ 2004-03-30 14:54 UTC (permalink / raw)


Hi all!

I tried to write a typescript to use the Helvetica PDF base 14 fonts. 
Yet, the example below uses the (default) Computer Modern Roman fonts. I 
wrote the typescript along the lines of the excellent help document at 
(http://home.salamander.com/~wmcclain/context-help.html).

Thanks for your attention,
--Stefan

\enableregime[il1]
\setupoutput[pdftex]
\setuppapersize[A4][A4]
\setuplayout[leftmargindistance=0cm]
\setupheadertexts[]

\starttypescript [sans] [helvetica] [texnansi]
   \definefontsynonym [Helvetica]             [hv]   [encoding=texnansi]
   \definefontsynonym [Helvetica-Bold]        [hvb]  [encoding=texnansi]
   \definefontsynonym [Helvetica-BoldOblique] [hvbo] [encoding=texnansi]
   \definefontsynonym [Helvetica-Oblique]     [hvo]  [encoding=texnansi]
\stoptypescript

\starttypescript [sans] [helvetica] [name]
   \definefontsynonym [Sans]            [Helvetica]
   \definefontsynonym [SansBold]        [Helvetica-Bold]
   \definefontsynonym [SansItalic]      [Helvetica-Oblique]
   \definefontsynonym [SansSlanted]     [Helvetica-Oblique]
   \definefontsynonym [SansBoldItalic]  [Helvetica-BoldOblique]
   \definefontsynonym [SansBoldSlanted] [Helvetica-BoldOblique]
   \definefontsynonym [SansCaps]        [Helvetica]
\stoptypescript

\starttypescript [pdf]
   \definetypeface [MyHelvetica] [ss] [sans] [helvetica] [default] 
[encoding=texnansi]
\stoptypescript

\usetypescript[pdf]
\setupbodyfont[MyHelvetica]

\starttext
This is Helvetica, {\bf bold}, {\it italic}, {\bi bold-italic},
{\tfa bigger} and {\tfx smaller}.
\stoptext

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2004-04-02  9:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 14:54 Typescript for Helvetica - what's wrong? Stefan Wachter
2004-03-30 15:32 ` Thomas A.Schmitz
2004-03-30 15:51 ` Christopher G D Tipper
2004-03-31 14:54   ` Stefan Wachter
2004-03-31 17:01 ` Adam Lindsay
2004-03-31 16:17   ` Stefan Wachter
2004-03-31 17:51     ` Adam Lindsay
2004-04-01  9:20       ` Stefan Wachter
2004-04-01 10:52         ` Adam Lindsay
2004-04-01 17:07           ` Adam Lindsay
2004-04-01 18:16             ` Dingbats without fonts (was: Typescript for Helvetica) Henning Hraban Ramm
2004-04-01 18:25               ` Dingbats without fonts Willi Egger
2004-04-02  0:16                 ` Adam Lindsay
2004-04-01 19:18             ` Re: Typescript for Helvetica - what's wrong? Otared Kavian
2004-04-02  9:58             ` Stefan Wachter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).