[XeTeX] HM_FTXsf fonts in v0.9999.2 of xetex

Khaled Hosny khaledhosny at eglug.org
Mon Apr 15 16:48:08 CEST 2013


On Mon, Apr 15, 2013 at 10:50:05PM +1000, Persian TeX Group wrote:
> Hi
> 
> Could you please try this with v0.9999.2 of xetex?
> 
> \documentclass[a4paper,12pt]{article}
> \usepackage{ptext}
> \usepackage{fontspec}
> \setmainfont[ExternalLocation,Script=Arabic]{HM_FTXsf}
> \begin{document}
> \ptext
> \end{document}
> 
> it gives garbage output but had no problem with the previous version of
> xetex in TeXLive 2012.

The font is broken, some base glyphs (e.g. uni06CC) has mark glyph class
which causes the layout engine to force its advance width to zero (which
causes the overlap). Previous version didn't do this zeroing of the
width, but it was wrong and would break other legitimate fonts.

The font has to be fixed to set the proper glyph class.

Regards,
Khaled


More information about the XeTeX mailing list