Jump to content
You must now use your email address to sign in [click for more info] ×

Thin Shapes with a Thin Inside Dashed Stroke Fail to Export to PDF Causing Affinity Apps to Hang


Recommended Posts

I'm unsure if this is already logged...

Thin Shapes, e.g., a Rectangle with a height of 0.2 mm or a Pie with a whole radius of 99.9% will hang the Affinity apps and fail to both Preview and Export to PDF when a thin dashed inside stroke is applied to the shape, e.g., 0.01 pt and even 0.1 pt...

I've not yet tested the point at which this no longer fails as there are too many variables, shape height, line thickness, dash length, dash gap etc., but I've attached two sample files, Line Inside Stroke.afpub and Line Centre Stroke.afpub, the rectangles have a fill and a range of thin dashed strokes applied.

Attempting to export Line Inside Stroke.afpub to a PDF file fails to Preview and Export resulting in Publisher (Designer and Photo) hanging, requiring a Force Quit, Line Centre Stroke.afpub exports to PDF without issue...

Line Inside Stroke.afpub exports to any raster file format without issue but fails to export to any vector file format, i.e., PDF, SVG, EPS and so on.

Line Inside Stroke.afpub

Line Centred Stroke.afpub

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

  • Staff

Hi @Hangman,

I don't think this is logged from what i can see, but i double check with QA.

Bit odd this one, if i start a New Document and create 2mm high rectangle, with an inside dashed stroke, the PDF Export Preview does show up after a small delay and the export completes.  If i duplicate the shape a number of times, the preview then takes a bit longer to show up.  However, with your file, i've left it good 10+ minutes and the preview hasn't showed up and if i try to export, it hangs.  So i think theres a bit more to it than just the small shape and dashed line style.  I'll poke it some more and get this logged :) 

Link to comment
Share on other sites

Hi @stokerg,

Thanks for confirming re the status, i.e., not yet logged…

I should have said 0.2 mm rather than 2 mm height, that fails from the outset as does creating a pie shape and making the inner radius around 99.9%, so basically very thin shapes… I’m unsure the thickness required before it no longer fails…

This all came about as a result of this post…

 

24 minutes ago, stokerg said:

I think theres a bit more to it than just the small shape and dashed line style.  I'll poke it some more and get this logged.

I’m sure you’re right though I've not experimented further as yet since simply changing the inner stroke to a centred stroke rectified the issue instantly…

Many thanks for poking and logging in the meantime… :)

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

Hi @stokerg,

I was able to export the first file without any issues.

Lenovo IdeaPad 5 Ryzen 7 5700U Rx Vega 8 graphics 

16GB RAM (15.3 usable) 

Acer KB202 27in 1080p monitor

Affinity Photo 1.10.6

Affinity photo 2 2.4.2 Affinity Designer 2 2.4.2 Affinity Publisher 2 2.4.2 on Windows 11 Pro version 23H2

Beta builds as they come out.

canon 80d| sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | Tamron SP AF 28-75mm f/2.8 XR Di LD | Canon EF-S 10-18mm f/4.5-5.6 IS STM Autofocus APS-C Lens, Black

 

Link to comment
Share on other sites

1 hour ago, tzvi20 said:

I was able to export the first file without any issues.

Hi @tzvi20,

That's interesting...

I assume by the first file you mean Line Inside Stoke.afpub rather than Line Centre Stroke.afpub?

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

yes

Lenovo IdeaPad 5 Ryzen 7 5700U Rx Vega 8 graphics 

16GB RAM (15.3 usable) 

Acer KB202 27in 1080p monitor

Affinity Photo 1.10.6

Affinity photo 2 2.4.2 Affinity Designer 2 2.4.2 Affinity Publisher 2 2.4.2 on Windows 11 Pro version 23H2

Beta builds as they come out.

canon 80d| sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | Tamron SP AF 28-75mm f/2.8 XR Di LD | Canon EF-S 10-18mm f/4.5-5.6 IS STM Autofocus APS-C Lens, Black

 

Link to comment
Share on other sites

10 hours ago, tzvi20 said:

