TRichView printing
We have made a TRichView (www.trichview.com) support component for use in
ReportBuilder (Piparti). The preview is now working reasonably well, but
with the printing, while the page starts in the correct position after the
report header and ends without writing over the report footer, the font is
way larger than it should be. Embedded pictures are drawn at the correct
position and size and a table's frame is also correct in position and size,
so we seem to have the scaling correct - it's just the @#$ font! The page is
being drawn to ReportBuilder's printer canvas and not directly to the actual
printer canvas, but it's canvas is being set to the correct font style on
TextOutA in TRichView's TFontInfo.Draw, so it seems to be some sort of
canvas setting, or probably more likely, ReportBuilder is doing some sort of
stretch copy to the actual printer canvas that is scaling the graphics, but
not the fonts.
Any suggestions?
ReportBuilder (Piparti). The preview is now working reasonably well, but
with the printing, while the page starts in the correct position after the
report header and ends without writing over the report footer, the font is
way larger than it should be. Embedded pictures are drawn at the correct
position and size and a table's frame is also correct in position and size,
so we seem to have the scaling correct - it's just the @#$ font! The page is
being drawn to ReportBuilder's printer canvas and not directly to the actual
printer canvas, but it's canvas is being set to the correct font style on
TextOutA in TRichView's TFontInfo.Draw, so it seems to be some sort of
canvas setting, or probably more likely, ReportBuilder is doing some sort of
stretch copy to the actual printer canvas that is scaling the graphics, but
not the fonts.
Any suggestions?
This discussion has been closed.
Comments
us with a demo of the wrapper for the component to try out in order to
examine the problem.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com