Google Web Fonts

168 views
Skip to first unread message

EMan

unread,
Jan 27, 2011, 4:02:50 PM1/27/11
to Google Web Toolkit
Has anyone successfully used this in a GWT project?

http://code.google.com/apis/webfonts/docs/getting_started.html#Quick_Start

I tried to add these fonts to some uiBinder elements, but I can't get
it to work.

What is the best way to get the font css files to link up?

Thanks.

Thomas Lefort

unread,
Jan 28, 2011, 2:58:16 AM1/28/11
to Google Web Toolkit
Have you tried putting the link in your html file?

Interesting anyway, I hadn't heard of it, looks great. I wonder what
is the trick (canvas elements?).

On Jan 27, 10:02 pm, EMan <eric.nis...@gmail.com> wrote:
> Has anyone successfully used this in a GWT project?
>
> http://code.google.com/apis/webfonts/docs/getting_started.html#Quick_...

Jeff Schwartz

unread,
Jan 28, 2011, 9:26:26 AM1/28/11
to google-we...@googlegroups.com
From what I read they are just web fonts which means their font css style sheets need to be loaded via a link tag and once they are loaded they are used as any other font would be using standard css font attributes. The Technical Considerations documentation, located at http://code.google.com/apis/webfonts/docs/technical_considerations.html, goes into some detail as to how the actual font style sheets are rendered which is browser dependent and only the browsers listed in this document, http://code.google.com/apis/webfonts/faq.html#Browsers_Supported, are supported.

Some of these fonts really look great and can really add some finesse to a page if applied with some restraint :).

Another very cool service from Google provided to us struggling web developers... how cool is that?

Now I am wondering if these fonts can be used via ClientBundles. Hmmm...

Jeff

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




--
Jeff Schwartz

Jaroslav Záruba

unread,
Jan 28, 2011, 9:36:11 AM1/28/11
to google-we...@googlegroups.com
No trick apparently, @font-face.

Too bad the fonts (quite predictably) miss many characters and there's no way to complete them. I'd participate glady.

Jaroslav Záruba

unread,
Jan 28, 2011, 9:38:31 AM1/28/11
to google-we...@googlegroups.com
...and then you read 

On Friday, January 28, 2011 3:26:26 PM UTC+1, Jeff wrote:
Another very cool service from Google provided to us struggling web developers... how cool is that?

+1
...and then you read those drama queens on Engadget crying that Google has added ads to GMail UI or ceased to autocomplete suspicious keywords. :(

Jeff

On Fri, Jan 28, 2011 at 2:58 AM, Thomas Lefort <lefor...@gmail.com> wrote:
Have you tried putting the link in your html file?

Interesting anyway, I hadn't heard of it, looks great. I wonder what
is the trick (canvas elements?).

On Jan 27, 10:02 pm, EMan <eric....@gmail.com> wrote:
> Has anyone successfully used this in a GWT project?
>
> http://code.google.com/apis/webfonts/docs/getting_started.html#Quick_...
>
> I tried to add these fonts to some uiBinder elements, but I can't get
> it to work.
>
> What is the best way to get the font css files to link up?
>
> Thanks.

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




--
Jeff Schwartz

Jeff Schwartz

unread,
Jan 28, 2011, 9:48:33 AM1/28/11
to google-we...@googlegroups.com


2011/1/28 Jaroslav Záruba <jarosla...@gmail.com>
No trick apparently, @font-face.

Yup, I believe you are right :)

Too bad the fonts (quite predictably) miss many characters and there's no way to complete them. I'd participate glady.

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



--
Jeff Schwartz

Arthur Kalmenson

unread,
Jan 28, 2011, 11:44:00 AM1/28/11
to google-we...@googlegroups.com
I got it working with my GWT app by just putting the link into the
HTML file (that includes the GWT JS) and using the font as you would
use any font (like verdana) in your CSS file. No @font-face required.

--
Arthur Kalmenson

EMan

unread,
Jan 28, 2011, 4:20:38 PM1/28/11
to Google Web Toolkit
Yes adding it into the main HTML file seems to work now for me.
Thanks.
Reply all
Reply to author
Forward
0 new messages