On Aug 4, 2007, at 11:45 PM, Wolfgang Werners-Lucchini wrote:
I have some problems useing the font adventor from gyre project. After downloading the fonts and the context map-files from the gyre-site, I tried the following:
\usetypescriptfile[type-gyr]
\definetypeface[adventor][ss][sans][adventor][default][encoding=ec] \setupbodyfont[adventor,ss,9pt] \starttext \ss Bla \stoptext
but I get
! Font \*adventor12ptsstfss*:=TeXGyreAdventor-Regular at 12.0pt not loadable: Metric (TFM) file not found.
I had a look at the typescripts and the mapfiles, and I think I see why your approach isn't working. All tex-gyre fonts are only defined in terms of a [serif] typescript (line 52-66 of type-gyr.tex). So I tried to change your minimal example to this: \usetypescriptfile[type-gyr] \definetypeface[adventor][rm][serif][adventor][default][encoding=ec] \setupbodyfont[adventor,ss,9pt] \starttext \ss Bla \stoptext However, I now get hundreds of warnings in my log (attached below). I can't pinpoint it, but it looks like ConTeXt is looking for a file qag-name.map which isn't there. Upon further investigation: I get these warnings whenever I use one of the new tex-gyre font names. So defining a typeface like this: \definetypeface[main][rm][serif][palatino][default][encoding=ec] \setupbodyfont[main,9pt] works wonderfully. Defining it like this \definetypeface[main][rm][serif][pagella][default][encoding=ec] \setupbodyfont[main,9pt] should give the identical results, but triggers the warnings. I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway). All best Thomas pdfTeX warning: pdftex (file all-base.map): cannot open font map file fonts : using map file: qag-ec {/usr/local/texlive/2007/../texmf-local/fonts/map/dvips/tex-gyre/qag- ec.map} fonts : using map file: qag-name pdfTeX warning: pdftex (file qag-name.map): cannot open font map file fonts : using map file: default pdfTeX warning: pdftex (file default.map): cannot open font map file fonts : using map file: ec pdfTeX warning: pdftex (file ec.map): cannot open font map file fonts : using map file: special {/usr/local/texlive/2007/texmf-dist/fonts/map/fontname/special.map pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for `@c': font file present but not included, will be treated as font file not present pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for `@c': font file present but not included, will be treated as font file not present pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): invalid entry for `@c': unknown name `dec06' ignored pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for `@c': font file present but not included, will be treated as font file not present