View Single Post
Old 11-05-2017, 07:36 AM   #2
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
Hi MarkoRamius,

Welcome to MobileRead

Although Kobo makes it very easy to load your own fonts there are a few strict rules about filenames and internal font metrics for them to work properly. You may already have done items 1 and 2 but you may not be aware of item 3.
  1. The Amazon firmware contains a lot of Ember font files. Make sure you pick a matched set of 4. I suspect the 4 you need all have an internal font name of Amazon Ember (not Amazon Ember Medium or Amazon Ember Bold or Amazon Ember Heavy). The 4 original filenames are:
    Code:
    Amazon-Ember-Bold.ttf
    Amazon-Ember-BoldItalic.ttf
    Amazon-Ember-Regular.ttf
    Amazon-Ember-RegularItalic.ttf
  2. Kobos have a strict file naming convention. The first part of the filename needs to match exactly the internal font name of Amazon Ember (not Amazon-Ember). For this particular font, the second part of the italic filename,
    -RegularItalic, needs to be replaced with -Italic. So rename as follows:
    Code:
    Amazon-Ember-Bold.ttf           --> Amazon Ember-Bold.ttf
    Amazon-Ember-BoldItalic.ttf     --> Amazon Ember-BoldItalic.ttf
    Amazon-Ember-Regular.ttf        --> Amazon Ember-Regular.ttf
    Amazon-Ember-RegularItalic.ttf  --> Amazon Ember-Italic.ttf
  3. Unfortunately, this one is more complicated. Kobos don't like the Panose Weight font metric Amazon use inside some of their fonts. This needs to be manually corrected with a font editor utility, e.g. FontForge (free) or FontCreator (not free). If you have access to either of these I could give you more detail of how to manually correct the Panose Weight metric.

    The original Ember files are using Panose Weight values of Medium (-Regular and -Italic font files) and Demi (-Bold and -BoldItalic font files). Instead of values Medium/Demi Kobo expects values of Book/Bold respectively.
Just to prove it can work here's a screenshot of all 4 variants of Amazon Ember being used correctly in a kepub.
Attached Thumbnails
Click image for larger version

Name:	ember.png
Views:	1385
Size:	126.2 KB
ID:	159827  

Last edited by jackie_w; 11-05-2017 at 07:40 AM. Reason: Added screenshot
jackie_w is offline   Reply With Quote