Saturday, November 23, 2013

Re: Get font-family from external css?

So its probably just no spaces so no need to quote. That makes sense. 

I was looking completely the wrong place anyway. The reason that last font didnt appear on the canvas was I also has Sans-Serif specified, and that font is Serif-ed.
Thanks again.

Canvas is really fun to play with. 


~~~
Thomas & Bertines online review show:
http://randomreviewshow.com/index.html
Try it! You might even feel ambivalent about it :)


On 23 November 2013 14:53, Jens <jens.nehlmeier@gmail.com> wrote:
Probably depends on the browser. Technically the font name must be a CSS identifier and if the font name contains any character that is not allowed inside an CSS identifier you must escape that character or quote the whole font name. 'Tangerine' is a valid CSS identifier so it seems fine if the browser removes the quotes internally during CSS processing.

http://www.w3.org/TR/CSS2/fonts.html#propdef-font-family also has some short info about quoting

-- J.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/8Qja9HPsmEk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment