<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello Mok,</p>
    <p>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:</p>
    <p>* some Thai words are treated incorrectly; besides ถัดไป, I can
      recall <span style="font-family:"Tahoma",sans-serif">แสัดง
        and </span><span
        style="font-family:"Tahoma",sans-serif">เคาเตอร์ that
        break in the middle while it should not;</span></p>
    <p><span style="font-family:"Tahoma",sans-serif">* Latin
        script (e.g., English words) staying within </span>fo:block
      language="th" is also treated incorrectly, including commas, quote
      marks, and open/close parenthesis.</p>
    <p>We keep this problem in mind and we hope to get it fixed at some
      time.</p>
    <p>As a partial workaround the problem with Latin script, make sure
      that all English text is properly marked with "language"
      attribute.</p>
    <pre class="moz-signature" cols="72">Good bye,
Vladyslav Y. Sivyakov, RenderX.</pre>
    <div class="moz-cite-prefix">On 05/06/17 14:33, Mok wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANB_Q2XyEaxJOPzKFTwoAFr3dD0hw-FhJsRgk=1rH9+4TgE-cg@mail.gmail.com">there
      seems to be some issues with line-breaking in thai.
      <div>here is the simple fo file:</div>
      <div><br>
      </div>
      <div>
        <div><fo:root xmlns:fo="<a
            href="http://www.w3.org/1999/XSL/Format"
            moz-do-not-send="true">http://www.w3.org/1999/XSL/Format</a>"
          language="th" font-family="Kinnari, Arial"></div>
        <div>  <fo:layout-master-set></div>
        <div>    <fo:simple-page-master page-height="297mm"
          page-width="210mm" margin-left="21.09mm"
          master-name="proc"></div>
        <div>      <fo:region-body column-count="2"/></div>
        <div>    </fo:simple-page-master></div>
        <div>  </fo:layout-master-set></div>
        <div>  <fo:page-sequence master-reference="proc"
          language="th"></div>
        <div>    <fo:flow flow-name="xsl-region-body"></div>
        <div>      <fo:block>thai word breaking
          issues</fo:block></div>
        <div>      <fo:block>3. ไปที่ "เปิดใช้งานใบอนุญาตการผลิต
          (Activate Production License)" เมื่อคุณล็อกอิน
          หน้าต่างจะปรากฏขึ้น คลิ๊กที่ภาพ
          "เว็บไซต์สมาคมช่างเทคนิคมืออาชีพ (Professional Technician
          Society website)"</fo:block></div>
        <div>      <fo:block>4. คลิ๊กที่ "ถัดไป (Next)”
          เพื่อดำเนินการในขั้นตอนถัดไป</fo:block></div>
        <div>      <fo:block>5. กรอกข้อมูลที่เกี่ยวข้องและคลิ๊กที่
          "อัพเดต (Update)"</fo:block></div>
        <div>      <fo:block>9.
          หน้าจอจะแสดงหน้าต่างป็อปอัพดังที่แสดงในหน้าด้านบน
          เพื่อแจ้งว่าเปิดใช้งานได้สำเร็จ ให้คลิ๊ก “ปิด (Close)” IDS
          (Integrated Diagnostic System)
          จะสามารถทำงานได้ตามปกติ</fo:block></div>
        <div>    </fo:flow></div>
        <div>  </fo:page-sequence></div>
        <div></fo:root></div>
      </div>
      <div><br>
      </div>
      <div>and the results of rendering in 4.16 and 4.25 (thai416.pdf
        and thai425.pdf) with the issues highlighted in yellow.</div>
      <div><br>
      </div>
      <div>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. </div>
      <div>(however, in 4.16 the ascendants markings are in the wrong
        place which is fixed in 4.25)</div>
      <div><br>
      </div>
      <div>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.</div>
      <div><br>
      </div>
      <div>please advise</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <br>
      -- <br>
      <div dir="ltr"><font face="verdana, sans-serif">Chee Kong Mok<br>
          <a href="mailto:cheekongmok@gmail.com" target="_blank"
            moz-do-not-send="true">cheekongmok@gmail.com</a> <br>
          tel. +44 7908 716822</font></div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
(*) To unsubscribe, please visit <a class="moz-txt-link-freetext" href="http://lists.renderx.com/mailman/options/xep-support">http://lists.renderx.com/mailman/options/xep-support</a>
(*) By using the Service, you expressly agree to these Terms of Service <a class="moz-txt-link-freetext" href="http://w">http://w</a>
ww.renderx.com/terms-of-service.html</pre>
    </blockquote>
    <br>
  </body>
</html>