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

Barcode and RichText dimension in PDF output

edited August 2011 in Devices
Good morning,
my company is now using RB 11.08 enterprise with D2010 and did not have
almost any problem so far.

We need to output reports in PDF for our client in the United Arab
Emirates, with some Arabic text and barcodes, too.
The main issue is the Unicode support, so we are planning the migration
to RB 12.

I downloaded the trial version (12.05) to perform few tests and I am not
able to print correctly a barcode in the PDF document: it seems to be
generated with a bigger font and barcode covers a lot of the page. I get
the same result if I try to use a rich text edit: the font size "grows
up" in the pdf document.

The steps to reproduce the issue are:
1. open the Demo project under "..\Delphi 2010\Demos\1. Reports";
2. edit the report "108" (dm0108.pas) adding a TppDBBarCode
to the detail band linked to field "Species No";
3. add a TppRichText anywhere with some text in it;
4. execute the demo project opening the report 108.

You will see that the preview of the report is correct, but if you
generate ("Go!") the pdf document it will contain the "big font" barcode
and text.

Might this be a "trial version" feature limitation?

Note that RB 11 is managing correctly the barcode and the rich text
through the PDF device (except for the Unicode characters), so we will
not upgrade to RB 12 if the issue pointed is resolved.

Thank you in advance

Ettore Bottega

P.S. I installed the trial version on a "cleaned" delphi environment
(with all the report builder units deleted from the system following the
"Cleaning Up a Corrupt Install" tech tips).

Comments

  • edited August 2011
    Hi Ettore,

    There is a patch available that fixes this issue. Please send an email
    to support@digital-metaphors.com and we'll give you the patch as soon as
    possible. Sorry for the inconvenience.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2011
    Hi Nico,
    the patch is working fine for barcode and rich text dimension
    rendering: I thank you very much for your availability.

    There is only a problem on the rich text: when right-to-left Unicode
    characters (Arabic or Hebrew for instance) are used, they are not
    displayed correctly when printing to Pd f device (but are previewed fine).
    Note that other 'Unicode fonts' (Chinese, Japanese, which are
    left-to-right) used in a rich text are printed correctly to PDF.

    This is not actually a blocking issue, since it can be bypassed using
    few labels and memos (which support the left-to-right), but I think it
    should be better to post it as to be scheduled for solution.

    Thank you again

    Ettore


    Il 08/08/2011 14:42, Nico Cizik (Digital Metaphors) ha scritto:
  • edited August 2011
    Thanks Ettore,

    I will research this and get back to you.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.