Mega Code Archive
Apply Multiple Faces Inline
@font-face {
src:url("a.ttf");
fontFamily: myFont;
embedAsCFF: true;
}
@font-face {
src:url("a.ttf");
fontFamily: myFont;
fontWeight: bold;
embedAsCFF: true;
}
@font-face {
src:url("a.ttf");
fontFamily: myFont;
fontStyle: italic;
embedAsCFF: true;
}
.myStyle1 {
fontSize: 32;
fontFamily: myFont;
}