View Single Post
Old 09-18-2023, 09:14 AM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by WV-Mike View Post
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", sans-serif;

Thanks,
WV-Mike
The file name (src url) is not the same as the actual name of the font. In your case the file name is "Fontin-SmallCaps.otf", but it could be anything you want. The actual name of the font as encoded within the file is "Fontin SmallCaps".
jhowell is offline   Reply With Quote