Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch vineyard to SVG #2749

Closed
wants to merge 1 commit into from
Closed

Conversation

sommerluk
Copy link
Collaborator

Switch vineyard to SVG.

Before:
screenshot 4

After:
screenshot 5

@imagico
Copy link
Collaborator

imagico commented Aug 14, 2017

I would suggest you increase the vertical gap between the symbol from 1/3 to 2/3 pixel - this way you would avoid a visual overlap between the lines in vertical direction.

However you would also more prominently see the problem from #2727:

vineyard_test

left is with polygon-gamma: 1; as per point 4 in #2727 (comment), right as is with your code (which is equivalent to point 3).

@kocio-pl kocio-pl changed the title Vineyard01 Switch vineyard to SVG Aug 14, 2017
@sommerluk
Copy link
Collaborator Author

I would suggest you increase the vertical gap between the symbol from 1/3 to 2/3 pixel

That implies to reduce the height of the lines from 5 to 4⅔. If that’s okay, I can increase the gap…

Might it make sense to use round line caps?

@imagico
Copy link
Collaborator

imagico commented Aug 15, 2017

That implies to reduce the height of the lines from 5 to 4⅔.

That is correct.

Note the length perception of for example a 5px line differs significantly depending on if it is pixel aligned or not.

Ultimately any such changes are small compared to those caused by the SVG rendering issues (#2750).

@sommerluk sommerluk force-pushed the vineyard01 branch 2 times, most recently from 22a7710 to bf18b07 Compare August 19, 2017 20:11
@kocio-pl
Copy link
Collaborator

Is this code ready to be merged? How does this pattern look like now?

@sommerluk
Copy link
Collaborator Author

Rebased.

Implemented the suggestion of @imagico

screenshot 1

@kocio-pl
Copy link
Collaborator

For me it's fine, you can join the commits into one.

@matthijsmelissen
Copy link
Collaborator

I'd prefer if the person merging the PR does that.

@kocio-pl
Copy link
Collaborator

What would that help us with?

@sommerluk
Copy link
Collaborator Author

Oops, too late, the commits are yet joined (and I likely don’t know how to un-do that).

@sommerluk
Copy link
Collaborator Author

What would that help us with?

Would mean less work for me 😉

@matthijsmelissen
Copy link
Collaborator

The PR proposer normally doesnt know in advance when review of his PR is finished, so it's hard to know what's the right moment for squashing. In this case @kocio-pl explicitly asked for it, which requires an additional action from the proposer (and not all proposers respond as faat). My comment was more to point out general best practice, but in this particular case it really does not matter.

@kocio-pl
Copy link
Collaborator

I understand now, but I guess this would change the commit attribution (from the author to the merger)?

@matthijsmelissen
Copy link
Collaborator

Good point, I'm not quite sure.

@HolgerJeromin
Copy link
Contributor

I understand now, but I guess this would change the commit attribution (from the author to the merger)?

I am pretty sure it will not. You can fake whatever you want with git. I have done nothing codewise for #1694 Mateusz has done everything by himself.

@matkoniecz
Copy link
Contributor

In #1694 I probably manually added authorship information.

Git rebase is not changing authorship information (for merging commits by the same author), what github calls rebase is changing authorship metadata - see https://help.github.com/articles/about-pull-request-merges/#rebase-and-merge-your-pull-request-commits

@kocio-pl kocio-pl mentioned this pull request Aug 23, 2017
@kocio-pl
Copy link
Collaborator

As far as I understand we should not move this pattern to SVG, since it uses gamma (#2750).

@kocio-pl
Copy link
Collaborator

Thanks for trying! I hope we will eventually switch raster patterns to SVG one day.

@kocio-pl kocio-pl closed this Aug 24, 2017
@sommerluk sommerluk deleted the vineyard01 branch August 25, 2017 13:35
@pitdicker pitdicker mentioned this pull request Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants