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

fix text verticle alignment #28

Merged
merged 1 commit into from
Sep 15, 2018
Merged

fix text verticle alignment #28

merged 1 commit into from
Sep 15, 2018

Conversation

somarlyonks
Copy link
Contributor

The current alignment is not so accurate and a text big enough will make it more obvious, like

former

I think dominantBaseline is a better choice, and it turns out, like

central

@zzarcon
Copy link
Owner

zzarcon commented Sep 15, 2018

@somarlyonks thats awesome, thanks for the fix!

@zzarcon zzarcon merged commit fe0bd3d into zzarcon:master Sep 15, 2018
@somarlyonks
Copy link
Contributor Author

@zzarcon But don't hurry to release. IE/edge doesn't support dominant-baseline, see [MS-SVG]: [SVG11] Section 10.9.2, Baseline alignment properties. I think maybe we need a workaround for them here. I'll make another PR till tomorrow.

And just for attention #29

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.

2 participants