typekit / webfontloader

Web Font Loader gives you added control when using linked fonts via @font-face.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to load (and use) italic fonts?

nuthinking opened this issue · comments

I'm trying to load Lora both normal and italic at different weights.

Normal font can be loaded using the family Lora:400,... shouldn't the italic version be loaded using Lora:italic:400,...?

Doing so I receive http error net::ERR_ABORTED 400. I tried appending :italic, :ital and :i.

I can see weights and style can be concatenated (i.e. bi) but in my case I would prefer to define the weights as numbers. Is there a way to concatenate weight numbers with style?

Looks like this syntax works: Lora:italic,400

I had the same issue, Lora:italic,400 did not work for me, however it seems that Lora:400italic works for me.