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

i-text italic font change adding extra space and change reflects only after clicking outside the text area #2305

Closed
sarath-prohaktiv opened this issue Jun 25, 2015 · 2 comments

Comments

@sarath-prohaktiv
Copy link

image
Steps to reproduce
#1) goto http://fabricjs.com/kitchensink/
#2) Select the second text box "foo bar

baz
quux"
#3) Apply italic to current font
#4) Select font family "Engagement"

You can no change in the text box. But the change will reflects once click outside the text area. Also it creates extra space at the end of text.

Note: Make sure to clear cache

@kangax
Copy link
Member

kangax commented Jul 1, 2015

This is due to font file not being loaded and is an expected behavior outside of Fabric. You can preload font before or observe its load state, then render canvas.

@kangax kangax closed this as completed Jul 1, 2015
@sarath-prohaktiv
Copy link
Author

This is not working even after preloading the font

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

No branches or pull requests

2 participants