On 03.03.2008 07:08:18 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"/>
That's only part of the story. "font-triplet" must be a child of a "font" element. Do you have that in your config file? Please see http://xmlgraphics.apache.org/fop/latest/fonts.html for instruction on how to configure fonts. If this doesn't help, attach your config file here so we can see the whole story. > Following is the snippet of the XML and XSL file: > > XML: > <footer>业务</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 Xalan 1.0??? That can't be right. And much more important would be to know the FOP version you're using. > It'll be great if someone can give me some clue to resolve this. > > Thanks, > Charanpreet. > -- > View this message in context: > http://www.nabble.com/Unable-to-render-Chinese-Text-with-uming---uaki-font-files-tp15798235p15798235.html > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
