https://issues.apache.org/bugzilla/show_bug.cgi?id=46775

           Summary: can't render a block with 2 asian languages
           Product: Fop
           Version: 0.20.5
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: bin....@hp.com


we have a xml tag like this:
<fo:block language="en" font-family="SimHei, Angsa, SimSun" hyphenate="true">
    <xsl:value-of select="@FIELD_1"/>
</fo:block>
the value of attribute FIELD_1 maybe contain two asian langugage, for example
chinese and thailand. 
So I try to convert this tag to pdf file and I add font metric xml files for
SimHei(chinese bold fonts), Angsa(thailand fonts), SimSun(chinese fonts). 
But only the first font-family is effective. 
I mean if we put the Angsa(thailand fonts) first in the font-family attribute,
then the thailan can be correctly displayed but the chinese character display
incorrectly. 
If I put the SimHei(chinese bold fonts) first, then the chinese character
display correctly while the thailand display incorrrectly.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to