Font-weight property not working below 400
Hi, I never posted here and english is not my mother language so sorry for any errors.. I'm trying to solve a mystery here.
My css looks like this:
@font-face {
font-family:"CantoriaMTSTd";
font-style:normal;
font-weight:normal;
src : url("../font/CantoriaMTSTd.otf");
}
@font-face {
font-family:"CantoriaMTSTd";
font-style:normal;
font-weight:300;
src : url("../font/CantoriaMTStd-Light.otf");
}
@font-face {
font-family:"CantoriaMTSTd";
font-style:normal;
font-weight:bold;
src : url("../font/CantoriaMTStd-Bold.otf");
}
p.sum1 {
-epub-hyphens:none;
font-family:"CantoriaMTSTd", serif;
font-size:1em;
font-style:normal;
font-weight:normal;
text-align:left;
}
p.sum2 {
-epub-hyphens:none;
font-family:"CantoriaMTSTd", serif;
font-size:1em;
font-style:normal;
font-weight:bold;
line-height:1.25;
text-align:left;
}
p.sum3 {
-epub-hyphens:none;
font-family:"CantoriaMTSTd", serif;
font-size:1em;
font-style:normal;
font-weight:300;
line-height:1.25;
text-align:left;
}
and my html file looks like this:
<p class="sum1">O pintor das transformações de sua gente —<br/> Gustavo Henrique Tuna</p>
<p class="sum2">CONTOS</p>
<p class="sum2">Urupês</p>
<p class="sum3">O engraçado arrependido</p>
All font files are properly inserted into the epub, and I checked that the filenames are correct in the css. I also checked for overlaps in the css and found none.
All weight and style variables in this font work, except the font-weight:300.
Sigil and all readers I've tried are reading the font as font-weight: normal. The font works normally in indesign and other softwares.
I also tried to change de font file multiple times.
Does somebody please know what's going on?
|