[NTG-context] Heros (font)
Hallo to you all. I'd like to use TeXGyre fonts termes and heros. I tried something like this: \usetypescriptfile[type-gyr] \definetypeface[termes][rm][serif][termes][default][encoding=ec] \definetypeface[termes][ss][sans][heros][default][encoding=ec] \definetypeface[termes][mm][math][times][default][] \setupbodyfont[termes,18pt] However, I found that fonts as TeXGyreHeros-Regular are not defined. So I added this: \loadmapfile[qhv-ec.map] \definefontsynonym [TeXGyreHeros-Regular][ec-qhvr][encoding=ec] \definefontsynonym [TeXGyreHeros-Italic][ec-qhvri][encoding=ec] \definefontsynonym [TeXGyreHeros-Bold] [ec-qhvb][encoding=ec] \definefontsynonym [TeXGyreHeros-BoldItalic] [ec-qhvbi][encoding=ec] Now it works---I get not run-time error, and I can see some Helvetica-like fonts (though I'm not sure that the Czech accents are all right). However, the AdobeReader says I use some Quasi-Swiss fonts, not TeXGyreHeros as I would expect. What's wrong? I've got ConTeXt ver: 2008.01.28 21:28 MKII. I installed manually TeXGyre fonts from the TeXGyre page some days ago. Many thanks for your kind help. And greeting to all of you. Michal ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Heros (font)
Michal Kvasnička wrote: Hallo to you all. I'd like to use TeXGyre fonts termes and heros. I tried something like this: \usetypescriptfile[type-gyr] this will overload the regular fonts, so \usetypescript[postscript][texnansi] \setupbodyfont[postscript,ss] should then give you heros Hans - 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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Heros (font)
On Fri, Feb 22, 2008 at 2:09 PM, Michal Kvasnička wrote: Hallo to you all. I'd like to use TeXGyre fonts termes and heros. I tried something like this: \usetypescriptfile[type-gyr] \definetypeface[termes][rm][serif][termes][default][encoding=ec] \definetypeface[termes][ss][sans][heros][default][encoding=ec] \definetypeface[termes][mm][math][times][default][] \setupbodyfont[termes,18pt] However, I found that fonts as TeXGyreHeros-Regular are not defined. So I added this: \loadmapfile[qhv-ec.map] \definefontsynonym [TeXGyreHeros-Regular][ec-qhvr][encoding=ec] \definefontsynonym [TeXGyreHeros-Italic][ec-qhvri][encoding=ec] \definefontsynonym [TeXGyreHeros-Bold] [ec-qhvb][encoding=ec] \definefontsynonym [TeXGyreHeros-BoldItalic] [ec-qhvbi][encoding=ec] Now it works---I get not run-time error, and I can see some Helvetica-like fonts (though I'm not sure that the Czech accents are all right). However, the AdobeReader says I use some Quasi-Swiss fonts, not TeXGyreHeros as I would expect. What's wrong? Hello, I'm only guessing - the old quasi fonts had exactly the same names as TeX Gyre (qhv - quasi helvetica). Maybe you have two files with the same name in your TeX tree, and kpathsea selects the old one. I would say delete them, but that might not be the most trivial task (you need to delete dozens of font files in many diferent folders - try to search for qfonts, delete all the folders with that name and regenerate the database). Can you send the log? Mojca http://www.ctan.org/tex-archive/help/Catalogue/entries/qfonts.html ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___