[XeTeX] STFangsong punctuation kerning

Will Robertson wspr81 at gmail.com
Mon Jun 12 15:24:16 CEST 2006


On 12/06/2006, at 22:43 , Jjgod Jiang wrote:

> 2. prevent extra spaces between 2 lines in Chinese
> (aka. insert % at the end of line), for example:
>
> 中文
> 测试
>
> without a '%' after "文",there will be an extra space between 文  
> and 测,
> which is usually not we want when we prefered to break the lines
> manually.

Aren't spaces usually ignored for ideographic scripts?
Perhaps it makes sense to declare
   \endlinechar=-1
which means that no space will be added at a line break.

> I decided to solve those problems in preprocessor way because inner
> TeX solution (write a TeX macro package for that) will be ugly and  
> slow.

Fair enough, but it's a pity that the font vendors can't sort these  
problems out. There is no fundamental problem with how XeTeX works  
that there should be issues with things like this.

Will


More information about the XeTeX mailing list