From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: Typescript for Helvetica - what's wrong?
Date: Wed, 31 Mar 2004 17:01:00 +0000 [thread overview]
Message-ID: <20040331170100.32593@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <c4c1mp$a97$1@sea.gmane.org>
Stefan Wachter said this at Tue, 30 Mar 2004 16:54:27 +0200:
>I tried to write a typescript to use the Helvetica PDF base 14 fonts.
Interesting problem. I haven't dealt with it, but it seems like a worthy
goal. I thought Patrick Grundlach (?) did some work with this, but I'm
not sure. Check the archives.
>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[]
Okay, put the following typescripts into a separate file (type-hv.tex):
>\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
...and replace them in your source file with:
\usetypescriptfile[type-hv]
>\usetypescript[pdf]
>\setupbodyfont[MyHelvetica]
\setupbodyfont[MyHelvetica,ss]
>\starttext
>This is Helvetica, {\bf bold}, {\it italic}, {\bi bold-italic},
>{\tfa bigger} and {\tfx smaller}.
>\stoptext
After I got my pdftex.map pointing to pdftex_ndl14.map (the hardest part
of all this), I was able to generate the PDFs with the correct,
unembedded fonts.
Hope that helps... you were pretty close!
adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay atl@comp.lancs.ac.uk
Computing Dept, Lancaster University +44(0)1524/594.537
Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2004-03-31 17:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 14:54 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040331170100.32593@mail.comp.lancs.ac.uk \
--to=atl@comp.lancs.ac.uk \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).