Hi all
I've made an ePUB file from Adobe Indesign which I have since done a fair amount of work to. It validates okay and displays as expected.
Now the customer wants us to try and use the fonts from the print edition in the ePUB. Fair enough, I know how, but I've got a problem. I have manually embedded one font (Open Sans, a Google Web Font) and the code I have added makes it display okay in Chrome and seems to display in ADE too. Trouble is, it displays as bold in ADE (it's a semi-bold font and displays as such in Chrome). I copied the "font-style: normal; font-weight: 600;" code from the GWF website - the 600 denotes the semi-bold variant.
The CSS code is as follows;
Code:
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 600;
src : url(fonts/OpenSans-Semibold.ttf);
}
p.A-head-article-title {
font-family: "Open Sans", sans-serif;
letter-spacing: -0.05em;
word-spacing: 0.06em;
font-size: 2em;
color: black;
-webkit-hyphens:none;
margin-top: 0em;
margin-bottom: 0.5em;
}
Anyone got any thoughts? I know the client will be previewing the files in ADE.
thanks,
Iain