CJK Unified Ideographs Extension B Generate PDF problem [message #1234143] |
Tue, 21 January 2014 10:34 |
ken lee Messages: 1 Registered: January 2014 |
Junior Member |
|
|
I would like to used BIRT to generate PDF file which contains "CJK Unified Ideographs Extension A" & "CJK Unified Ideographs Extension B" characters.
I modified fontsConfig.xml as to make Ext-A characters use "MingLiu" Font and Ext-B characters use "MingLiu-ExtB" Font.
I tested with the basic genReport.bat & hello_world.rptdesign in Win7.
The problem is only Ext-A characters correctly generated in the PDF file with "MingLiu" Font and Ext-B characters cannot be generated. I guess it is because Ext-B characters used 2 bytes to represent and BIRT has problem to recognize it.
㐀 - \u3400 (Ext-A char)
音頁- \u29433 - \ud865\udc33 (Ext-B char)
Below is my fontsConfig.xml
<composite-font name="all-fonts">
<block name="CJK Unified Ideographs Extension A" range-start="3400" range-end="4dbf" index="101" font-family="MingLiu"/>
<block name="CJK Unified Ideographs Extension B" range-start="20000" range-end="2a6df" index="148" font-family="MingLiu-ExtB"/>
<block name="default" font-family="Times-Roman"/>
</composite-font>
From my other tests shows Ext-B characters always fall to the "default" block.
I tested version 3.7.2 & 4.3.1
Please help!
[Updated on: Wed, 22 January 2014 01:57] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03330 seconds