Closed (duplicate)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
Font Squirrel (provider)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2012 at 15:51 UTC
Updated:
7 Oct 2012 at 17:49 UTC
It seems that there is a problem when generating css file for the font. For example the font "Titillium Text" has 6 different styles. The font family names in fontyourface/fontsquirrel/TitilliumText-fontfacekit/stylesheet.css are:
TitilliumText22LThin, TitilliumText22LLight, TitilliumText22LRegular etc. (Notice the 22L in the name)
Now in the font.css the name is "TitilliumTextThin" (22L has left the building)
I presume it has to be a bug. Took me quite a while to figure out why the font was not loaded properly.
Comments
Comment #1
sreynen commentedThis looks like the same issue as #1124500: Interface for Font Squirel import only first font in family.
Comment #2
Drave Robber commentedThis specific font seems to have mismatched values at the Font Squirrel's end - API returns e.g.
"fontface_name":"TitilliumTextRegular"while supplied CSS has it likefont-family: 'TitilliumText22LRegular';.It might be worth it pinging Font Squirrel about that.
For the more general issue (#1124500: Interface for Font Squirel import only first font in family), there's now a patch to review that does a batch import of all variants.