I use the Caxton action with a fontsquirrel generated webfont. The name of the font is made with underscores like this: Sinkin_Sans_Light.
The font is installed in my Mac too and the screen font name is Sinkin Sans light (no underscores) Does anyone know how to use these names in the font set? My font set name has the underscores in it, just as the name of the font under alternative fonts. The screen font is based on the fontname as in the system: without the underscores. What is good practice?
One thing: if I change the fontname in alternative fonts, to the screenname, then my webfont is not displayed!!
So then the screen font is different from the other two in font set screen?
That’s the case with me now and someone from Softpress advised me to have the same screen font name and alternative font name.
And changing the alternative name messed up things. So you leave the alternative fonts empty?
The screen font just is the font loaded in OSX that represents the @fontface you assign it to. Would be nice if those two are the same, right? The screen font is just there for viewing purposes only.
So … the font has a ‘CSS’ name, and a ‘system’ name, that’s all.
OK right. Then I don’t know why Softpress says this procedure is not correct. But just to sure: you keep the ’ around the font name like:
‘Sinkin_Sans_Light’ ?
you keep the ’ around the font name like: ‘Sinkin_Sans_Light’ ?
To be precise - if your Font name was slinky spider it would require apostrophes ‘slinky spider’ as it is 2 words (contains white space).
However slinky_spider does not (one word)
Quite often (and certainly in the testing phase) I will create a font set without a screen font (or at least not the correct one) - then you will know if the Web Font is being loaded correctly and not just using your System font instead.
The name given for font-family is what you need … including the quotes: ‘sinkin_sans300_light’. Don’t change ANYTHING ANYWHERE regarding the font names.
So, again for Edit Font Sets within Freeway :
Font Set Name : ‘sinkin_sans300_light’
Screen Font : select the corresponding font loaded on your machine
Hi David and Richard,
Yes, this makes sense. Richards example is how I have it here too. Strangely enough Softpress thinks that’s not how it should be done. I got an answer in the mail saying my alternative name should equal the screenname. I asked why, but that is still unanswered…
But there is a difference in your explainations about the apostrophes around the font name. I can understand really well why it should be like in Davids answer. So Richard, you use the apostrophes. What is best practice here?