Hi,
I think that the "lighter" value for the "font-weight" property does not work properly. I tried to expose it in the example below (the bold fonts receive a "normal" font-weight, and the normal fonts receive a "lighter"). Only the original bold fonts are going to be embedded in the pdf.
--
jt
I think that the "lighter" value for the "font-weight" property does not work properly. I tried to expose it in the example below (the bold fonts receive a "normal" font-weight, and the normal fonts receive a "lighter"). Only the original bold fonts are going to be embedded in the pdf.
<html>
<head>
<style type='text/css'>
@font-face {
font-family: "Liberation Serif";
font-style: normal;
font-weight: normal;
src: url(http://www.princexml.com/fonts/liberation/LiberationSerif-Bold.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: italic;
font-weight: normal;
src: url(http://www.princexml.com/fonts/liberation/LiberationSerif-BoldItalic.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: italic;
font-weight: lighter;
src: url(http://www.princexml.com/fonts/liberation/LiberationSerif-Italic.ttf);
}
@font-face {
font-family: "Liberation Serif";
font-style: normal;
font-weight: lighter;
src: url(http://www.princexml.com/fonts/liberation/LiberationSerif-Regular.ttf);
}
html {
font-family: "Liberation Serif";
font-style: normal;
font-weight: lighter;
}
.normal {
font-weight: normal;
}
.italic {
font-style: italic;
}
</style>
</head>
<body>
<div> Lighter </div>
<div class='normal'> Normal </div>
<div class='italic'> Lighter Italic </div>
<div class='normal italic'> Normal Italic </div>
</body>
</html>
--
jt