https://www.callendales.com
Does anyoe know - do @fontface fonts display in preview (I'm using the HTML Editor), or will they only show up on a live site?
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
It's only ever worked live for me. Even selecting IE 9 for preview.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Good to know. I couldn't remember if I'd asked about this already , but I didn't find anything about it in a search.
Thanks, Eric
Thanks, Eric
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
Webfonts work locally in preview for me, both in a browser and in the Editor preview. I'm using webfontkit (http://www.fontsquirrel.com/fontface/generator) to create them.
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Thanks for that link Inger. Yes the fonts work in the preview if you use all the webkit stuff.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I used the font squirrel generator, but no luck.
Maybe it's because I can't unzip the generated font code on this computer? It only happens with font squirrel, I can buy/download fonts from other sources with no problem, but when I click to unzip the font squirrel file (any font) I get this error message: 'Invalid argument to date encode'.
So I used my husband's computer to download the font code, put it on a jump-drive and then opened it on my computer.
I checked some templates I bought that have @fontface fonts included. They don't work in preview either (and I haven't edited/changed those templates).
What's missing? They all are like this, just with different fonts:
@font-face {
font-family: 'WebSymbolsRegular';
src: url('websymbols-regular-webfont.eot');
src: url('websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('websymbols-regular-webfont.woff') format('woff'),
url('websymbols-regular-webfont.ttf') format('truetype'),
url('websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
font-weight: normal;
font-style: normal;
}
Maybe it's because I can't unzip the generated font code on this computer? It only happens with font squirrel, I can buy/download fonts from other sources with no problem, but when I click to unzip the font squirrel file (any font) I get this error message: 'Invalid argument to date encode'.
So I used my husband's computer to download the font code, put it on a jump-drive and then opened it on my computer.
I checked some templates I bought that have @fontface fonts included. They don't work in preview either (and I haven't edited/changed those templates).
What's missing? They all are like this, just with different fonts:
@font-face {
font-family: 'WebSymbolsRegular';
src: url('websymbols-regular-webfont.eot');
src: url('websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('websymbols-regular-webfont.woff') format('woff'),
url('websymbols-regular-webfont.ttf') format('truetype'),
url('websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
font-weight: normal;
font-style: normal;
}
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
How do you have the actual css element that's using the font setup?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
The webfontkit has its own css. Just leave that as it is.
Paintbrush, did you unzip the webfontkit folder and placed it along with your other folders for that particular site? And uploaded it? Don't take anything out of that folder!
Then you need to change the paths of the fonts to reflect that they are inside the webfontkit folder. Here is one I have used recently, and this is what I added to my style sheet:
And this is where I use the font:
Paintbrush, did you unzip the webfontkit folder and placed it along with your other folders for that particular site? And uploaded it? Don't take anything out of that folder!
Then you need to change the paths of the fonts to reflect that they are inside the webfontkit folder. Here is one I have used recently, and this is what I added to my style sheet:
@font-face {
font-family: 'damn_noisy_kidsregular';
src: url('webfontkit/dnk-webfont.eot');
src: url('webfontkit/dnk-webfont.eot?#iefix') format('embedded-opentype'),
url('webfontkit/dnk-webfont.woff') format('woff'),
url('webfontkit/dnk-webfont.ttf') format('truetype'),
url('webfontkit/dnk-webfont.svg#damn_noisy_kidsregular') format('svg');
font-weight: normal;
font-style: normal;
}
font-family: 'damn_noisy_kidsregular';
src: url('webfontkit/dnk-webfont.eot');
src: url('webfontkit/dnk-webfont.eot?#iefix') format('embedded-opentype'),
url('webfontkit/dnk-webfont.woff') format('woff'),
url('webfontkit/dnk-webfont.ttf') format('truetype'),
url('webfontkit/dnk-webfont.svg#damn_noisy_kidsregular') format('svg');
font-weight: normal;
font-style: normal;
}
And this is where I use the font:
.customfont {
font-family: 'damn_noisy_kidsregular', sans-serif; /* no .ttf */
font-size: 40px;
color: white;
clear: left;
}
font-family: 'damn_noisy_kidsregular', sans-serif; /* no .ttf */
font-size: 40px;
color: white;
clear: left;
}
Ha en riktig god dag!
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger, Norway
My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com
Inger,
Here's what it looks like (I didn't change anything, this is how it came from Font Squirrel):
I'm using it for headers, and I added the font-family line to each individual <h> tag as well.
I noticed that the Font Squirrel code is different from yours. It doesn't have the "webfont kit/dnk" before the fonts. Same as in the templates (the code snippet in my other post is from one of them).
I've also got a fonts folder with generator_config.txt and the eot, woff, ttf, and svg fonts in it. So I thought that it might have to be on the server before the font would show up.
If someone had told me 10 years ago this is how I'd be spending my Saturday nights.....
Here's what it looks like (I didn't change anything, this is how it came from Font Squirrel):
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 28, 2012 */
@font-face {
font-family: PeignotRegular;
src: url('peignot-webfont.eot');
src: url('peignot-webfont.eot?#iefix') format('embedded-opentype'),
url('peignot-webfont.woff') format('woff'),
url('peignot-webfont.ttf') format('truetype'),
url('peignot-webfont.svg#peignotregular') format('svg');
font-weight: normal;
font-style: normal;
font-variant: normal;
}
@font-face {
font-family: PeignotRegular;
src: url('peignot-webfont.eot');
src: url('peignot-webfont.eot?#iefix') format('embedded-opentype'),
url('peignot-webfont.woff') format('woff'),
url('peignot-webfont.ttf') format('truetype'),
url('peignot-webfont.svg#peignotregular') format('svg');
font-weight: normal;
font-style: normal;
font-variant: normal;
}
I'm using it for headers, and I added the font-family line to each individual <h> tag as well.
h1, h2, h3, h4, h5, h6 {
font-family: PeignotRegular, 'Exotc350 DmBd BT', 'lucida sans unicode'.................
}
font-family: PeignotRegular, 'Exotc350 DmBd BT', 'lucida sans unicode'.................
}
I noticed that the Font Squirrel code is different from yours. It doesn't have the "webfont kit/dnk" before the fonts. Same as in the templates (the code snippet in my other post is from one of them).
I've also got a fonts folder with generator_config.txt and the eot, woff, ttf, and svg fonts in it. So I thought that it might have to be on the server before the font would show up.
If someone had told me 10 years ago this is how I'd be spending my Saturday nights.....
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
https://www.callendales.com
paintbrush wrote:
If someone had told me 10 years ago this is how I'd be spending my Saturday nights.....
If someone had told me 10 years ago this is how I'd be spending my Saturday nights.....
What did someone tell you ten years ago.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.