Trying to use Avant Garde - output font in very low resolution
![](https://secure.gravatar.com/avatar/d41593c982fd22b3511de17dfe6dddec.jpg?s=120&d=mm&r=g)
Hello, I was trying to use a new font (not Computer Modern) in my tex file and all I get is the font in a very low resolution (see http://www.nfmh.is/~kari/pub/context/flipp4.pdf). This output was the result of the following files: type-garde.tex: http://www.nfmh.is/~kari/pub/context/type-garde.tex flipp4.tex: http://www.nfmh.is/~kari/pub/context/flipp4.tex I created the typescript file according to the information in "ConTeXt and pdfTeX Beginners help file" (http://home.salamander.com/~wmcclain/context-help.html#selectfont). The interesting thing is that I can get the fonts with good quality if I only use TeX. The output of running the file flipp3.tex: http://www.nfmh.is/~kari/pub/context/flipp3.tex * with pdftex: http://www.nfmh.is/~kari/pub/context/flipp3.pdf * with texexec --pdf: http://www.nfmh.is/~kari/pub/context/flipp5.pdf So it seems that texexec is doing things a bit differently then pdftex but I can't figure out where or how to fix it. I also tried having the font inclusion in the same tex file and not in a typescript file with the same results: * http://www.nfmh.is/~kari/pub/context/flipp6.tex * http://www.nfmh.is/~kari/pub/context/flipp6.pdf Then there came one strange thing. When I tried the same thing with the Bitstream Charter Bold font as he did in the beginners help file I got a low resolution font when the inclusion was inside the same but that worked fine with the online texexec program (live.contextgarden.net). However, when I used the typescript file as he did in the help file I got good quality on the bistream font. I am quite lost now so any help is very appreciated! Output of 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.10.16 mes: english Thanks in advance, Kári Hreinsson
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Kári Hreinsson wrote:
The interesting thing is that I can get the fonts with good quality if I only use TeX. The output of running the file flipp3.tex: http://www.nfmh.is/~kari/pub/context/flipp3.tex * with pdftex: http://www.nfmh.is/~kari/pub/context/flipp3.pdf * with texexec --pdf: http://www.nfmh.is/~kari/pub/context/flipp5.pdf So it seems that texexec is doing things a bit differently then pdftex but I can't figure out where or how to fix it.
That's definately a clue. I'll wager you can get the texexec version working by adding \loadmapfile[pdftex.map] to the document. Stand-alone plain pdftex reads that file to find font mappings, but context does not use it (any more). The 'clean' way would be to put your AvantGarde lines in a 'Avant Garde map' file, and load that using \loadmapfile[avantgarde.map], for instance. Cheers, Taco
![](https://secure.gravatar.com/avatar/d41593c982fd22b3511de17dfe6dddec.jpg?s=120&d=mm&r=g)
Thanks, this worked.
I added the appropriate lines to 8r-base.map found in the local texmf
root. That should be clean enough? :)
Thanks again,
Kári Hreinsson
On 11/7/05, Taco Hoekwater
Kári Hreinsson wrote:
The interesting thing is that I can get the fonts with good quality if I only use TeX. The output of running the file flipp3.tex: http://www.nfmh.is/~kari/pub/context/flipp3.tex * with pdftex: http://www.nfmh.is/~kari/pub/context/flipp3.pdf * with texexec --pdf: http://www.nfmh.is/~kari/pub/context/flipp5.pdf So it seems that texexec is doing things a bit differently then pdftex but I can't figure out where or how to fix it.
That's definately a clue. I'll wager you can get the texexec version working by adding
\loadmapfile[pdftex.map]
to the document. Stand-alone plain pdftex reads that file to find font mappings, but context does not use it (any more).
The 'clean' way would be to put your AvantGarde lines in a 'Avant Garde map' file, and load that using \loadmapfile[avantgarde.map], for instance.
Cheers, Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (2)
-
Kári Hreinsson
-
Taco Hoekwater