From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8102 Path: main.gmane.org!not-for-mail From: Nigel King Newsgroups: gmane.comp.tex.context Subject: Re: font tryout Date: Sun, 02 Jun 2002 08:59:57 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035398536 24789 80.91.224.250 (23 Oct 2002 18:42:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:42:16 +0000 (UTC) Original-To: Kris Hermans , In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:8102 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8102 Kris, With root privileges, you need to run texfont --encoding=ec --batch type-tmf.dat Page 13 of mtexfont.pdf explains This should create the files you need. -- Nigel > From: "Kris Hermans" > Date: Sat, 1 Jun 2002 12:24:13 +0200 > To: "ConTeXt Mailing List" > Subject: font tryout > > 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 > system (E-TEX) : [line 1624] \ifcsname > ) > specials : fdf loaded > ) > 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 > ...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 > >