Monday, July 4, 2011

Handy way of using Google Fonts in GWT

I put together some notes on how I'm using Google Fonts in my project. The difficulty I had was dealing with css style sheet precedence/inheritance. I solved this by putting them into the project.gwt.xml file. I couldn't directly include the file, so I copied and pasted the page the google fonts include loads.

Find the source here:
http://code.google.com/p/gwt-examples/wiki/GoogleFontsInGwt - wiki with source

Brandon Donnelson
http://gwt-examples.googlecode.com

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/S1_kKhrmlcAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment