View Single Post
Old 03-28-2011, 10:21 AM   #21
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
Quote:
Originally Posted by fragile View Post
However one problem is that the font is way too light and thin. Is there a way to ^bold^ it? I don't see an option for this in adobeviewer. Perhaps it could be done by software over epub?
I agree that Adobe's default monospace font is very wishy-washy. There are several improvements you could consider.
  1. The simplest is to force the existing default font to use its bold variety. This can be achieved simply by adding the necessary CSS to Calibre's ExtraCSS box when you do the TXT to EPUB conversion.
    Code:
    body {font-family: monospace; font-weight: bold; line-height: 0.5em;}
  2. If that still isn't satisfactory, you could also try overriding the default monospace font with one you like better, e.g. Liberation Mono or Bitstream Vera Mono (both free I think). Both of these have a full set of Mono fonts (regular, italic, bold, bolditalic). Your particular book doesn't have any bold or italics, but the next one might.

    Once you've found your font(s) copy the .ttf file(s) onto your PB302 into the /system/fonts directory in internal memory.

    Convert your TXT to EPUB again in Calibre, this time with slightly different ExtraCSS (using Liberation Mono regular as an example):
    Code:
    @font-face {font-family: monospace; font-weight: all; font-style: all; src: url(res:///mnt/ext1/system/fonts/LiberationMono-Regular.ttf);}
    body {font-family: monospace; line-height: 0.5em;}
    These filenames and directories are case-sensitive, so make sure whatever you type in ExtraCSS matches EXACTLY the file path to the fonts on your PB302.

    When you read this EPUB on the PB302 it will use Liberation Mono rather than the Adobe default mono to render the book.

    If you want to go even bolder, replace the LiberationMono-Regular.ttf filename in the ExtraCSS with the bold version instead, LiberationMono-Bold.ttf

  3. Depending on what version of the firmware you're using on your PB302 there is a third method (14.2, 15.2 are OK, 15.3 isn't). The results will be exactly the same as the second method but you don't need to put the @font-face statements into every EPUB. Instead they are stored in a single fixed .css file on the reader. If you want to investigate, search for "hacked AdobeViewer" in this forum.

Last edited by jackie_w; 03-28-2011 at 10:25 AM.
jackie_w is offline   Reply With Quote