Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Portuguese accent in pdf exported

edited September 2016 in General
Hi

with Delphi XE and Rep Builder 17.02, portuguese accents are printed ok
in print preview and when sent to printer.

But when is exported to pdf, they are not printed ok.

ãÃÕõÍÉ are characters with problem.

Sergio



--

Comments

  • edited September 2016
    Hi Sergio,

    In order to export Unicode characters to PDF, you need to set the
    TppReport.PDFSettings.FontEncoding to feUnicode. This is a published
    property so it can be set in the object inspector or in code.

    When exporting from the print dialog, you can select the "Advanced"
    option for PDF and select Unicode export as well.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2016
    Nico Cizik (Digital Metaphors) wrote:


    Thanks

    setting

    TppReport.PDFSettings.FontEncoding:= feUnicode

    problem solved.

    For EXCEL export, to have header aligned with columns, is there any
    hint?

    Thanks

    Sérgio
  • edited September 2016
    Hi Sergio,

    In the future, for a new question please start a new thread :)

    For XlsReport/XlsxReport configure the header and detail elements for a
    column to

    - AutoSize False
    - same Left and Width
    - same TextAlignment


    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2016
    Nard Moseley (Digital Metaphors) wrote:


    Thanks

    I will try and let you know if problem solved.

    You are right for new thread. It´s helps other to find solutions.

    Best regards.

    Sergio

    --
This discussion has been closed.