[NTG-context] adventor

Wolfgang Werners-Lucchini wwl at musensturm.de
Mon Aug 6 23:28:21 CEST 2007


> > 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).
> 
> This type of patch to type-gyr.tex should help:
> 
> -\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2
> b,t2c,l7x]
> +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t
> 5,t2a,t2b,t2c,l7x]
> 
> (you can't define a typeface for an undefined typescript).
> 
> Hans doesn't like avantgarde, so for you adventor you will have
> to create a completely new typescript, as it was never previously
> defined in the core.
> 
> Cheers,
> Taco

'type-gyr.tex' defines!!! adventor. But the encoding-script is wrong, 
as Thomas has pointed out. 

--- excerpt from type-gyr.tex ---
\definetypescriptprefix [n:adventor][TeXGyreAdventor]
\definetypescriptprefix [f:adventor][ag]

\starttypescript [serif] [pagella,termes,heros,bonum,schola,adventor] [ec,texnansi,cs,el,qx,rm,t5,t2a,t2b,t2c,l7x]
  \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map]

  \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular]        [\typescriptthree-q\typescriptprefix{f:\typescripttwo}r]     [encoding=\typescriptthree]
  ...
\stoptypescript

\starttypescript [sans] [heros,adventor] [name]
  \definefontsynonym [Sans]                [\typescriptprefix{n:\typescripttwo}-Regular]
  ...
\stoptypescript

\starttypescript [map] [pagella,termes,bonum,schola,heros,adventor] [all]
  \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map]
\stoptypescript
---

I still have some questions:

- A complete (all gyre-fonts) type-script makes sense. Will 'type-
gyr' be fixed, or should I create my own?
- What are the map-files at the gyre-site for?
- Is the second \loadmapfile entry above redundant?
- What is the correct texfont syntax, to install adventors small-caps 
variant?
- There are enc-files in the ??dvips?? subdirectory of the font tree:

 'fonts/enc/dvips/tex-gyre/q-<encoding>-sc.enc

Should I make use from these files? Will they be found there?

Wolfgang





More information about the ntg-context mailing list