From: Hans Hagen <pragma@wxs.nl>
Subject: another example of fonts
Date: Thu, 24 Jan 2002 17:58:59 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20020124174754.02af4e30@server-1> (raw)
Hi,
I just installed the univers and it makes a nice example of typescripts.
First i copied the floppy with afm/pfb/pfm onto my disk (scratch path).
There I ran
texfont --ven=linotype --col=univers --enc=texnansi --make --install
this copies the files to the right place and generated tfm's. Also, a test
file is generated that shoul dprocess out of the box
texnansi-linotype-univers.tex
Next comes making a typescript, say typeface.tex:
% we auto load the map file
\starttypescript [map] [texnansi]
\loadmapfile[texnansi-linotype-univers.map]
\stoptypescript
% from the test file we cut and paste and edit; watch the three sets
\starttypescript [sans] [univers,univers-light,univers-black] [name]
\definefontsynonym [Sans] [Univers]
\definefontsynonym [SansBold] [Univers-Bold]
\definefontsynonym [SansSlanted] [Univers-Oblique]
\definefontsynonym [SansBoldSlanted] [Univers-BoldOblique]
\stoptypescript
\starttypescript [sans] [univers-light] [name]
\definefontsynonym [Sans] [Univers-Light]
\definefontsynonym [SansSlanted] [Univers-LightOblique]
\stoptypescript
\starttypescript [sans] [univers-black] [name]
\definefontsynonym [Sans] [Univers-Black]
\definefontsynonym [SansSlanted] [Univers-BlackOblique]
\definefontsynonym [SansBold] [Univers-Black]
\definefontsynonym [SansBoldSlanted] [Univers-BlackOblique]
\stoptypescript
% next we create a file name mapper
\starttypescript [sans] [univers,univers-black,univers-light] [texnansi]
\definefontsynonym [Univers] [texnansi-LT50138]
[encoding=texnansi]
\definefontsynonym [Univers-Bold] [texnansi-LT50140]
[encoding=texnansi]
\definefontsynonym [Univers-Oblique] [texnansi-LT50139]
[encoding=texnansi]
\definefontsynonym [Univers-BoldOblique] [texnansi-LT50141]
[encoding=texnansi]
\definefontsynonym [Univers-Light] [texnansi-LT50136]
[encoding=texnansi]
\definefontsynonym [Univers-LightOblique] [texnansi-LT50137]
[encoding=texnansi]
\definefontsynonym [Univers-Black] [texnansi-LT50142]
[encoding=texnansi]
\definefontsynonym [Univers-BlackOblique] [texnansi-LT50143]
[encoding=texnansi]
\stoptypescript
Now we can make a test file:
% output=pdftex
\usetypescriptfile[typeface]
\definetypeface [normal] [ss] [sans] [univers] [default] [texnansi]
\definetypeface [light] [ss] [sans] [univers-light] [default] [texnansi]
\definetypeface [black] [ss] [sans] [univers-black] [default] [texnansi]
\starttext
\startbuffer
So this {\sl is an} example {\bf of an} linotype {\bs univers} typeface.
\stopbuffer
\setupbodyfont[normal,10pt] \getbuffer \par
\setupbodyfont[light, 10pt] \getbuffer \par
\setupbodyfont[black, 10pt] \getbuffer \par
\stoptext
Again, this should run without further efforts. As you can see, we use the
original filenames prefixed by texnansi-. If needed one can also generate
the caps alternatives, but i wonder if univers is suited for that.
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
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
next reply other threads:[~2002-01-24 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-24 16:58 Hans Hagen [this message]
2002-01-25 7:47 ` Jens-Uwe Morawski
2002-01-25 9:47 ` Hans Hagen
2002-01-25 11:44 ` Jens-Uwe Morawski
2002-01-25 12:38 ` Hans Hagen
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=5.1.0.14.1.20020124174754.02af4e30@server-1 \
--to=pragma@wxs.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).