Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Problem with character encoding (?) [in app & in designer] [Solved]
Problem with character encoding (?) [in app & in designer] [Solved] [message #1791437] Fri, 29 June 2018 10:05 Go to next message
Sebastian Krupa is currently offline Sebastian KrupaFriend
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 13 times)

[Updated on: Fri, 14 September 2018 16:10]

Report message to a moderator

Re: Problem with character encoding (?) [in app & in designer] [message #1795107 is a reply to message #1791437] Fri, 14 September 2018 16:09 Go to previous message
Sebastian Krupa is currently offline Sebastian KrupaFriend
Messages: 10
Registered: June 2018
Junior Member
Fix here: https://www.eclipse.org/forums/index.php/m/1793187/
Previous Topic:Problem with national letters in BIRT 4.6.0-20160607 [Solved]
Next Topic:Birt 4.7 / 4.8
Goto Forum:
  


Current Time: Sun Nov 18 08:21:33 GMT 2018

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

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

Back to the top