yes

  1. Is that with any PDF preset, excluding PDF (flatten)?
  2. Do you see an instant Preview and Estimated File Size?
  3. Does the same file export to SVG and EPS without issue as well?

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

  • Staff

Hi @tzvi20,

17 hours ago, tzvi20 said:

I was able to export the first file without any issues.

That is interesting!  Can you remember what the Rasterise option was set to on the Export window?  I've found in my tests this morning that when Rasterise is set to Everything the file will preview/export fine.  The trouble seems to happen when the Rasterise option is set to Nothing or Unsupported Properties.

 

Link to comment
Share on other sites

Hi @stokerg,

1 hour ago, stokerg said:

That is interesting!  Can you remember what the Rasterise option was set to on the Export window?  I've found in my tests this morning that when Rasterise is set to Everything the file will preview/export fine.  The trouble seems to happen when the Rasterise option is set to Nothing or Unsupported Properties.

That makes sense to me in terms of the issue itself because exporting the file using the PDF (flatten) preset will also export the file without issue. The file will export to all raster-based file formats, JPEG, PNG, TIFF and so on...

However, It won't export to any vector formats, PDF, SVG, EPS etc...

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

 I did do line centered stroke to export yesterday but now it is hanging. Line inside stroke does not cause a hang but does not export.

Line Centred Stroke.pdf I was using 1.7.

Screenshot 2024-03-20 084550.png

Lenovo IdeaPad 5 Ryzen 7 5700U Rx Vega 8 graphics 

16GB RAM (15.3 usable) 

Acer KB202 27in 1080p monitor

Affinity Photo 1.10.6

Affinity photo 2 2.4.2 Affinity Designer 2 2.4.2 Affinity Publisher 2 2.4.2 on Windows 11 Pro version 23H2

Beta builds as they come out.

canon 80d| sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | Tamron SP AF 28-75mm f/2.8 XR Di LD | Canon EF-S 10-18mm f/4.5-5.6 IS STM Autofocus APS-C Lens, Black

 

Link to comment
Share on other sites

Hi @stokerg,

That's perfect, many thanks for replicating and for logging... :) 

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

17 minutes ago, tzvi20 said:

Line inside stroke does not cause a hang but does not export.

Doesn't your screengrab show that Publisher has 'hung'... The app doesn't crash, it only hangs resulting in a Force Quit because the app becomes unresponsive.

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

Line inside stroke does not export today, and line centred stroke causes a hang.

Lenovo IdeaPad 5 Ryzen 7 5700U Rx Vega 8 graphics 

16GB RAM (15.3 usable) 

Acer KB202 27in 1080p monitor

Affinity Photo 1.10.6

Affinity photo 2 2.4.2 Affinity Designer 2 2.4.2 Affinity Publisher 2 2.4.2 on Windows 11 Pro version 23H2

Beta builds as they come out.

canon 80d| sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | Tamron SP AF 28-75mm f/2.8 XR Di LD | Canon EF-S 10-18mm f/4.5-5.6 IS STM Autofocus APS-C Lens, Black

 

Link to comment
Share on other sites

Just now, tzvi20 said:

Line inside stroke does not export today, and line centred stroke causes a hang.

Weird... Do you see an export preview along with an estimated file size for the Line Centred Stroke?

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2430) | Affinity Photo Beta 2.5.0 (2430) | Affinity Publisher Beta 2.5.0 (2430)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

did not see a preview before exporting.

Lenovo IdeaPad 5 Ryzen 7 5700U Rx Vega 8 graphics 

16GB RAM (15.3 usable) 

Acer KB202 27in 1080p monitor

Affinity Photo 1.10.6

Affinity photo 2 2.4.2 Affinity Designer 2 2.4.2 Affinity Publisher 2 2.4.2 on Windows 11 Pro version 23H2

Beta builds as they come out.

canon 80d| sigma 18-200mm F3.5-6.3 DC MACRO OS HSM | Tamron SP AF 28-75mm f/2.8 XR Di LD | Canon EF-S 10-18mm f/4.5-5.6 IS STM Autofocus APS-C Lens, Black

 

Link to comment
Share on other sites

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.