I don't quite understand why the size in pixels of the requested PDF "size" isn't the size (in pixels) of the actually stored PDF. It seems like a ratio of 72/288 fixes it. I reckon the PDF is in 72DPI, but the rendering in chrome happens at 288 (so 2x144)?? 96 DPI instead of 72 gives wrong results.
I don't quite understand why the size in pixels of the requested PDF "size" isn't the size (in pixels) of the actually stored PDF. It seems like a ratio of 72/288 fixes it. I reckon the PDF is in 72DPI, but the rendering in chrome happens at 288 (so 2x144)?? 96 DPI instead of 72 gives wrong results.