[xep-support] Adding Japanese fonts

From: Mark Giffin <mgiffin_at_ADDRESS_REMOVED>
Date: Tue Jun 13 2017 - 23:44:55 PDT

I'm using XEP 4.22 inside of the DITA Open Toolkit and I'm trying to get
it to use Japanese fonts by configuring xep.xml. I have this under my
<fonts> element:

         <!-- Japanese open type font. -->
     <font-group label="Japanese Open Type" embed="false">
       <font-family name="KozminPro">
         <font><font-data otf="KozMinPr6N-Regular.otf"/></font>
         <font style="italic"><font-data
         <font weight="bold"><font-data otf="KozGoPr6N-Medium.otf"/></font>
         <font weight="bold" style="italic"><font-data

It's PDF output and the font seems to be installed on my Windows 7
machine. KozGoPr6N-Medium.otf and another similar file are in the XEP
fonts directory.

The PDF comes out with none of the Japanese characters in the original
XML files, but does display the occasional English word that is in the XML.

I get errors like this from the DITA OT:

       [xep] Processing
       [xep] [XEPJ001W][WARN] could not find any font family matching
"KozMinProVI-Regular,ArialUnicodeMS,Batang"; replaced by Helvetica

The OT's font mapping file has this:

     <physical-font char-set="Japanese">


(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
Received on Tue Jun 13 23:45:35 2017

This archive was generated by hypermail 2.1.8 : Tue Jun 13 2017 - 23:45:58 PDT