ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Kris Hermans" <KrisHermans@advalvas.be>
Subject: font tryout
Date: Sat, 1 Jun 2002 12:24:13 +0200	[thread overview]
Message-ID: <NPEAKMHEICNGLIJBLOONEEBCCBAA.KrisHermans@advalvas.be> (raw)

Hi,

I have a MikTex 2.1 installation which I updated to the last Context. Now I
want to experiment with fonts. I read both documents on fonts (mfonts.pdf
and mtexfont.pdf), but these documents are not quite obvious for a newbie
like me.

>From the docs I figured out that I should be able to use the times font from
the vendor "urw", because all the necessary files (tfm, pfb and the like)
seem available. Also I looked in type-exa and type-map.tex, but I only have
a clue of what they mean.

Anyway I made a little test file where i use the postscript fonts:

\setupbodyfont[pos]

\starttext

Dit is een testje met het gebruik van fonts

\starttyping
public void main(String[] args) {
  System.out.println("Hello World !");
}
\stoptyping

\stoptext

However, this fails for the following reason:

This is pdfeTeX, Version 3.14159-14f-released-20000525-2.1 (MiKTeX 2.1)
(preloaded format=cont-en 2002.5.30)  1 JUN 2002 12:17
entering extended mode
**test.tex
(test.tex{pdftex.cfg}

ConTeXt  ver: 2002.5.20  fmt: 2002.5.30  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(C:\texmf\tex\context\base\cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 839] \dimexpr
)
system         : cont-old loaded
(C:\texmf\tex\context\base\cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(C:\texmf\tex\context\base\cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-nl-2
loaded
specials       : tex,postscript,rokicki loaded
system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(C:\texmf\tex\context\base\spec-tpd.tex
specials       : loading definition file fdf
(C:\texmf\tex\context\base\spec-fdf.tex <unprotect 3> <unprotect 4>
system (E-TEX) : [line 1624] \ifcsname
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
(C:\texmf\tex\context\base\type-pre.tex
typescript     : [serif] [times] [name,ec]
(C:\texmf\tex\context\base\type-syn.tex)
(C:\texmf\tex\context\base\type-enc.tex)
(C:\texmf\tex\context\base\type-siz.tex)
(C:\texmf\tex\context\base\type-map.tex)
(C:\texmf\tex\context\base\type-spe.tex)
(C:\texmf\tex\context\base\type-exa.tex)
typescript     : [sans] [helvetica] [name,ec]
(C:\texmf\tex\context\base\type-syn.tex)
(C:\texmf\tex\context\base\type-enc.tex)
(C:\texmf\tex\context\base\type-siz.tex)
(C:\texmf\tex\context\base\type-map.tex)
(C:\texmf\tex\context\base\type-spe.tex)
(C:\texmf\tex\context\base\type-exa.tex)
typescript     : [mono] [courier] [name,ec]
(C:\texmf\tex\context\base\type-syn.tex)
(C:\texmf\tex\context\base\type-enc.tex)
(C:\texmf\tex\context\base\type-siz.tex)
(C:\texmf\tex\context\base\type-map.tex)
(C:\texmf\tex\context\base\type-spe.tex)
(C:\texmf\tex\context\base\type-exa.tex)
typescript     : [serif,sans,mono] [default] [size]
(C:\texmf\tex\context\base\type-syn.tex)
(C:\texmf\tex\context\base\type-enc.tex)
(C:\texmf\tex\context\base\type-siz.tex)
(C:\texmf\tex\context\base\type-map.tex)
(C:\texmf\tex\context\base\type-spe.tex)
(C:\texmf\tex\context\base\type-exa.tex)
typescript     : [map] [ec] []
(C:\texmf\tex\context\base\type-syn.tex)
(C:\texmf\tex\context\base\type-enc.tex)
(C:\texmf\tex\context\base\type-siz.tex)
(C:\texmf\tex\context\base\type-map.tex
pdftex         : needs map file: original-ams-cmr.map
pdftex         : needs map file: original-ams-euler.map
pdftex         : needs map file: ec-adobe-utopia.map
pdftex         : needs map file: ec-bit-charter.map
pdftex         : needs map file: ec-public-antp.map
pdftex         : needs map file: ec-public-antt.map
pdftex         : needs map file: ec-urw-bookman.map
pdftex         : needs map file: ec-urw-courier.map
pdftex         : needs map file: ec-urw-helvetica.map
pdftex         : needs map file: ec-urw-palatino.map
pdftex         : needs map file: ec-urw-times.map
pdftex         : needs map file: ec-urw-zapfchan.map
pdftex         : needs map file: original-youngryu-px.map
pdftex         : needs map file: original-youngryu-tx.map
pdftex         : needs map file: ec-bh-lucida.map
) (C:\texmf\tex\context\base\type-spe.tex)
(C:\texmf\tex\context\base\type-exa.tex))
! Font \*12ptrmtf*=ec-utmr8a at 12.0pt not loadable: Metric (TFM) file not
foun
d.
\lastfontname ->ec-utmr8a at \scaledfont

\donoparsefontspec ...sname \lastfontname
                                          \relax \relax
\xxdododefinefont ...2}\newfontidentifier
                                          \doresetrelativefontsize \f...
\fontstrategy ...sname #2#3#4#5\endcsname
                                          \tryingfontfalse \fi
<inserted text> ...talternative \fontsize
                                          \fi \iftryingfont \fontstra...
\synchronizefont ... \the \fontstrategies
                                          \relax \fi \ifskipfontchara...
...
l.1 \setupbodyfont[pos]

When I search in my distribution, I don't find the file ec-utmr8a.tmf, but I
do have the files:
utmr8c.tfm
utmr8r.tfm
utmr8t.tfm
utmr8c.vf
utmr8t.vf
utmr8.afm
utmr8.pfb
utmr8.pfm

any idea on what's wrong?

thanks in advance,

Kris Hermans


             reply	other threads:[~2002-06-01 10:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01 10:24 Kris Hermans [this message]
2002-06-02  7:59 ` Nigel King
2002-06-02 12:56   ` Ville Voipio
2002-06-03 13:26     ` Kris Hermans
2002-06-03 13:43       ` Hans Hagen
2002-06-03 21:02         ` Jonathan Beach
2002-06-04  5:26         ` Kris Hermans
2002-06-04 16:20         ` John Devereux
2002-06-04 18:53           ` Bill McClain
2002-06-05 22:04           ` 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=NPEAKMHEICNGLIJBLOONEEBCCBAA.KrisHermans@advalvas.be \
    --to=krishermans@advalvas.be \
    /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).