Jump to content
GarryP

Dashed curves are not always drawn nicely

Recommended Posts

Windows 10 Home 1903, Designer 1.7.1.404.

Some people might think this as being too picky but others might think it is a major problem for them so I’ll report this as a bug and see what happens.
The attached GIF shows the problem much better than I could explain it. Watch how the dashes on the curve change shape. Sometimes they’re fine but at other times they look really bad. Modifying the curve or zooming in/out alter how the curve is drawn.

This bug report comes from this forum thread: https://forum.affinity.serif.com/index.php?/topic/95564-minsk-tramway-incl-metro-transit-diagram/

line-with-dashed-stroke.afdesign

line-with-dashed-stroke.gif

Share this post


Link to post
Share on other sites

Thanks Sean.
I have no idea what I think it should do – e.g. should the outside of the marks on the bend stay the same width as those on the straight or should they expand to keep the gap size the same, and then what happens to the inside of the marks, should they keep the same width or shrink – but the developers will have a much better idea than me.

Share this post


Link to post
Share on other sites
21 minutes ago, GarryP said:

I have no idea what I think it should do

I think it should do what it seems to do most of the time — i.e. the outside of the marks on the bend should expand to keep the gap size the same, and the inside of the marks should shrink — but it should do this consistently so that there are no marks which are out of step with the marks on either side. In the attached example (previously posted to the linked Minsk tramway thread)  four of the five highlighted marks are thinner on the right, but the one which is second from the bottom is rectangular.

F62383E7-67A7-4BF7-A2C5-F2CD06C8D177.jpeg.816cfa4fee782f9b817c7554c92079f2.jpeg


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.3.155 • Designer for iPad 1.7.3.1 • iPadOS 13.2.2 (iPad Air 2)

Share this post


Link to post
Share on other sites

Alfred: What you’re saying is what I thought at first until I started to think about it a bit more.
The attached image shows four different ways of doing it, some more horrible-looking than others.
I think it depends on what the user might want at any given time.
What’s more important to them? The gap size, inside or out, or the width of the dash at either end?
They have specified both a gap size and a dash size so which should be ‘sacrificed’ by the software and how should it make the choice?
For me personally, I would generally prefer option 2 (it just looks nicer to me) but there may be times when option 1 is better, even though there’s an optical illusion going on where the inside widths look larger than those on the outside.
Options 3 and 4 (both crude mock-ups) look horrible to me but they have their own ‘self-consistencies’ that someone might want under certain circumstances (different curves make for different circumstances).
Someone has to make the choice, so who makes the choice (developer/user), which do they choose (keep gap or dash width), and how (an option somewhere perhaps), and why (under which circumstances)?
It’s a bit more complicated than it seems at first.

dashes-on-curves.png

Share this post


Link to post
Share on other sites
28 minutes ago, PixelPest said:

In the meantime you might want to try out this

Optically, you need to have the tracking adjusted for the characters at the angle, so the middle of the characters is the same distance that between other characters.

Share this post


Link to post
Share on other sites
5 minutes ago, Wosven said:

Optically, you need to have the tracking adjusted for the characters at the angle, so the middle of the characters is the same distance that between other characters.

Sure I did - but you can insert blanks to - and have full control over spacing. So not too bad i guess.

Share this post


Link to post
Share on other sites
3 minutes ago, PixelPest said:

Sure I did - but you can insert blanks to - and have full control over spacing. So not too bad i guess.

What @Wosven is saying — and I agree with her — is that the distance between the characters on the bend needs to be the same at the middle. In your ‘ArtText’ example the distance is the same at the base, so the middles are too far apart.


Alfred online2long.gif
Affinity Designer/Photo/Publisher 1.7.3.481 • Windows 10 Home (4th gen Core i3 CPU)
Affinity Photo for iPad 1.7.3.155 • Designer for iPad 1.7.3.1 • iPadOS 13.2.2 (iPad Air 2)

Share this post


Link to post
Share on other sites

It looks better.

The first one is like this (it's more evident when looking at small files or thumbnail to check the overal grey: the top is a lighter grey):

2019-08-22_195428.png.f34e65769a468955ac95778b57a9fd55.png

New one:

2019-08-22_195515.png.cea02464973038045231f7e9cb742279.png

Perhaps there should be one more "I" in the corner... the problem with perception is you spend a lot of time fine tuning... strangely, (I didn't  count the I), the top left and bottom right corner seem better.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

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.