Page 1 of 1
RB 12 Text/Image Quality
Posted: Tue Aug 04, 2015 10:56 am
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
Posted: Tue Aug 04, 2015 12:29 pm
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.
Posted: Tue Aug 04, 2015 1:20 pm
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.
Posted: Wed Aug 05, 2015 6:38 am
by zkalk
Thank you Sergey, including ppPDFRendererRV fixed our problem!
Could you please also answer my second question regarding the default font?
Posted: Wed Aug 05, 2015 7:52 am
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?
Posted: Thu Aug 06, 2015 6:09 am
by zkalk
We're not using StyleTemplates, and use TDBRichViewEdit and TRichViewEdit.
Posted: Thu Aug 06, 2015 6:27 pm
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.