Actually I looked a bit more and we seems to also have fonts with some
Chinese support (uming font) so we might have another issue (or uming
font is really limited).
Anyway best is to create a jira issue about this and someone need to
debug FOP to understand what is going on exactly and what is supported
and not supported by the various fonts we have.
On Thu, Mar 9, 2017 at 3:06 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
As I said, the first thing to do is report the problem
on
https://jira.xwiki.org.
Now for the how to fix it, looks like embedding a font supporting
Chinese characters might not be as easy as I first tough. I looked at
Noto font but the pack which support Chinese (not even talking about
Japanese and Korean) is 115MB...
We are not going to add 115MB (3 times actually that if we add
Japanese and Korean Nato fonts) to the default XWiki package so here
are some ideas:
* find a lighter font with full support for CJK (but it's possible
there is none)
* download the Chinese Noto pack either automatically (when zh is
enabled in the preferences for example) or on demand in the admin
* enable back <auto-detect/> but then we might get back memory issues
in systems with lots of fonts installed like we used to
* just explain how to install a font by hand (it should be nothing
more that extracting it directly in <xwikihome>/WEB-INF/fonts/ folder)
On Thu, Mar 9, 2017 at 2:38 PM, Billtec <webmaster(a)billtec.cn> wrote:
Is there anything I could do to make Chinese
characters available in current
release? Like manually replace the FreeFont with some other fonts?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Chinese-characters-will-be-replaced-by-wh…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
--
Thomas Mortagne