BIRT PDF document encoding

Hi Guys -


 


 I am using Birt 2.6.0. I want to know the encoding type that is used to generate the PDF document? And, is there any way by which I can generate using UTF-8 encoding?


 


Many Thanks in Advance,


Naveen.


Comments

  • Take a look in your fontsConfig_pdf.xml in plugins/org.eclipse.birt.report.engine.fonts_version.

    Regards,

    Michael Williams

    eSignLive Evangelism & Community Manager | eSignLive by VASCO
     
    Find me on:
    Twitter
    Facebook
    Blog

    LinkedIn

    eSignLive Developer Community
     
    Email me:
    Google: [email protected]

  • Hi Michael -

     

     Thanks for your reply. Attached is the contents from fontsconfig_pdf.xml file. can you please suggest the change to generate in UTF-8?


     


    fontsConfig_pdf.xml:


     


    <?xml version="1.0" encoding="UTF-8"?>

    <font>

        <font-aliases>

            <mapping name="serif" font-family="Times-Roman" />

            <mapping name="sans-serif" font-family="Helvetica" />

            <mapping name="monospace" font-family="Courier" />

        </font-aliases>

        <font-encodings>

            <encoding font-family="Times-Roman" encoding="Cp1252" />

            <encoding font-family="Helvetica" encoding="Cp1252" />

            <encoding font-family="Courier" encoding="Cp1252" />

            <encoding font-family="Zapfdingbats" encoding="Cp1252" />

            <encoding font-family="Symbol" encoding="Cp1252" />

            <encoding font-family="STSong-Light" encoding="UniGB-UCS2-H" />

            <encoding font-family="STSongStd-Light" encoding="UniGB-UCS2-H" />

            <encoding font-family="MHei-Medium" encoding="UniCNS-UCS2-H" />

            <encoding font-family="MSung-Light" encoding="UniCNS-UCS2-H" />

            <encoding font-family="MSungStd-Light" encoding="UniCNS-UCS2-H" />

            <encoding font-family="HeiseiMin-W3" encoding="UniJIS-UCS2-H" />

            <encoding font-family="HeiseiKakuGo-W5" encoding="UniJIS-UCS2-H" />

            <encoding font-family="KozMinPro-Regular" encoding="UniJIS-UCS2-H" />

            <encoding font-family="HYGoThic-Medium" encoding="UniKS-UCS2-H" />

            <encoding font-family="HYSMyeongJo-Medium" encoding="UniKS-UCS2-H" />

            <encoding font-family="HYSMyeongJoStd" encoding="UniKS-UCS2-H" />

        </font-encodings>

        <composite-font name="all-fonts">

            <font font-family="Times-Roman" catalog="Western" />

            <font font-family="MSung-Light" catalog="Chinese" />

            <font font-family="HeiseiKakuGo-W5" catalog="Japanese" />

            <font font-family="HYGoThic-Medium" catalog="Korean" />

        </composite-font>

    </font>



     

    Thanks In Advance,

    Naveen.


  • My guess would be to change the encoding from cp1252 to utf-8 in the <font-encoding> section for the font family you're using. If the font family you're using isn't there, you would probably need to add it.


    Regards,

    Michael Williams

    eSignLive Evangelism & Community Manager | eSignLive by VASCO
     
    Find me on:
    Twitter
    Facebook
    Blog

    LinkedIn

    eSignLive Developer Community
     
    Email me:
    Google: [email protected]

Sign In or Register to comment.