[XeTeX] weird kerning with GFS Didot's italic face

Pablo Rodríguez oinos at web.de
Thu Jul 6 22:58:50 CEST 2006


Jonathan Kew wrote:
> On 6 Jul 2006, at 8:23 pm, Pablo Rodríguez wrote:
>> Is there no way to switch GPOS kerning for a concrete font (or for all
>> fonts in a document) using fontspec or XeTeX?
> 
> It's enabled by default (if present in the font); you can disable it  
> by specifying the "-kern" tag in the \font declaration, thus:
> 
> 	\font\nokerndidot = "GFS Didot:-kern" at 12pt
> 
> Fontspec doesn't seem to have a predefined option for this (how about  
> it, Will?!), but you can declare one; I think the form would be  
> something like this (untested):
> 
> 	\newfontfeature{NoKerning}{-kern}
> 	\setromanfont[NoKerning]{GFS Didot}

Thanks, Jonathan, it worked fine, if GPOS kerning is not applied.

BTW, is there another kerning in OpenType fonts other than GPOS?

Thanks for your help,


Pablo


More information about the XeTeX mailing list