I am writing @font-face rules for my Web site.
I’ve seen various kinds of naming for local system fonts, like:
"FontName"
"Font Name"
"Font-Name"
"Font Name Bold"
"Font-Name-Bold"
"FontNameBold"
Do the operating systems follow any rules regarding the naming of fonts?
Are the names case-sensitive?
I know the font chooser in Windows list fonts by name in one field, and the weight is in a different field. Would a "Font Name Bold" match a bold font of family Font Name on Windows?
edit:
I’m asking what strings should I use as the local()
value for different weights and styles of the same font family. What is the string value of local()
matched against?