Glyph":" (0xff1a, colonmonospace) not available in font " TimesNewRomanPS-ItalicMT".
Posted: Fri Apr 29, 2016 5:58 am
Hi,
I have got a warning message
Glyph":" (0xff1a, colonmonospace) not available in font " TimesNewRomanPS-ItalicMT".
while I am transforming from .dita to pdf by using DITA-OT 1.8.5
The conditions are :
1) All my .dita files are in Chinese, and the language is set to "zh-cn" in ditamap and topics.
2) the DITA-OT version is 1.8.5 and I am using the "*.pdf2" plugin.
My question is regarding to the font-mappings.xml which located in /fo/
The original text in this file is as below:
<logical-font name="Serif">
<physical-font char-set="defult">
<font-face>Times New Roman,Times, Arial Unicode US, Tahoma, Batang</font-face>
</physical-font>
<physical-font char-set="Simplified Chinese">
<font-face>Simsun, Arial Unicode US,Tahoma, Batang</font-face>
</physical-font>
......
</logical-font>
with this font-mappings.xml, I have got the warning above, and some # is shown in the PDF output.
But when I deleted the Times New Roman,Times, from the <font-face> line. Then every
thing is perfect. The warning is gone, and I have got what I want.
<logical-font name="Serif">
<physical-font char-set="defult">
<font-face>Arial Unicode US, Tahoma, Batang</font-face>
</physical-font>
<physical-font char-set="Simplified Chinese">
<font-face>Simsun, Arial Unicode US,Tahoma, Batang</font-face>
</physical-font>
......
</logical-font>
So my question is : I have set the Simsun in Simplified Chinese filed. Why does it still search the "default" setting part?
How the font-mappings.xml works?
Thanks
Nikky
I have got a warning message
Glyph":" (0xff1a, colonmonospace) not available in font " TimesNewRomanPS-ItalicMT".
while I am transforming from .dita to pdf by using DITA-OT 1.8.5
The conditions are :
1) All my .dita files are in Chinese, and the language is set to "zh-cn" in ditamap and topics.
2) the DITA-OT version is 1.8.5 and I am using the "*.pdf2" plugin.
My question is regarding to the font-mappings.xml which located in /fo/
The original text in this file is as below:
<logical-font name="Serif">
<physical-font char-set="defult">
<font-face>Times New Roman,Times, Arial Unicode US, Tahoma, Batang</font-face>
</physical-font>
<physical-font char-set="Simplified Chinese">
<font-face>Simsun, Arial Unicode US,Tahoma, Batang</font-face>
</physical-font>
......
</logical-font>
with this font-mappings.xml, I have got the warning above, and some # is shown in the PDF output.
But when I deleted the Times New Roman,Times, from the <font-face> line. Then every
thing is perfect. The warning is gone, and I have got what I want.
<logical-font name="Serif">
<physical-font char-set="defult">
<font-face>Arial Unicode US, Tahoma, Batang</font-face>
</physical-font>
<physical-font char-set="Simplified Chinese">
<font-face>Simsun, Arial Unicode US,Tahoma, Batang</font-face>
</physical-font>
......
</logical-font>
So my question is : I have set the Simsun in Simplified Chinese filed. Why does it still search the "default" setting part?
How the font-mappings.xml works?
Thanks
Nikky