SynEditPrint using DirectWrite #130
Replies: 3 comments 13 replies
-
How is it with DirectWrite and Windows XP support? |
Beta Was this translation helpful? Give feedback.
-
I've checked out the demo and it works on my Windows 11 test machine. I ran into some issues integrating it with my homemade print preview system which is based on TMetaFileCanvas. I suspect that DirectWrite isn't compatible with it. I wrote it so long ago that I can't remember why it uses that technique, so it's probably time to look into updating it. I can definitely see that DirectWrite has some nice advantages, and that your changes fix the "wrapped last line on page" issue that I had a rather poor workaround for. Nice! |
Beta Was this translation helpful? Give feedback.
-
I have found a way to resolve the preview text rendering quality issues. I think it is now OK. This was a good opportunity to learn how DirectWrite works. I can now move to the DWrite implementation of SynEdit. |
Beta Was this translation helpful? Give feedback.
-
I have started the DirectWrite implemention in the the branch DWrite.
So far I have completed the implementation of SynEditPrint using DirectWrite. It now handles WordWrap correctly and the code is much simpler (25% less code).
@MShark67 @JaFi-cz Could you please test using the new Print/PrintPreview demo?
Beta Was this translation helpful? Give feedback.
All reactions