Re: fo2docx justified alignment anomalies chinese

Hussein Shafie <[email protected]> Mon, 5 Feb 2018 12:44:20 +0100
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
Martin F. wrote:
>
> in order to create microsoft word document files from our docbook source
> code, we purchased a license of your xsl-fo processor some time ago and
> integrated your fo2docx.bat processor into our documentation toolchain
> with great success both under Windows 7 and 10. For the PDF document
> output we use the standard fop script from the apache group. We
> regularly use justified alignment for all of our documentation projects.

Understood.



>
> Still we experience an issue with justified alignment anomalies when
> generating chinese word document while the pdf output looks good.

Sorry, but sending us JPG screenshots does not really help. As explained 
here:
---
Writing a usable bug report

... please make sure to include all the following information in your 
bug report:
...
- If the problem is a defect in the output file generated by XFC, an 
XSL-FO input file, preferably small, indented, written by hand, allowing 
to reproduce this problem.
...
---
http://www.xmlmind.com/foconverter/support_policy.html#bug_report

we need a sample XSL-FO file allowing us to reproduce the issue here at 
XMLmind.



> In chinese Word documents, numeric letters are spaced oddly far apart from
> the standard text, while the chinese letters are appealingly spaced. In
> PDF output the entire text is spaced appealingly no matter if the text
> contains numeric values or chinese letters.
>
> Please see attached image files, in which I have circled the problematic
> areas in red. The PDF output contains the alignment that we expect. The
> DOC output contains the odd alignment.
>
> Do you know such a behaviour

No.



> and did you fixed such an issue in next
> versions of fo2docx.bat?

May be. We don't even know which version of XMLmind XSL-FO Converter you 
are using!



>
> Is it possible to fix our problem by an update?
>

May be. However as explained here:
---
Before writing your bug report

Make sure to use the latest version of the product. Download and run 
latest Evaluation Edition if needed to.
---
http://www.xmlmind.com/foconverter/support_policy.html#bug_report

it's up to you to check this.



--> Please carefully read this new section

"Special support for East Asian fonts"

http://www.xmlmind.com/foconverter/_distrib/doc/user/implementation.html#east_asian_fonts

because we suspect that properly declaring the East Asian fonts you use 
to XMLmind XSL-FO Converter would solve the issue.



--> Then please download latest Evaluation Edition from here:

http://www.xmlmind.com/foconverter/downloadeval.shtml#xfc_engine

and give this version a try by using the proper 
-eastAsiaFontFamilies=map option.



--> If doing this does not solve the issue, please file a formal bug 
report including a sample XSL-FO file allowing us to reproduce the issue 
here at XMLmind.

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support