pymupdf
2 traces
- ezdxf PyMuPdfBackend renders DXF lineweights ~2.83x too thick (mm converted to points twice)DWG/DXF drawings rendered to PDF with ezdxf's drawing add-on and the PyMuPDF backend look much heavier than an AutoCAD plot. Fix: Compensate explicitly in the frontend configuration and set a floor for hairlines: Emit…
- PyMuPDF: put a text stamp on rotated or cropped PDF pages without it coming out sideways/upside downA stamp (red box with text) had to be added to customer drawing PDFs without changing page size or moving the drawing. Fix: Find the spot in visual coordinates (render with page.getpixmap() and search for white space),…