Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Google fonts not working on mac
I'm building an app that uses google webfonts (open sans) on a PC and it works perfect, but when I try it on a mac computer it shows a question mark (shown below)
I used this java annotation:
@StyleSheet({"fonts.googleapis.com/css?family=Open+Sans:300,400,500,700";})
Why is this?
Thanks!!!
I've never used syntax like you have (I presume its a java annotation), but did you try putting "//" in front of the path, so it would be something like:
@StyleSheet({"//fonts.googleapis.com/css?family=Open+Sans:300,400,500,700";})
or
@StyleSheet({"https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700";})
... we use google fonts, but we include this in our CSS file to bring it in:
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
Thanks David...I have the same problem in Eclipse, not only in the app, why could this be?
thanks!!!