[xep-support] Re: Space between two Japanese characters is ignored by Adobe PDF reader

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Fri Oct 27 2006 - 05:24:50 PDT
Hi,
 
We have a strange problem of whitespace between two Japanese characters and space between English Japanese characters not shown by Adobe PDF reader. We create FO like this:
<fo:block space-after="0.6em" space-after.optimum="3pt" space-before="0.6em" text-indent="0em" line-height-shift-adjustment="disregard-shifts">
            whitespace test: no space:<fo:inline line-height="100%" font-family="KozMinProVI-Regular">翻訳</fo:inline>;
             one space:<fo:inline line-height="100%" font-family="KozMinProVI-Regular">翻</fo:inline> <fo:inline
                line-height="100%" font-family="KozMinProVI-Regular">訳</fo:inline>;
             one NBSP space:<fo:inline line-height="100%" font-family="KozMinProVI-Regular">翻</fo:inline> <fo:inline
            line-height="100%" font-family="KozMinProVI-Regular">訳</fo:inline>;
</fo:block>

after processing of this document by XEP.
In Adobe PDF it is converted to a tiny amount of extra space between two Japanese characters but actual whitespace is missing.
If I put the similar string in WinWord and save as PDF using Adobe distiller, the whitespace is preserved. Compare two PDFs (links below) and look for "whitespace test". In Adobe PDF switch to text select mode. In WinWord you can see the space while in FO generated PDF the space is missing.

fo.pdf 10k: file generated with XEP
winword.pdf 20k: file generated with Distiller

Any ideas?

Thanks
------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html Received on Fri Oct 27 05:44:36 2006

This archive was generated by hypermail 2.1.8 : Fri Oct 27 2006 - 05:44:40 PDT