Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
FontsConfig.xml cannot recognize "CJK Unified Ideographs Extension B" ?
Migrateduser
<div>I would like to used BIRT to generate PDF file which contains "CJK Unified Ideographs Extension A" & "CJK Unified Ideographs Extension B" characters. </div><div> </div><div>I modified fontsConfig.xml as to make Ext-A characters use "MingLiu" Font and Ext-B characters use "MingLiu-ExtB" Font.</div><div> </div><div>I tested with the basic genReport.bat & hello_world.rptdesign in Win7.</div><div> </div><div>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.</div><div><strong>ã€</strong> - u3400 (Ext-A char)</div><div><strong>ð©³</strong> - u29433 - ud865udc33 (Ext-B char)</div><div> </div><div>Below is my fontsConfig.xml</div><div><composite-font name="all-fonts"><span> </span></div><div> <block name="CJK Unified Ideographs Extension A" range-start="3400" range-end="4dbf" index="101" font-family="MingLiu"/><span> </span></div><div> <block name="CJK Unified Ideographs Extension B" range-start="20000" range-end="2a6df" index="148" font-family="MingLiu-ExtB"/><span> </span></div><div> </div><div> <block name="default" font-family="Times-Roman"/></div><div></composite-font></div><div> </div><div>From my other tests shows Ext-B characters always fall to the "default" block.</div><div>I tested version 3.7.2 & 4.3.1</div><div> </div><div>Please help!</div><div> </div>
Find more posts tagged with
Comments
There are no comments yet