You are not logged in.
Hello Arnaud,
I have opened a pull request with four fixes in mormot.ui.pdf, found while
exporting label sheets (TMetaFile recorded in MM_ANISOTROPIC, 0.1 mm
logical units, screen reference DC):
1. colour-keyed bitmaps (EMR_TRANSPARENTBLT) lose their transparency
when ForceJPEGCompression is set;
2. RoundRectI corners about twice too large (no window/viewport ratio);
3. rectangles and ellipses too small (one logical unit removed instead
of one device pixel added);
4. FillRect losing one logical unit (thin QR code modules, gaps).
https://github.com/synopse/mORMot2/pull/686
The same fixes have been in production with mORMot 1.18 SynPdf here.
Before / after screenshots are in the pull request.
Thanks for mORMot and for SynPdf, which we have used for years.
KoXo
Offline