Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » CJK Unified Ideographs Extension B Generate PDF problem(Generate PDF problem with Ext-B characters)
icon5.gif  CJK Unified Ideographs Extension B Generate PDF problem [message #1234143] Tue, 21 January 2014 10:34
ken lee is currently offline ken leeFriend
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

Previous Topic:Preload Report section on background
Next Topic:How to use report parameters dynamically set the chart type?
Goto Forum:
  


Current Time: Thu Apr 25 18:14:54 GMT 2024

Powered by FUDForum. Page generated in 0.03330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top