I am using uming, however, the font is called ARPLShanHeiSunUni. All I do is

<fo:block space-after="2mm" font-size="10pt" font-family="ARPLShanHeiSunUni" font-weight="normal" text-align="left">

and everything works fine

Peter


<font-triplet> element is indeed embedded inside  element.
Not sure why it is getting stripped off my message while posting reply.



xsltuser wrote:
FOP version I'm using is 0.94

Entry in the FOP configuration file is as per the specification:

<font-triplet name="uming" style="normal" weight="normal"/>
When I run xslt through the FOP processor, everything goes on smoothly
with no errors thrown but the generated pdf does not display any chinese
text as expected.





xsltuser wrote:
Dear All,

I'm trying to render Chinese text on output pdf file generated through
XSL transformation. I have added the corresponding mapping in FOP
configuartion file as follows:

<font-triplet name="uming" style="normal" weight="normal"/>
Following is the snippet of the XML and XSL file:

XML:
 <footer>&#x4e1a;&#x52a1;</footer>

XSL:
       <xsl:for-each select="//footer">
            <fo:block text-align="center" font-family="uming">
                <xsl:value-of select="."/>
            </fo:block>
        </xsl:for-each>

I'm using Oxygen editor to perform above transformation from XML ->
XSL-FO -> PDF.
On however, running the same, output pdf does not display anything in the
place where it is expected to print Chinese text.
Below are the system details:
OS : Mac OS 10.4
XSLT processor: Xalan 1.0

It'll be great if someone can give me some clue to resolve this.

Thanks,
Charanpreet.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to