Hello Mok,
We are aware about this problem. The newest versions of XEP rely on
Java's native mechanism of word breaking, and it gives incorrect results
in several cases:
* some Thai words are treated incorrectly; besides ถัดไป, I can recall
à¹à¸ªà¸±à¸”ง and เคาเตà¸à¸£à¹Œ that break in the middle while it should not;
* Latin script (e.g., English words) staying within fo:block
language="th" is also treated incorrectly, including commas, quote
marks, and open/close parenthesis.
We keep this problem in mind and we hope to get it fixed at some time.
As a partial workaround the problem with Latin script, make sure that
all English text is properly marked with "language" attribute.
Good bye,
Vladyslav Y. Sivyakov, RenderX.
On 05/06/17 14:33, Mok wrote:
> there seems to be some issues with line-breaking in thai.
> here is the simple fo file:
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" language="th"
> font-family="Kinnari, Arial">
> <fo:layout-master-set>
> <fo:simple-page-master page-height="297mm" page-width="210mm"
> margin-left="21.09mm" master-name="proc">
> <fo:region-body column-count="2"/>
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="proc" language="th">
> <fo:flow flow-name="xsl-region-body">
> <fo:block>thai word breaking issues</fo:block>
> <fo:block>3. ไปที่ "เปิดใช้งานใบà¸à¸™à¸¸à¸à¸²à¸•à¸à¸²à¸£à¸œà¸¥à¸´à¸• (Activate
> Production License)" เมื่à¸à¸„ุณล็à¸à¸à¸à¸´à¸™ หน้าต่างจะปราà¸à¸à¸‚ึ้น คลิ๊à¸à¸—ี่ภาพ
> "เว็บไซต์สมาคมช่างเทคนิคมืà¸à¸à¸²à¸Šà¸µà¸ž (Professional Technician Society
> website)"</fo:block>
> <fo:block>4. คลิ๊à¸à¸—ี่ "ถัดไป (Next)†เพื่à¸à¸”ำเนินà¸à¸²à¸£à¹ƒà¸™à¸‚ั้นตà¸à¸™à¸–ัดไป</fo:block>
> <fo:block>5. à¸à¸£à¸à¸à¸‚้à¸à¸¡à¸¹à¸¥à¸—ี่เà¸à¸µà¹ˆà¸¢à¸§à¸‚้à¸à¸‡à¹à¸¥à¸°à¸„ลิ๊à¸à¸—ี่ "à¸à¸±à¸žà¹€à¸”ต (Update)"</fo:block>
> <fo:block>9. หน้าจà¸à¸ˆà¸°à¹à¸ªà¸”งหน้าต่างป็à¸à¸›à¸à¸±à¸žà¸”ังที่à¹à¸ªà¸”งในหน้าด้านบน
> เพื่à¸à¹à¸ˆà¹‰à¸‡à¸§à¹ˆà¸²à¹€à¸›à¸´à¸”ใช้งานได้สำเร็จ ให้คลิ๊ภ“ปิด (Close)†IDS (Integrated
> Diagnostic System) จะสามารถทำงานได้ตามปà¸à¸•à¸´</fo:block>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
>
> and the results of rendering in 4.16 and 4.25 (thai416.pdf and
> thai425.pdf) with the issues highlighted in yellow.
>
> in the lines starting with "3.", "5." and "9.", you can see that in
> 4.25 the lines are breaking in the at ( and ", when it did not in 4.16.
> (however, in 4.16 the ascendants markings are in the wrong place which
> is fixed in 4.25)
>
> in the line starting with "4." the word เพื่à¸à¸”ำเนินà¸à¸²à¸£à¹ƒà¸™à¸‚ั้นตà¸à¸™à¸–ัดไป
> is breaking between 2 lines (both in 4.16 and 4.25) and thereby given
> a different meaning to the word when it is kept together.
>
> please advise
>
>
>
>
>
>
>
> --
> Chee Kong Mok
> cheekongmok@gmail.com <mailto:cheekongmok@gmail.com>
> tel. +44 7908 716822
>
>
>
> _______________________________________________
> (*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of Service http://w
> ww.renderx.com/terms-of-service.html
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon Jun 5 13:44:00 2017
This archive was generated by hypermail 2.1.8 : Mon Jun 05 2017 - 13:44:22 PDT