[XeTeX] Re: version 0.88

Jonathan Kew jonathan_kew at sil.org
Tue Oct 12 18:01:49 CEST 2004


On 12 Oct 2004, at 4:55 pm, Zsolt Kiraly wrote:

> Hi Jonathan,
>
> I donwloaded the 0.88 version. I tried putting in the 
> 'mapping:tex-text' option into the .fd file like this:
>
> \DeclareFontShape{U}{omnp}{m}{n}{
>    <-8.4> "Minion\space Pro\space Caption:mapping=tex-text +pnum, 
> +kern, +liga"
>    <8.5-13.0> "Minion\space Pro:mapping=tex-text +pnum, +kern, +liga"
>    <13.1-19.9> "Minion\space Pro\space Subhead:mapping=tex-text +pnum, 
> +kern, +liga"
>    <20-> "Minion\space Pro\space Display:mapping=tex-text +lnum, 
> +kern, +liga"
> }{}
>
>  but I don' think it's working. Can you give a simple .fd file entry 
> as an example ?
>

Close, but you need a semicolon to terminate the "mapping=tex-text" 
option (it's just like specifying AAT "feature=setting" options, font 
color values, etc).

So try:

\DeclareFontShape{U}{omnp}{m}{n}{
    <-8.4> "Minion\space Pro\space Caption:mapping=tex-text; +pnum, 
+kern, +liga"
    <8.5-13.0> "Minion\space Pro:mapping=tex-text; +pnum, +kern, +liga"
    <13.1-19.9> "Minion\space Pro\space Subhead:mapping=tex-text; +pnum, 
+kern, +liga"
    <20-> "Minion\space Pro\space Display:mapping=tex-text; +lnum, 
+kern, +liga"
}{}

and see how that goes.

Jonathan



More information about the XeTeX mailing list