Hi Emil. I wrote that article and am pretty baffled by the problems you have. (I just did a test run of the same command, running an identical texfont, identical otftotfm version....) The ConTeXt installation looks fine. There are two discrepancies that I see here, though: otftotfm is running updmap in the interim. That shouldn't disturb things, but it might point to you getting the binary from somewhere other than gwTeX. your entire TeX tree is in your local directory, which makes me wonder how you installed the whole machinery. I also wonder which version of the Antykwa Torunska fonts you are trying to convert: they have been updated a few times since the article. adam Emil Hedevang said this at Thu, 22 Sep 2005 11:20:19 +0200:
Hello
I am trying to follow the instructions in the article "OpenType installation basics for ConTeXt", but the generated map file does not contain anything but commented lines. I have tried searching the web for a solution but I did not find any, so I hope you can help me.
My computer is running Mac OS X 10.4, and I have tried doing exactly the same thing (installed the same software) on the university's computers running RedHat Linux with the same negative result.
Please ask me to provide any information you like.
Thanks, Emil
Here are all the details.
(1) These are the fonts I want to try to install:
[~/antykwa] ls AntykwaTorunska-Italic.otf AntykwaTorunska-Regular.otf
(2) These are the versions of the tools I use:
[~/antykwa] texexec --version
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2C 7.5.5) context : ver: 2005.08.31 cont-en : ver: 2005.08.31 fmt: 2005.9.19 mes: english
total run time : 2 seconds
[~/antykwa] otftotfm --version otftotfm (LCDF typetools) 2.34 Copyright (C) 2002-2005 Eddie Kohler This is free software; see the source for copying conditions. There is NO warranty, not even for merchantability or fitness for a particular purpose.
(3) This is the output I get when I run the suggested command in the article:
[~/antykwa] texfont --ma --in --ve=public --co=torunska --lcdf --pre --va=liga,kern
TeXFont 2.2.1 - ConTeXt / PRAGMA ADE 2000-2004
mktexlsr: Updating /Users/Emil/local/tetex/share/texmf-local/ls-R... mktexlsr: Done. encoding vector : texnansi encoding variant : liga,kern vendor name : public source path : . font collection : torunska texmf font root : /users/emil/local/tetex/share/texmf-local pdftex map file : texnansi-LIGA-KERN-public-torunska.map source path : . processing files : all on afm path locating afm files : using pattern ./*.afm locating afm files : using otf files converting : ./AntykwaTorunska-Italic.otf to ./ AntykwaTorunska-Italic.pfb converting : ./AntykwaTorunska-Regular.otf to ./ AntykwaTorunska-Regular.pfb copying files : afm copying files : pfb copying : AntykwaTorunska-Italic.pfb copying : AntykwaTorunska-Regular.pfb copying files : otf copying : AntykwaTorunska-Italic.otf copying : AntykwaTorunska-Regular.otf no map file at : /Users/Emil/local/tetex/share/texmf-local/ fonts/map/pdftex/context/texnansi-LIGA-KERN-public-torunska.map
font identifier : AntykwaTorunska-Italic -> text -> tfm processing files : otf -> tfm + enc I had to round some heights by 16.0000000 units. I had to round some depths by 2.5000000 units. I had to round some heights by 16.0000000 units. I had to round some depths by 2.5000000 units. updmap: This is updmap, version 1107552857 updmap: using transcript file `/Users/Emil/.texmf-var/web2c/updmap.log' updmap: initial config file is `/Users/Emil/.texmf-config/web2c/ updmap.cfg' updmap: configuration file updated: `/Users/Emil/.texmf-config/web2c/ updmap.cfg'
font identifier : AntykwaTorunska-Regular -> text -> tfm processing files : otf -> tfm + enc I had to round some heights by 16.0000000 units. I had to round some depths by 2.5000000 units. I had to round some heights by 16.0000000 units. I had to round some depths by 2.5000000 units. updmap: This is updmap, version 1107552857 updmap: using transcript file `/Users/Emil/.texmf-var/web2c/updmap.log' updmap: initial config file is `/Users/Emil/.texmf-config/web2c/ updmap.cfg' updmap: configuration file updated: `/Users/Emil/.texmf-config/web2c/ updmap.cfg' updating map file : texnansi-LIGA-KERN-public-torunska.map
generating : ls-r databases
mktexlsr: Updating /Users/Emil/local/tetex/share/texmf-local/ls-R... mktexlsr: Done.
(4) This is the output I get when I texexec the test file:
[~/antykwa] texexec --pdf --mode=compact --once texnansi-LIGA-KERN- public-torunska.tex
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
fixing engine variable : pdfetex executable : pdfetex format : cont-en inputfile : texnansi-LIGA-KERN-public-torunska output : pdftex interface : en options : once current mode : compact
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2C 7.5.5) \write18 enabled. (/Users/Emil/local/tetex/share/texmf-local/web2c/natural.tcx) entering extended mode (./texnansi-LIGA-KERN-public-torunska.tex
ConTeXt ver: 2005.08.31 fmt: 2005.9.19 int: english mes: english
language : language en is active
system : cont-new loaded (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/Users/Emil/local/tetex/share/texmf-local/tex/context/user/cont-sys.rme (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- exa.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- syn.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- enc.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- dis.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- siz.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- map.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- spe.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/type- akb.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2- 2:2 fr-> texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2 de->texnansi:texnansi->5- 2:2 de->e c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 pt- texnansi:texna nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2 pl->pl0:pl0->12- 2:2 pl->ec:e c->13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2 sk->il2:il2->16- 2:2 sk->ec: ec->17->2:2 sl->il2:il2->18->2:2 sl->ec:ec->19->2:2 en->ec:ec->21- 2:2 da->ec:e c->22->2:2 sv->ec:ec->23->2:2 af->ec:ec->24->2:2 no->ec:ec->25->2:2 deo->ec:ec- 26->2:2 uk->ec:ec->27->2:2 us->ec:ec->28->2:2 es->ec:ec->29->2:2 ca- ec:ec->30 ->2:2 la->ec:ec->31->2:2 ro->ec:ec->32->2:2 tr->ec:ec->33->2:2 fi- ec:ec->35->2 :2 hu->ec:ec->36->2:2 loaded specials : tex,postscript,rokicki loaded system : texnansi-LIGA-KERN-public-torunska.top loaded (./texnansi-LIGA-KERN-public-torunska.top specials : loading definition file tpd (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/spec- fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) system : module fnt-01 loaded (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/s-fnt-01.tex
color : system rgb is global activated ) systems : begin file texnansi-LIGA-KERN-public-torunska at line 7 (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/font- run.tex) (/Users/Emil/local/tetex/share/texmf-local/tex/context/base/pdfr-ec.tex) fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: original-ams-base fonts : using map file: original-public-lm fonts : using map file: texnansi-LIGA-KERN-public-torunska [1.1{/Users/Emil/local/tetex/share/texmf-local/fonts/map/pdftex/ context/origina l-empty.map}{/Users/Emil/local/tetex/share/texmf-local/fonts/map/ pdftex/context /original-base.map}{/Users/Emil/local/tetex/share/texmf-local/fonts/ map/pdftex/ context/ec-public-lm.map}{/Users/Emil/local/tetex/share/texmf-local/ fonts/map/p dftex/context/ec-base.map}{/Users/Emil/local/tetex/share/texmf-local/ fonts/map/ pdftex/context/original-ams-base.map}{/Users/Emil/local/tetex/share/ texmf-local /fonts/map/pdftex/context/original-public-lm.map}{/Users/Emil/local/ tetex/share /texmf-local/fonts/map/pdftex/context/texnansi-LIGA-KERN-public- torunska.map}] [2.2] [3.3] systems : end file texnansi-LIGA-KERN-public-torunska at line 35 ) </var/tmp/texfonts/pk/modeless/public/test/texnansi-LIGA-KERN- AntykwaTorunsk a-Regular--base.72pk>kpathsea: Running mktexpk --mfmode / --bdpi 72 -- mag 1+0/72 --dpi 72 texnansi-LIGA-KERN-AntykwaTorunska-Italic--base mktexpk: don't know how to create bitmap font for texnansi-LIGA-KERN- AntykwaTorunska-Italic--base. kpathsea: Appending font creation commands to missfont.log.
Warning: pdfetex (file texnansi-LIGA-KERN-AntykwaTorunska-Italic-- base): Font t exnansi-LIGA-KERN-AntykwaTorunska-Italic--base at 72 not found {/Users/Emil/local/tetex/share/texmf-local/fonts/enc/dvips/lm/ec- lm.enc} Output written on texnansi-LIGA-KERN-public-torunska.pdf (3 pages, 127668 bytes ). Transcript written on texnansi-LIGA-KERN-public-torunska.log.
return code : 0 run time : 7 seconds
total run time : 8 seconds
(5) Finally, here is the content of the generated map file:
[~/antykwa] cat ~/Local/teTeX/share/texmf-local/fonts/map/pdftex/ context/texnansi-LIGA-KERN-public-torunska.map % This file is generated by the TeXFont Perl script. % % You need to add the following line to your file: % % \pdfmapfile{+texnansi-LIGA-KERN-public-torunska.map} % % In ConTeXt you can best use: % % \loadmapfile[texnansi-LIGA-KERN-public-torunska.map]
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-