sorry about my English. I have used TPrintPreview component for years and it is absolutely perfect.
I have small problem with windows 7,8 font scaling (120%, 150%,.....).
My application displays special formated text from RichEdit to PrintPreview.
Canvas Width, Height, Margins I have in PageDialog.
- Code: Select all
PrintPreview1.BeginDoc;
PrintPreview1.PaintRichText(PageDialog, RichEdit1, 1, nil);
PrintPreview1.EndDoc;
Everything works fine but if user sets windows scaling for example 150% - font are smaller in comparison with forms and my special text is wrong.
Is there some possibility how to adjust PrintPreview depending on the font scaling?
I used your DEMO (General Demo) and you can see the different in attachment - 100% and 150%.
Thank you for help.
RM.