|
|
#1 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 521
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
|
Referencing correct font-style/weight files
In this thread, they briefly discussed that, in some cases Koreader will take a single otf/ttf file and synthesize its own italic and bold versions rather than referencing the added italic and bold font files (instead, these styles show up as separate base font families).
Does anyone know a) what causes Koreader to fail to recognize all the files as part of the same family, and b) how to fix it? |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,588
Karma: 5000564
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
You can see in crash.log which exact font files got a “Pass” from KOReader and which ones were rejected. It is somewhere close to the lines after KOReader starts. They say something like “Registering font NAME…”.
Most of them (at the least the way I understand it) there is an issue in how fields of the font title, family, etc are filled out. They either don’t match exactly across the same family of fonts or simply missing. You should be able to read these metadata and fix them with tools like Font Forge. |
|
|
|
|
|
#3 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 521
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
|
@mergen3107 - Oh dear... it appears you've created a monster. I've always been vaguely curious about tweaking fonts and now... well... you've opened up pandora's box.
Also, you were absolutely right. Metadata for the font in question had the font names (eg XXX-Italic, XXX-Regular, XXX-bold) embedded as the font family rather than just "XXX". |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre 4.21 changes <b> tags in comments to <p style="font-weight: 600">! | VirgoGirl | Calibre | 17 | 08-01-2020 02:39 PM |
| Font Forge and adding font weight for Kobo? | Alanon | Kobo Reader | 7 | 12-12-2019 05:35 PM |
| Compare the font style and size from the source pdf with the destination epub files | kalees | ePub | 0 | 01-22-2014 07:05 AM |
| Certain font characters not rendering in the correct font | omskillet | Kindle Formats | 14 | 11-29-2013 04:12 PM |
| How to change font size and font style? | butterbescotch | Sigil | 20 | 09-06-2013 09:22 PM |