There's also an issue with letter-spacing between Chinese and English, which causes the following English letter to "overwrite" the last Chinese glyph.  Maybe its the same underlying problem as the "full justification" one in my quoted email below?

My test fo is below.  Is there a fop dev who would be interested in fixing these issues on a fee for service basis?

thanks .. Jason



   <fo:block font-size="12.0pt" line-height="107%"
space-after="0.11in">
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="0.02in">
<inline font-family="PMingLiU">有針對</inline>
</inline>
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="0.02in">
<inline font-family="Times New Roman">spacing 31</inline>
</inline>
</fo:block>
<fo:block font-size="12.0pt" line-height="107%"
space-after="0.11in">
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="1mm">
<inline font-family="Times New Roman">spacing 61</inline>
</inline>
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="1mm">
<inline font-family="PMingLiU">有針對</inline>
</inline>
</fo:block>
<fo:block font-size="12.0pt" line-height="107%"
space-after="0.11in">
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="0.06in">
<inline font-family="PMingLiU">有針對</inline>
</inline>
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-size="12.0pt" letter-spacing="2mm">
<inline font-family="Times New Roman">spacing 91</inline>
</inline>
</fo:block>



On Sun, May 30, 2021 at 11:18 AM <jharrop@gmail.com> wrote:
Hi there, just wondering if anybody has any experience/tips in getting full justification to work automagically for mixed Chinese/English paragraphs?  Most Chinese glyphs are fixed width, so that's easy, but even in a monospaced font (eg NSimSun), the English glyphs are narrower.  

I've attached below the FO I've been playing with.

thanks .. Jason

   <fo:block text-align="justify">
<fo:inline font-family="NSimSun">世衛組織於20201231日將輝瑞的COVID-19疫苗(BNT162b2)納入緊急使用列表。2021215日,世衛組織將阿斯利康/牛津的COVID-19疫苗的兩種版本納入了緊急使用列表,這兩種疫苗由印度血清研究所和SKBio公司生產。2021312日,世衛組織將由楊森(強生公司)開發的COVID-19疫苗Ad26.COV2.S納入了緊急使用列表。世衛組織在今年6月前會繼續將其他疫苗產品納入緊急使用列表。    </fo:inline>
</fo:block>