Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas graphics from TPrintPreview distorted #20

Open
borisneubert opened this issue Nov 30, 2017 · 0 comments
Open

Canvas graphics from TPrintPreview distorted #20

borisneubert opened this issue Nov 30, 2017 · 0 comments

Comments

@borisneubert
Copy link

Hi,

a simple canvas graphics created with RoundRect and LineTo and written to PDF with SynPDF is distorted when created from a TPrintPreview.

Please find attached in SynPDFTester.zip a minimal program to reproduce the issue plus two sample PDF files to illustrate the issue: test_metafile.pdf is directly created from a canvas graphics in a metafile (correct), test_preview.pdf is created indirectly from a canvas graphics from a print preview.

I use the TPrintPreview component from here: DelphiArea which in turn uses SynPDF for creating PDF files from previews. TPrintPreview internally also uses metafiles to render and store the pages for preview. The preview on screen is right but the PDF created from the metafile is not.

Best regards,
Boris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant