FOP versions up to FOP 0.95beta cannot produce all glyphs of a Type 1 font (simplified: only the WinAnsi characters). FOP Trunk as of revision 641742 (committed two hours ago, experimental!) can, if there's an AFM file, the Type 1 font is not a CID font and the font is not registered using an XML font metrics file but by auto-detection. I don't have any chinese Type 1 fonts to test with so I can't tell if it will work at all.
As a rule of thumb, find a TrueType font with a Unicode CMap if you want to produce chinese characters. That is known to work. On 27.03.2008 11:46:19 xsltuser wrote: > > > As there is cmap issue with using ttf files like STHeiTi.ttf, I tried to > generate XML metrics file for STHeiTi.pfm using PFMReader and I have been > successfully able to do that and define the mapping in config file as > follows: > > > > <font-triplet name="STHeiTi" style="normal" > weight="normal"/> > > > Now the issue is that on running xsl through FOP processor, font fails to > embed in the pdf file and a sequence of # characters appears in place of the > chinese text due to unavailability of supporting fonts. Any ideas why it > fails to embed? > <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
