Jump to content
Vaaish

Dashed stroke PDF Export problem

Recommended Posts

I have two duplicated pages with identical stroke settings and geometry for the long rays around the balloon that display identically in Designer. The problem occurs when I export a PDF and the dash at the end of the rays on the all black version are shorter than the color version. 

The screenshot shows how it looks in Designer and the PDF shows what happens when I export it.

 

Jokers_RD01a.pdf

Screenshot 2018-09-11 20.46.58.png

Share this post


Link to post
Share on other sites

Maybe I just do not know where to look for the difference, but they seem to me the same (same as color version, same as Designer).


Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.0.585.
Windows 10 Pro, Version 1909, Build 18363.720.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Share this post


Link to post
Share on other sites

For clarification, it's the bit circled in red here that's different. The shot in Designer shows these to be identical, but the PDF attached above displays and prints the dash terminus on the back version much shorter than it should.

clarification.jpg

Share this post


Link to post
Share on other sites

This will be shown in Chrome.

2018-09-12_160740.png.03dc8ced16736c75def42d7a4f313545.png

In Acrobat Reader it looks like you said.

How do you have these segments done?

 


Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.0.585.
Windows 10 Pro, Version 1909, Build 18363.720.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Share this post


Link to post
Share on other sites

It looks wrong on Chrome too, like it's splitting the stroke but it's close together. The setting I have in Designer for those are a single dashed line with 60, 3, 1, 0 phase -6 which is the same as the colored one that shows up correctly. 

Share this post


Link to post
Share on other sites
4 hours ago, Vaaish said:

dashed line

I think it's better to draw segments exactly to suit your needs. With the display and interpretation of a dashed line, it may be a problem.


Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.0.585.
Windows 10 Pro, Version 1909, Build 18363.720.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Share this post


Link to post
Share on other sites

I'd disagree unless the piece is finished art. I can expand the stroke if I have to too, but since this piece is still in production, it gives you less flexibility and fine control of the gaps especially for on the fly adjustments.... and none of that negates that there appears to be a bug in the PDF export of them, hence my original post. :)

Share this post


Link to post
Share on other sites

Hi Vaaish,

Without an AFDesign I really cannot say for sure, but for whatever reason the colour lines are being converted to curves on export, which is why the issue is not affecting them. Would you be able to attach the AFDesign file please, so we can investigate!

However even looking at the differences between how Chrome and Acrobat renders the PDF shows me that the PDF implementation of dashed lines isn't exactly a 'standard'.

Share this post


Link to post
Share on other sites
On 9/13/2018 at 11:45 AM, Sean P said:

differences between how Chrome and Acrobat renders

In Office Suite Pro (Android) is rendered like Chrome, apparently they use the same library.

 

On 9/13/2018 at 11:45 AM, Sean P said:

PDF implementation of dashed lines isn't exactly a 'standard'.

That's why I recommended not to use dashed lines, the result will always be insecure and browser/render-dependent.


Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.0.585.
Windows 10 Pro, Version 1909, Build 18363.720.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Share this post


Link to post
Share on other sites

Hi Vaaish,

The reason the colour one is being output and looks correctly as I said above is because it is being expanded to a regular curves object on export. This is because it contains a gradient, which I presume is due to it not being supported on stroke fills in PDFs.

I'll see if development can improve the dashed export to PDF, however be warned that as Pšenda and myself said sometimes applications can interpret these things differently.

Share this post


Link to post
Share on other sites
On 9/12/2018 at 6:29 PM, Vaaish said:

For clarification, it's the bit circled in red here that's different. The shot in Designer shows these to be identical, but the PDF attached above displays and prints the dash terminus on the back version much shorter than it should.

clarification.jpg

It is not looking perfect line..


Daniel Dixon

PHP Developer

Share this post


Link to post
Share on other sites
3 hours ago, Sean P said:

This is because it contains a gradient

Just add a similar gradient to the black version :-)


Affinity Store: Affinity Suite (ADe, APh, APu) 1.8.0.585.
Windows 10 Pro, Version 1909, Build 18363.720.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.