The following two font rules declare a regular and small-caps font with the same name. This is currently support with varying font-style and font-weight properties, but fails with font-variant as only the last declared font is embedded in PDF output.
@font-face {
font-family : "Linux Libertine";
font-style : normal;
font-weight : normal;
font-variant : normal;
src : url("/usr/share/fonts/truetype/linux-libertine/LinLibertine_Re.ttf") format("truetype");
}
@font-face {
font-family : "Linux Libertine";
font-style : normal;
font-weight : normal;
font-variant : small-caps;
src : url("/usr/share/fonts/truetype/linux-libertine/LinLibertineC_Re.ttf") format("truetype");
}
@font-face {
font-family : "Linux Libertine";
font-style : normal;
font-weight : normal;
font-variant : normal;
src : url("/usr/share/fonts/truetype/linux-libertine/LinLibertine_Re.ttf") format("truetype");
}
@font-face {
font-family : "Linux Libertine";
font-style : normal;
font-weight : normal;
font-variant : small-caps;
src : url("/usr/share/fonts/truetype/linux-libertine/LinLibertineC_Re.ttf") format("truetype");
}