HI,
I see what is happening. The CSS for the font family uses names font names, such as Joe mentions:
http://theddr.com/test/Resources/stylesheet.css
What you need to do is a little editing on the CSS file that comes with the font. Take a look at this page and you’ll get the idea of what you are aiming for:
http://www.actionsworld.com/Actions/Caxton/multiplefont.php
What you need is for the font-family name to be consistent throughout the CSS file, and to specify the weight/style using the font-weight or font-style attributes.
Som, the CSS file you have should look something like this:
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on December 13, 2010 05:36:43 PM America/New_York */
@font-face {
font-family: ‘CantarellRegular’;
src: url(‘Cantarell-Regular-webfont.eot’);
src: local(‘☺’), url(‘Cantarell-Regular-webfont.woff’) format(‘woff’), url(‘Cantarell-Regular-webfont.ttf’) format(‘truetype’), url(‘Cantarell-Regular-webfont.svg#webfontEZowxjcD’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: ‘Cantarell’;
src: url(‘Cantarell-Oblique-webfont.eot’);
src: local(‘☺’), url(‘Cantarell-Oblique-webfont.woff’) format(‘woff’), url(‘Cantarell-Oblique-webfont.ttf’) format(‘truetype’), url(‘Cantarell-Oblique-webfont.svg#webfont6JLppqXM’) format(‘svg’);
font-weight: normal;
font-style: italic,oblique;
}
@font-face {
font-family: ‘Cantarell’;
src: url(‘Cantarell-Bold-webfont.eot’);
src: local(‘☺’), url(‘Cantarell-Bold-webfont.woff’) format(‘woff’), url(‘Cantarell-Bold-webfont.ttf’) format(‘truetype’), url(‘Cantarell-Bold-webfont.svg#webfontfUrJoALs’) format(‘svg’);
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: ‘Cantarell’;
src: url(‘Cantarell-BoldOblique-webfont.eot’);
src: local(‘☺’), url(‘Cantarell-BoldOblique-webfont.woff’) format(‘woff’), url(‘Cantarell-BoldOblique-webfont.ttf’) format(‘truetype’), url(‘Cantarell-BoldOblique-webfont.svg#webfontqbp95M2s’) format(‘svg’);
font-weight: bold;
font-style: italic,oblique;
}
It may take a little experimentation, but it’s worth trying to crack this particular nut. Once you know what needs doing, it should be simple to do this for any other font kit you download.
The Action isn’t able to make these changes itself. There is a handy edit button which opens the CSS file for you.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options