Thread: PRS-350 Changing Fonts in PRS+
View Single Post
Old 11-06-2011, 08:42 AM   #27
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
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); 
}
jackie_w is offline   Reply With Quote