RB 12 Text/Image Quality

General TRichView support forum. Please post your questions here
Post Reply
zkalk
Posts: 4
Joined: Tue Aug 04, 2015 10:12 am
Contact:

RB 12 Text/Image Quality

Post by zkalk »

We're using TRichView with Report Builder 12.04 to print richtext with images from our database application.

In preview, and printing to normal printers, text and image quality is fine.

However when printing with the RB 12 PDF device the text quality of TppRichview and TppDBRichView field is bad.

do you have any suggestions how we can fix that?

Example pdf and preview image:
http://expirebox.com/download/4dce21450 ... fa888.html
zkalk
Posts: 4
Joined: Tue Aug 04, 2015 10:12 am
Contact:

Post by zkalk »

Short unrelated question:

how can we set the default font to use if the trichview is fed unformatted text (ascii)
it currently defaults to helvetica, which doesn't fit the rest of the reports.
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The top text ("this is the TppRichView") is exported to PDF as text, it has a good quality in any zooming.
The bottom text ("this is the TppRichText") is exported to PDF as a bitmap, so it does not look good when zooming in or printed.

Probably, texts are mislabeled?

To export ppRichView not as bitmap, include ppPDFRendererRV in your project.
Note that RB 12 is too old, it has several problems with PDF generations that were fixed later.
zkalk
Posts: 4
Joined: Tue Aug 04, 2015 10:12 am
Contact:

Post by zkalk »

Thank you Sergey, including ppPDFRendererRV fixed our problem!

Could you please also answer my second question regarding the default font?
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The answer depends on where you enter the text.
In TRichViewEdit where you completely implemented user interface?
In RichViewActions?
In TRichViewEdit or in TDBRichViewEdit?
Do you use StyleTemplates?
zkalk
Posts: 4
Joined: Tue Aug 04, 2015 10:12 am
Contact:

Post by zkalk »

We're not using StyleTemplates, and use TDBRichViewEdit and TRichViewEdit.
Sergey Tkachenko
Site Admin
Posts: 17562
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you do not use StyleTemplates, then, when creating a new document, clear all TextStyles, and add a new TextStyle with the desired properties.
In TDBRichViewEdit, do it in OnNewDocument event.
Post Reply