Quote:
Originally Posted by WV-Mike
I don't understand. The name of the font has a dash in it. So why remove the dash in the font name reference?
src: url(../Fonts/Fontin-SmallCaps.otf);
h1 {
font-family: "Fontin-SmallCaps"
Thanks,
WV-Mike
|
There is an internal name built in to the font (like metadata) that does not match the name you gave it in the font-face declaration.
filename: "Fontin-SmallCaps.otf"
internal metadata name: "Fontin SmallCaps"
@font-face declaration: "Fontin
-SmallCaps"
Filename doesn't matter. What matters is the font-face declaration does not match the
internal metadata name. This
MAY cause an issue on
SOME readers. To be safe though it is better to make them the same by changing the declaration and any references to match the internal name:
Code:
font-family: "Fontin SmallCaps", sans-serif;