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

force inline style to prevent css override font-family and font-size #151

Merged
merged 1 commit into from
Sep 14, 2017
Merged

force inline style to prevent css override font-family and font-size #151

merged 1 commit into from
Sep 14, 2017

Conversation

mix5003
Copy link
Contributor

@mix5003 mix5003 commented Sep 4, 2017

this pull request will resolve #140

cause:
the priority from css more than attribute. if we use css like

* { font-family: Tahoma } 

it will replace all svg font-family attribute. and it make font render incorrect.

so i will convert all font-family and font-size attribute to inline style to make sure it will not to override by css.

i think another solution may be render in iframe

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.

Incorrect Font and Font Size Rendering
2 participants