# means that the font used in the pdf does not contain those characters. You
should find a font that has support for Chinese, copy it in WEB-INF/fonts,
extract xhtml2fo.xsl from WEB-INF/libs/xwiki-platform-legacy-oldcore-*.jar
into WEB-INF/classes, edit it and add the name of your font next to
FreeSerif and FreeMono wherever they occur in the file, for example:
<xsl:attribute
name="font-family">FreeSerif,IPAGothic,serif</xsl:attribute>
Restart the server, and everything should work.
A good free font is IPAGothic, which I'll have to check if it can be
redistributed by default.
Sergiu Dumitriu
http://purl.org/net/sergiu/
On 2011-10-28 9:56 PM, "yang Li" <yang.lee.cool(a)gmail.com> wrote:
Hi,
I tried to export a page with many chinese characters as pdf, but the
resulted pdf has many "#".
There are no encoding problems elsewhere, everything is displayed correctly
by setting utf8 encoding everywhere (xwiki.cfg, database, tomcat).
I tried to search
http://jira.xwiki.org and got no luck...
--
Thanks for reading!
Yang Li
Electronic Engineering, Fudan University
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users