Open JakobFangmeier opened 2 years ago
RF currently doesnt take the mediaBox into account to position the pdf asset.
APDFPage
has support to retrieve bounds for each display box:
https://developer.apple.com/documentation/pdfkit/pdfpage/1504213-boundsforbox?language=objc
and the position has to be adjusted here: https://github.com/typemytype/drawbot/blob/master/drawBot/context/pdfContext.py#L281-L285
this goes maybe together with this unsolved PR https://github.com/typemytype/drawbot/pull/304
Placing a PDF in Drawbot does not respect the mediaBox.
Expected result, as replicated in Illustrator:
Actual result in Drawbot: