Font installation
Hello list, I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file: (./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. I've got this problem not only with doulos but with gfs fonts too, and others. Font installation in the texmf tree with texfont works well. I can compile without any problem the texnansi-sil-doulos.tex file (idem with other files). What am I doing wrong? Here is my minimal type-doulos.tex: % type-doulos.tex \starttypescript [map] [texnansi] \loadmapfile[texnansi-sil-doulos] \stoptypescript \starttypescript [serif] [doulos] [texnansi] \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi] \stoptypescript \starttypescript [serif] [doulos] [name] \definefontsynonym[Serif] [DoulosSil] \stoptypescript And here is my minimal test file: \usetypescriptfile[type-doulos] \definetypeface[doulos][rm][serif][doulos][default][encoding=texnansi] \setupbodyfont[doulos,rm,10pt] \starttext This is the end, gggggnnnnnn \stoptext Thanks a lot for your reply. -AJ
On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote:
Hello list,
I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file:
(./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found.
I've got this problem not only with doulos but with gfs fonts too, and others.
Well the error message is quite helpful: TeX can't find the tfm file. Where did you put it? Is it found by kpsewhich? Did you run texhash/ mktexlsr after installing your fonts? Thomas
"Thomas A. Schmitz"
On Nov 6, 2006, at 2:33 PM, Antoine Junod wrote:
Hello list,
I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file:
(./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found.
I've got this problem not only with doulos but with gfs fonts too, and others.
Well the error message is quite helpful: TeX can't find the tfm file. Where did you put it? Is it found by kpsewhich? Did you run texhash/ mktexlsr after installing your fonts?
tmf files are in: ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm mtexfont.pdf seems to say that's the right place (page 3). Yes, I've run texhash/mktexlsr. What else should I check? Thanks for your help. -AJ
On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
tmf files are in:
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
mtexfont.pdf seems to say that's the right place (page 3).
Yes, I've run texhash/mktexlsr.
What else should I check?
Thanks for your help. -AJ
Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name "doulos" for all your definitions. Try to edit your test file like so: \usetypescriptfile[type-doulos] \definetypeface[Doulos][rm][serif][doulos][default][encoding=texnansi] \setupbodyfont[Doulos,rm,10pt] \starttext This is the end, gggggnnnnnn \stoptext HTH Thomas
"Thomas A. Schmitz"
On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
tmf files are in:
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
mtexfont.pdf seems to say that's the right place (page 3).
Yes, I've run texhash/mktexlsr.
What else should I check?
Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name "doulos" for all your definitions. Try to edit your test file like so:
It doesn't change anything. Always the same error: (./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found. Thanks for your help. -AJ
Antoine Junod wrote:
"Thomas A. Schmitz"
writes: On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
tmf files are in:
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
mtexfont.pdf seems to say that's the right place (page 3).
Yes, I've run texhash/mktexlsr.
What else should I check?
Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name "doulos" for all your definitions. Try to edit your test file like so:
It doesn't change anything. Always the same error:
(./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found.
what does kpsewhich DoulosSil.tfm report? -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen
Antoine Junod wrote:
"Thomas A. Schmitz"
writes: On Nov 6, 2006, at 2:54 PM, Antoine Junod wrote:
tmf files are in:
./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm
mtexfont.pdf seems to say that's the right place (page 3).
Yes, I've run texhash/mktexlsr.
What else should I check?
Excuse me, I wasn't paying enough attention. From your log, it is clear that ConTeXt is looking for a tfm that is called DoulosSil.tfm -- which, of course, isn't there. I think the reason is because you use the same name "doulos" for all your definitions. Try to edit your test file like so:
It doesn't change anything. Always the same error:
(./type-doulos.tex) ! Font \*Doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found.
what does
kpsewhich DoulosSil.tfm
report?
Nothing. I've no DoulsSil.tfm file in my texmf tree. The question is why is it looking for a DoulosSol.tfm file? Am wrong with my type-doulos.tex (cf my first post)? texfont has installed into the tree the following files: ./texmf-fonts/fonts/afm/sil/doulos/DoulosSILR.afm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-DoulosSILR.tfm ./texmf-fonts/fonts/tfm/sil/doulos/texnansi-raw-DoulosSILR.tfm ./texmf-fonts/fonts/vf/sil/doulos/texnansi-DoulosSILR.vf ./texmf-fonts/fonts/type1/sil/doulos/DoulosSILR.pfb and the map files ./texmf-fonts/fonts/map/dvips/context/dvips-texnansi-sil-doulos.map ./texmf-fonts/fonts/map/dvipdfm/context/dvipdfm-texnansi-sil-doulos.map ./texmf-fonts/fonts/map/pdftex/context/texnansi-sil-doulos.map Thanks a lot for your help. -AJ
On 06 Nov 2006 14:33:11 +0100, Antoine Junod wrote:
Hello list,
I'm trying to install new fonts in my texmf tree but at each try I stop at the same point, when compiling my test file:
(./type-doulos.tex) ! Font \*doulos12ptrmtfrm*:=DoulosSil at 12.0pt not loadable: Metric (TFM) file not found.
\starttypescript [serif] [doulos] [texnansi] \definefontsynonym[DoulosSIL][texnansi-DoulosSILR][encoding=texnansi] \stoptypescript
\starttypescript [serif] [doulos] [name] \definefontsynonym[Serif] [DoulosSil] \stoptypescript
Does it help if you change \definefontsynonym[Serif] [DoulosSil] into \definefontsynonym[Serif] [DoulosSIL] ? For DuolosSil there is currently no synonym defined in the what you posted above. Mojca
participants (4)
-
Antoine Junod
-
Hans Hagen
-
Mojca Miklavec
-
Thomas A. Schmitz