Jump to content

Recommended Posts

Posted

Hello, I’m trying to create a business card with the dimensions 85x58mm.

However, the exported PDF is always 85.1x58.1mm. I really don’t understand it.

Is this a feature or a bug? I can’t upload the document to the printer because it’s too large.

 

Version: 2.5.7 macOS 15.2

Posted

Affinity rounds up to whole pixel. 

You can see the issue when you activate pixel view mode, and simply create a red rectangle covering the whole canvas. You will see a lighter red seam at the right and bottom, caused by a fractional pixel. At exports, this gets rounded up and causes the extra size.

To avoid, you may play with the DPI setting which avoids fractional pixel based on the given size in mm.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
2 hours ago, dcmartns said:

the exported PDF is always 85.1x58.1mm

Are you sure these are objectively accurate values? Where do you read this PDF page size? Attached a 85x58 mm PDF, open this file in APub and check its sizes. It appears Apple's Preview.app reports another size than APub and Acrobat, maybe that's how it rounds decimal numbers.

Since PDF has the unit 'points' * there is no absolutely perfect size in mm because of PDF doesn't create fractions of points, so it results in fractions of mm, for instance for the mediabox of the attached PDF (but still less than additional 0.1 mm).

85x58.pdf    Bildschirmfoto2024-12-22um17_30_01.jpg.470748828889f3166e7e1dd30b4469d9.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Posted (edited)

It is true that Adobe Acrobat Reader sometimes displays the correct size. However, when I try to upload the PDF for a print job, it gets rejected because the size is incorrect.

I have previously created many print products with Adobe InDesign and have never encountered such behavior.


... And how, please, can a print product not be measured in millimeters?

Edited by dcmartns
Posted

Adobe uses points (= 1/72") as internal unit for its calculations and for PDF. 
Affinity seems to use pixels internally. 
None of these converts exactly in mm, thus small rounding errors occur. 

Cells in grey are rounded:

image.png.8314790615aba6f14b4ca6d743857794.png

 

You can go to Document setup, change the unit to pixels and try to round down the size of your document to an exact number of pixels (for conveniency don't rescale anything else). 

The difference will be almost unnoticeable but automated processes shouldn't reject your file anymore.

image.png.2ceaa84334a3b727b24b32ff2f786d6a.png

Affinity Suite 2.5 – Monterey 12.7.5 – MacBookPro 14" 2021 M1 Pro 16Go/1To

I apologise for any approximations in my English. It is not my mother tongue.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.