[XeTeX] Kerning flaw with MinionPro & XeTex

Khaled Hosny khaledhosny at eglug.org
Mon Feb 7 16:17:47 CET 2011


On Mon, Feb 07, 2011 at 03:34:32PM +0100, Adam Twardoch (List) wrote:
> On 11-02-07 12:31, Jonathan Kew wrote:
> > A couple of possible workarounds: either modify the font file to avoid the issue (Adam's analysis makes it clear how this could be done) -- provided this is compatible with your license, of course -- or use a different typeface that doesn't exhibit the problem.
> Adobe is one of the few major font vendors that do permit modification
> of their fonts for personal use.
> 
> The solution to the problem would be to open the font in a font editor
> such as FontLab Studio or FontForge, then expanding class-based kerning
> and removing kerning classes, and then generating a new font with
> kerning written in this new way (i.e. as a flat list, not class-based).
> 
> I might be able to write a Python script that does this (convert class
> into flat kerning) in a non-invasive manner (I actually have started
> this some time ago).

I have a script for FontForge, though written for RTL kerning but it is
trivial to adapt it to LTR kerning, If there is interest I can try
isolating it (it is rather embedded in a larger script right now).

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian


More information about the XeTeX mailing list