Thread: Font trouble
View Single Post
Old 02-25-2014, 10:00 PM   #3
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
It works for me. This is what I added to kobo_extra.css
Code:
@font-face {font-family: monospace; font-weight: normal; font-style: normal; src: url("res:///fonts/normal/FreeMono")}
@font-face {font-family: monospace; font-weight: bold; font-style: normal; src: url("res:///fonts/bold/FreeMono")}
@font-face {font-family: monospace; font-weight: normal; font-style: italic; src: url("res:///fonts/italic/FreeMono")}
@font-face {font-family: monospace; font-weight: bold; font-style: italic; src: url("res:///fonts/bolditalic/FreeMono")}
Here's a screencap. I had one of my serif fonts selected in the Kobo font menu and font-family:monospace assigned to the classes for these few paragraphs.
Attached Thumbnails
Click image for larger version

Name:	FreeMono.jpg
Views:	336
Size:	37.5 KB
ID:	119588  

Last edited by jackie_w; 02-25-2014 at 10:03 PM. Reason: missed a bit
jackie_w is offline   Reply With Quote