If you don't mind not seeing any emboldening (is that a word?) then the following should work:
- map Regular and Bold to the same Nimbus regular file
- map Italic and BoldItalic to the same Nimbus italic file
rather than having to duplicate/rename font files. I haven't tried it, though.
Code:
@font-face {
font-family: serif;
font-weight: all;
font-style: normal;
src: url(res:///Data/fonts/NimbusMod.ttf);
}
@font-face {
font-family: serif;
font-weight: all;
font-style: italic;
src: url(res:///Data/fonts/NimbusMod_I.ttf);
}
It's also possible that this would work. Again I haven't tried it:
Code:
@font-face {
font-family: serif;
font-style: normal;
src: url(res:///Data/fonts/NimbusMod.ttf);
}
@font-face {
font-family: serif;
font-style: italic;
src: url(res:///Data/fonts/NimbusMod_I.ttf);
}