display chinese characters on birt chart on linux [message #669655] |
Tue, 10 May 2011 23:59  |
Eclipse User |
|
|
|
We designed an Birt report in eclipse with chinese characters from database and chart title/labels in chinese. Preview in eclipse is successful on windows. When running the report design in our web application that embeds birt runtime, it works well on windows. But on linux(Fedora Core 14), all chinese characters are shown as small square boxes on birt chart.
For running swing application on the same linux (FC 14) machine, we first find the font that can display chinese characters using Font.canDisplayUpTo(String), then component.setFont(font).
Is there an API to set font for rendering string on the birt chart? (for web application that embeds birt runtime)
I expect to see:
HTMLRenderOption.setFont(font)
thanks very much.
Dave
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07951 seconds