Problem with character encoding (?) [in app & in designer] [Solved] [message #1791437] |
Fri, 29 June 2018 10:05 |
Sebastian Krupa Messages: 10 Registered: June 2018 |
Junior Member |
|
|
Hi,
at first i need to say that BIRT is awesome project :)
but
I have problem with - i guess - character encoding(to be exact with Polish characters) in designer and in our application which is using birt as PDF rendering engine. In our application it reveals by switching our national signs like ę,ś,ć with ASCII(?) ones like e,s,c and so on. In BIRT designer after rendering to PDF our national characters are correct but ... they looks wired :) - like from different font.
You can see what i mean on examples that i had rendered from designer and from our app
1'st one app-pdf.png is from app :)
2'nd one designer-pdf.png is from BIRT designer
My fontConfig,xml
<?xml version="1.0" encoding="UTF-8"?>
<font>
<font-aliases>
<mapping name="serif" font-family="Arial" />
<mapping name="sans-serif" font-family="Courier" />
<mapping name="monospace" font-family="Helvetica" />
<mapping name="cursive" font-family="Courier" />
<mapping name="fantasy" font-family="Courier" />
</font-aliases>
<composite-font name="all-fonts" font-family="Arial">
</composite-font>
<font-paths>
<path path="/usr/share/fonts/msttcore" />
</font-paths>
<font-encodings>
<encoding font-family="Arial" encoding="UTF-8" />
<encoding font-family="Courier" encoding="UTF-8" />
<encoding font-family="Helvetica" encoding="UTF-8" />
</font-encodings>
</font>
BIRT version: 4.6.0
JDK: 1.8
OS(with server and designer): CentOS Linux release 7.5.1804
MS core fonts installed.
AS: Weblogic 12.2.1.3
-
Attachment: app-pdf.png
(Size: 38.84KB, Downloaded 853 times)
[Updated on: Fri, 14 September 2018 16:10] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03760 seconds