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

Don't scale the text stroke width by pixel ratio #2171

Merged
merged 1 commit into from Jun 19, 2014

Conversation

fredj
Copy link
Member

@fredj fredj commented Jun 5, 2014

Fixes #2152

@fredj
Copy link
Member Author

fredj commented Jun 11, 2014

Thanks for any review

@elemoine
Copy link
Member

Do you mind providing a few explanations? Why do we need to not scale the text stroke width?

@fredj
Copy link
Member Author

fredj commented Jun 16, 2014

I guess it's the same as for the font size: the value does not need to be scaled by the pixel ratio.

@elemoine
Copy link
Member

Please merge.

fredj added a commit that referenced this pull request Jun 19, 2014
Don't scale the text stroke width by pixel ratio
@fredj fredj merged commit 71da660 into openlayers:master Jun 19, 2014
@fredj fredj deleted the hidpi-text-stroke branch June 19, 2014 17:20
@ke5stl
Copy link

ke5stl commented Jun 27, 2014

thank you ! this change is working for me.

best regards,
peter

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.

mobile HiDPI Text Stroke width is too wide
3 participants