![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Font display 2019.1.1
Using KOReader 2019.1.1 to read an epub file I am now having problems with the font display.
Effectively I can select a specific font using the menu but the text is not displayed in that font. The most obvious case is shown in the attached where I have selected a sans-serif font but text is displayed in a serif one. This occurs both with fonts supplied with KOReader and with ones I have loaded. I've used a sans-serif font as an example as it is most visually obvious but it also occurs with serif and monospace fonts. I'm not sure what has changed - things were fine before the 2019 update. AIUI fonts should go into the adds/koreader/fonts/ directory. I noticed some errors in the crash.log like : Code:
01/11/19-17:00:43 ERROR failed to register crengine font: cannot register font </mnt/onboard/fonts/Bitter-Bold.otf> 01/11/19-17:00:43 ERROR failed to register crengine font: cannot register font </mnt/onboard/fonts/Bitter-BoldItalic.otf> 01/11/19-17:00:43 ERROR failed to register crengine font: cannot register font </mnt/onboard/fonts/Bitter-Italic.otf> 01/11/19-17:00:43 ERROR failed to register crengine font: cannot register font </mnt/onboard/fonts/Bitter-Regular.otf> The Noto Sans font which I have used in the attached example is not duplicated. BobC ==================== EDIT Hang fire on this - I think I have found out what is happening and it is to do with fonts declared in the css overriding the selected font. I thought de-selecting "embedded fonts" would allow me to change the document font but it doesn't seem to do that. Last edited by BobC; 01-13-2019 at 06:31 AM. |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, duplicate fonts is one way to cause such a warning
![]() IIRC, there's a Style tweak to deal with books like that with annoying font-family properties... |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font display on Shine | BobC | Tolino | 1 | 06-16-2019 07:39 PM |
Glo Rosarivo font is not display properly. | hwanjongyu | Kobo Reader | 30 | 05-23-2017 02:41 AM |
Sigil/Qt does not display the font but ADE | rubeus | Sigil | 8 | 01-04-2015 09:32 AM |
Strange display issue with a certain font | bfollowell | Sigil | 4 | 02-15-2014 08:18 AM |
M92 fonts: why would a font not display? | mSSM | Onyx Boox | 8 | 09-05-2012 03:34 AM |