-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
doesn't support font-family property with multiple value #796
Comments
I found the reason: parent of canvas has to have explicit font declaration like so: |
The join/split in CanvasRenderer.prototype.font was stripping out additional fonts. I submitted a fix for it |
I am not sure if this is related, but here I think I am seeing the font rendered correctly, but then layered over with an erroneous font? |
@eZ0 you are correct! Thank you! Thank you! Thank you! |
Should be fixed in 77d258f |
I have the same problem. You can fix it via clone callback and style it separately.
|
Using 0.5.0-beta4, thanks so much for this great module!
The problem I am having is, say I have a class
.class { font-family: "somefont", "Arial" }
where "somefont" doesn't apply, the end result is elements that are .class would be rendered using Arial in the page, but in the canvas the default font is applied instead.
Any idea?
The text was updated successfully, but these errors were encountered: