[XeTeX] ICU and vertical layout support

Jonathan Kew jonathan_kew at sil.org
Mon May 14 23:07:56 CEST 2007


On 13 May 2007, at 12:34 pm, Jjgod Jiang wrote:

> Hi,
>
> I wondering what's the best way to handle a font with 'vert' feature
> of a specific script, say FangSong_GB2312 distributed with
> Windows:

> [snip]

> But ATSFontGetTable(.., gsubTableTag, ..) failed. So in
> LayoutEngineFactory() of XeTeXOTLayoutEngine.cpp,
> XeTeXHanLayoutEngine is not used for vertical layout,
> whichi results very bad output for:
>
> \font\zhfont="FangSong_GB2312/ICU:vertical:script=hani"
>
> Is there any solution to workaround this?

I am travelling at the moment and not able to investigate this right  
away, but I wonder if there's some kind of issue with this being a  
GB2312 font rather than a Unicode font? (I don't see why this would  
cause ATSFontGetTable would fail, but it makes me wonder if it's a  
good idea to try and use such a font anyway.)

When I am back in the office, I'll try to take a proper look, if this  
remains a problem....

JK



More information about the XeTeX mailing list