Congratulations to Cicadaman & co. for getting Froyo running on the Nook Color! Visit the nook Color portal!
See Rooting new hardware FIRST if you have a nook original with a 1003* serial# or above.

Talk:Font Changes

From nookDevs

Jump to: navigation, search

Light Classic Speculation: I saw the musings on the actual font page with regards to what Light Classic might be. I'm wondering if it is the default font that Adobe provides with the Reader app, and is stored in the actual reader binary somewhere? This seems to be the case with the fonts used in other Adobe based readers (including desktop ADE). Just some speculation on my part.


Replacing the font does work as I have Amasis replaced with Georgia at the moment. I'll post a screenshot and show you.

I would be very interested in seeing that, I was able to replace the menu fonts previously but not the fonts used in books. I am mainly interested to see if using a different fonts will display non-western European characters properly

Would it be able to add more font options with customizable font file? YChao 07:54, 16 August 2010 (PDT)

Embedding your fonts into ePub automatically using Calibre

I've attempted to 'árvíztűrő tükörfúrógép' (make űő work) on my Nook with Sans fonts using Calibre. Italics doesn't seem to work on sans fonts. Droid does not seem to have italics for sans at all, and the other font I tried, DejaVu supplied question marks for ő and ű, which made "rőtszőrű" sort of interesting to puzzle out. Anyone has any insight into this? Or at least know some nice sans fonts that do work with Italics and the Hungarian characterset?

Thanks to sPACEYE on the forums at nookboards.com for this info. His original post (which can be found at the link for the plugin) also contains instructions for changing the font that the plugin uses to something else. I was short on time when editing this, so anyone please feel free to clean it up to a format suitable for the main font page. --Baka no Kami 02:53, 17 February 2010 (PST)

  1. Download Calibre for your OS (Win/Lin/Mac) and install it.
  2. Download the attached plugin file from this forum thread http://www.nookboards.com/forum/index.php?topic=1304.0
  3. Install it via Calibre's Preferences> Plugins: provide the path to the downloaded plugin and click "Add" button.
  4. Check that it is in the list of plugins (Preferences> Plugins> File type plugins) as "EPUB Font embedding plugin" and it's enabled (which is the default behavior for added plugin.
  5. Now open Preferences> Conversion> Look & Feel and add the following CSS declaration into Extra CSS area:

Code:

body { font-family: "Liberation", sans-serif; }

This will tell Calibre that we want to use the "Liberation" font family we're going to embed into converted ePub content and it will add the font-family into own styles when it parses your ePub contents;

  1. Add your content - which lacks embedded fonts and CSS declarations OR its embedded fonts aren't capable of providing glyphs for our UTF codepoints - into Calibre's library;
  2. Select (or highlight) the book in the library list;
  3. Convert E-Books> Convert individually;
  4. Set input format and output format to EPUB;
  5. Check Look & Feel and that Extra CSS area contains what's been specified in step (5).
  6. Click OK.

If you are using Mac, before you add plugin to Calibre unpack the plugin to reveal embedfont_plugin.py Python script. Edit it to replace the first occurrence of fontPath=None with the following fontPath="/Applications/calibre.app/Contents/Resources/resources/fonts/liberation/". Save the script, compress it and add as a new plugin to Calibre.

The Instructions for Linking Built-in Unicode Fonts from ePubs and Instructions for Linking 3rd Party Fonts from ePubs method not working when edit epub with sigil.

New fonts in ereader app

New fonts can be used in the ereader app. Place the font files in /data/data/com.bravo.ereader.activities/files and then edit one of the .css files to reflect the names of the desired files. So far I've been able to use .otf and .ttf fonts.

I still can't find where the list of fonts available to the ereader app are.

Have done some experiments on the font changes: the font family name is not important as long as it's consistent with those used in epub xml files. The composite TTF file (*.ttc) doesn't seem to be supported. I've tried several ones and none of them works. Some epub files defines font styles in-line, i.e., need to replace in each individual xml files. One can use 'ecub' or 'sigil' to do simultaneous replacement. YChao 07:54, 16 August 2010 (PDT)

Add some info. to make the mofidied ReaderEpub.apk work on 2.4.1 softrom. --Lucida 17:04, 7 September 2010 (PDT)


Changing default fonts in Reader application does not work with firmware 1.5 :( someone has already managed to change the fonts? --zl0dey 23:53, 24 November 2010 (PST)

The affected CSS file for Traycold File:Template.zip --zl0dey 02:35, 29 November 2010 (PST)

To zl0dey: the attached CSS file (File:Template.zip) is full of properties "font-family"; they could interfere with Nook font-changing mechanism, that is also CSS based. Normally, you would use font-family directive embedded into epub files only when you also embed the font into epub, and in that case you don't use generic font-changing mechanism of epub reader. Could you try to remove all "font-family" lines from your css, without touching other lines, and see if now works? PS: i read your messages on russian e-book forum (using google translate!), but could not answer due to language. If you have an english spoken section, we could move there this bug-fixing session. --Traycold 03:12, 29 November 2010 (PST)

To Traycold: if remove all "font-family" lines from css - all works good. But not edit it all epub files to remove these lines. And "font1" does not work, depending on the font... --zl0dey 04:02, 29 November 2010 (PST)

To Traycold: could you explain how to modify the css definitions in libpdfhost.so? Would a simple hex editor do or needs JNI re-linking? I'd like to do some more delicate modification on .css myself. Thanks a lot in advance! YChao 14:10, 1 December 2010 (PST) What I'd like to do is to use a customized CSS. Would it be possible to have libpdfhost.so refer to a user-defined .css file?

I'm preparing a detailed guide on how i realized the font-hack and how could it be personalized (CSS in particular); i hope in a few days it will be ready.--Traycold 07:59, 3 December 2010 (PST)

That would be great! Looking forward to read it. YChao 13:10, 3 December 2010 (PST)

Hi, you can find more info on Nook font change procedure and how the fonts are managed on Nook on my blog; more still to come! --Traycold 11:09, 4 December 2010 (PST)

Still not working fonts in "font1" :( But if I rename "font1" in "font2" or "font3" - it all works ... --zl0dey 13:11, 4 December 2010 (PST)

"font1" bug hopefully fixed. Download updated version and please report any feedback here.--Traycold 14:23, 6 December 2010 (PST)

Thanks a lot to Traycold. Very nice written blog. One thing I'm not very sure that can I simply alter the content of fontX.css and re-pack to put in nook? I found that there is no 'META-INF' in the ReaderEpub.apk you provide. Thanks. YChao 17:12, 8 December 2010 (PST)

To YChao: yes, you can just modify the content of fontX.css file (if you need some special personalisations) inside ReaderEpub.apk and push it on Nook; modification will be applied after reboot. About the META-INF: i just used APK manager to unpack/pack the apk file; since the modified version seems to work correctly, i suppose the META-INF file is not compulsory, at least on rooted firmwares of Nook.

Hi I tried font hack 1.2.1, but I'm not able to change font - Light Classic is always used. Even if I disable font hack in settings or when font1, font2, font3 is empty Light Classic is still used. With original reader app everything works as expected. Jones222 00:23, 31 May 2011 (CET)

Traycold, am also having the same difficulty with the font hack--Light Classic always comes up... haven't reverted to the original reader, but may have to (on the positive side, the font names do come up in the selection window correctly). geistjaeger 22:20, 14th July 2011 (EDT)

Personal tools
  • Log in / create account
Navigation
nookDevs Team
miscellaneous