Calibri Light font + bold weight in Berlin and Rio seems to causes problems
Hi!
Delphi 10.1 Berlin + RB 17.02 Build 149 - Also happens in 10.3 Rio + RB 20.02 Build 67
I am having problems using the "Calibri Light" font in a few reports that we have created over time.
Please find screenshots shorturl.at/hwxTY and shorturl.at/cmINU.
The first screenshot shows a preview of the report in the application where as the second shows the end result on printing via the default MS PDF printer.
As you can see, the preview overflows where as the print does not. It is also worth noting that if you print the report on paper, it will yet be different than the MS PDF Printer (by a few pixels, but still. Link: shorturl.at/pKPW8)
The main problem here is that this seems to be the only font showing this behaviour and it is certainly the only one where this behaviour is glaring enough that it is noticeable.
There are a few things that carachterise this behaviour as a bug:
1) If you use a large enough text the problem disappears
2) If you don't use a bold font weight the problem disappears almost completely at any text length
3) Other fonts don't seem to have a problem
Can you please advise what the best way to address this is?
Thank you!
Delphi 10.1 Berlin + RB 17.02 Build 149 - Also happens in 10.3 Rio + RB 20.02 Build 67
I am having problems using the "Calibri Light" font in a few reports that we have created over time.
Please find screenshots shorturl.at/hwxTY and shorturl.at/cmINU.
The first screenshot shows a preview of the report in the application where as the second shows the end result on printing via the default MS PDF printer.
As you can see, the preview overflows where as the print does not. It is also worth noting that if you print the report on paper, it will yet be different than the MS PDF Printer (by a few pixels, but still. Link: shorturl.at/pKPW8)
The main problem here is that this seems to be the only font showing this behaviour and it is certainly the only one where this behaviour is glaring enough that it is noticeable.
There are a few things that carachterise this behaviour as a bug:
1) If you use a large enough text the problem disappears
2) If you don't use a bold font weight the problem disappears almost completely at any text length
3) Other fonts don't seem to have a problem
Can you please advise what the best way to address this is?
Thank you!
Comments
ReportBuilder uses the default printer to measure text and graphics, then scales these values for the screen which is typically lower resolution. For this reason, the screen output and printed output are not always matched at certain zoom levels or for certain fonts. See the article below for more information.
http://rbwiki.digital-metaphors.com/output/preview/why-preview-may-not-match-printed-output/
1. Try changing your default windows printer and see if you get a better result.
2. Try exporting to PDF using the built-in PDF device.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com