Comment 4 for bug 980580

Revision history for this message
Ying Chun Guo (daisy-ycguo) wrote : Re: [Bug 980580] Re: Current maven plugin of DocBook buidling doesn't support Chinese characters

Thank you, Anne.

I will recommend to make the font as a config option, as there may be need
to associate a font with
a particular language/localization. I looked into the source code of this
maven plguin. It's possible
to make this change.

If Joe wants Chinese font files for testing, I'm glad to help.

Regards
Daisy

<email address hidden> wrote on 05/16/2012 09:44:42 AM:

> Anne Gentle <email address hidden>
> Sent by: <email address hidden>
>
> 05/16/2012 09:44 AM
>
> Please respond to
> Bug 980580 <email address hidden>
>
> To
>
> Ying Chun Guo/China/IBM@IBMCN,
>
> cc
>
> Subject
>
> [Bug 980580] Re: Current maven plugin of DocBook buidling doesn't
> support Chinese characters
>
> Hi Daisy -
> I subscribed Joe Savak, the product manager for the clouddocs-maven-
> plugin, to this bug. I'll check with him this week. So far we have
> been tracking their bugs here, though maybe we could start to use
> the Github issues for these specifics.
> Thanks,
> Anne
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/980580
>
> Title:
> Current maven plugin of DocBook buidling doesn't support Chinese
> characters
>
> Status in OpenStack Manuals:
> Triaged
>
> Bug description:
> Hi,
>
> I tried to translate the manual documents into Chinese and built it
with:
> mvn generate-sources,
> then I found the html pages were built successfully. But in PDF
> document, the Chinese characters cannot be displayed correctly.
> ###### is showed in the place where Chinese characters are expected.
> There are some warning message in the console:
>
> WARN org.apache.fop.events.LoggingEventListener.processEvent
> (LoggingEventListener.java:80) - Glyph "编" (0x7f16) not available
> in font "CartoGothicStd-Bold".
> WARN org.apache.fop.events.LoggingEventListener.processEvent
> (LoggingEventListener.java:80) - Glyph "程" (0x7a0b) not available
> in font "CartoGothicStd-Bold".
> WARN org.apache.fop.events.LoggingEventListener.processEvent
> (LoggingEventListener.java:80) - Glyph "该" (0x8be5) not available
> in font "CartoGothicStd-Book".
> WARN org.apache.fop.events.LoggingEventListener.processEvent
> (LoggingEventListener.java:80) - Glyph "书" (0x4e66) not available
> in font "CartoGothicStd-Book".
>
> I think, this might be caused by the font setting in the maven plugin
> "clouddocs-maven-plugin". The font "CartoGothicStd-Book" is used but
> it cannot support Chinese characters. The same problem might occur to
> other languages too.
>
> I'm not able to find the introduction of this maven plugin by Google.
> Is it a way to configure the font setting by maven?
>
> Daisy
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openstack-manuals/+bug/980580/+subscriptions
>