Google fonts issue

On this site I have used Alegreya font from Google Fonts, which I installed with the help of of Thomas’ wonderful video on the subject.
My problem is that the word ‘artist’ should be in italics, and it looks fine on the FW document.
I thought I had followed all the steps correctly but must have missed something. Could someone please tell me what?!
Thanks.

http://www.johnwhitehill.co.uk/index.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Noel,

it’s the google web font day, today :slight_smile:

Ahm - I mentioned (as far as I remember) somewhere, that we can’t simply click italic or bold if it comes to web fonts cause they need to be treated as kind of resources (such as images).

If you want to have something italic, you need to argue on the style with the font-weight property.

In your case,

font-weight: 400italic

on style7 (please start to find semantic, reasonable and rememberable names for those buddies).

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you want to have something italic, you need to argue on the style with the font-weight property.

In your case,

font-weight: 400italic

My experience with Google Font styles has not been this… I don’t want to say Thomas is wrong, as far as I know he isn’t.

It’s just that as far as I know, font-style:italic; works just fine with Google fonts. The weight is inherited from whatever weight the font is set at. If the font is already weighted at 700, then the font-style property doesn’t change that. Setting italic in the weight is just unnecessary and bodes ill for font fallbacks.

The reason “Artist” is not italic in the example is that (at least when I looked) no italic property was set on style7 for that text. We can use the normal italic style property in the Style Editor to do this.

As for semantics, there should be a premade tag style called em which will accomplish an emphasis on the affected text, drawing attention to it and rendering as italic.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes Thomas you are right to give me a slap about naming styles - but in my defence, it was the only text in that style so I didn’t bother. And Ern is correct in saying that I can just style the text as italics in Character Settings. Not sure if this is bad procedure, but it seems to work. Thanks to you pair, again.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options