![]() |
#121 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 674
Join Date: Oct 2010
Device: Kindle Oasis 2017, Kindle Voyage, Kindle Paperwhite, Kindle Keyboard
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#122 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Custom header style
Here is the patch locations of the CSS stylesheet fragment used for the kepub header text if anyone wants to play around with it. Any changes affect the home page header, library header, etc. too.
There seems to be a difference between the Touch and the Glo/Aura/AuraHD, on the Touch the header always uses font-family: Avenir; but on the other models no font-family is set, so whatever is selected fom the font menu is used, or Gothic if Document default is selected. This example patch forces the Glo/Aura header to use font-family Avenir, the same as the Touch. If you set the footer to match, that would avoid the buggy Gothic/Ryumin fonts from being used at all when Document Default is selected. firmware 3.3.0: Spoiler:
firmware 3.3.1: Spoiler:
Edit: Note for kpg.exe: Change "replace_string" to "replace_xor_00" and add "\x00" to the end of the replacement string if using kpg.exe. Last edited by GeoffR; 05-27-2014 at 04:26 AM. Reason: Note for using kpg.exe |
![]() |
![]() |
Advert | |
|
![]() |
#123 |
Member
![]() Posts: 12
Karma: 10
Join Date: Mar 2014
Location: Charlotte, NC (USA)
Device: Kobo Aura 6"
|
I just applied the patch to my Aura 6" running 3.3.0, but there are still several system fonts showing up in my font menu, namely:
Gothic, Ryumin, Dyslexie, OpenDyslexic Particularly the Dyslexic fonts are quite annoying as I'll never use them... any idea why these still appear? |
![]() |
![]() |
![]() |
#124 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Edit: I found how to remove Gothic, Ryumin, OpenDyslexic, and Dyslexie from the fonts menu, but unfortunately some of my sideloaded fonts such as Dark Courier get removed along with them. I also noticed that the original patch removed my sideloaded Times New Roman font along with the system fonts. So that patch obviously has some problems. Last edited by GeoffR; 05-27-2014 at 06:21 AM. Reason: Found how to ... |
|
![]() |
![]() |
![]() |
#125 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#126 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 674
Join Date: Oct 2010
Device: Kindle Oasis 2017, Kindle Voyage, Kindle Paperwhite, Kindle Keyboard
|
Quote:
How does one go about removing the fonts they do not want and how will this effect the Document Default setting if/when all system fonts are removed and only custom fonts remain? Last edited by violent23; 05-27-2014 at 07:29 AM. |
|
![]() |
![]() |
![]() |
#127 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#128 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 674
Join Date: Oct 2010
Device: Kindle Oasis 2017, Kindle Voyage, Kindle Paperwhite, Kindle Keyboard
|
Quote:
*edit - Okay I think I misunderstood. With the new footer and header patches that set them to Avenir, they now just stay at Avenir no matter what font is selected, resulting in the footer never getting cut off. So the caveat is that they do not change but it does fix my footer problem so thank you. I am wondering though if there is a way to completely remove/hide Document Default and the other fonts while only listing custom fonts or setting a custom font to Document Default and just hiding all the other system fonts, thus allowing the footer and header to change with whatever font is selected without having to run into the cut off footer problem with the Custom reading footer style patch. Last edited by violent23; 05-27-2014 at 08:46 AM. |
|
![]() |
![]() |
![]() |
#129 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
The fonts are located in usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts of the system partition. You can access this partition for instance by script files, which you can start for instance by fmon, KoboLauncher, Kobo Start Menu, or by modifying the rcS script. You can access them also using telnet. The Kobo Start Menu also contains a small terminal simulator, which could do the job.
The other way is to prepare a KoboRoot.tgz that contains the path usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts, and to put there empty files with the names of the font files you want to get rid of. Then copy the KoboRoot.tgz to the .kobo folder. You can find the font names by inspecting one of the more recent update files (cf. the sticky Direct Links to Kobo Firmware). I don't know. In any case I would not delete Avenir and Georgia, because these two fonts and Gothic, are the only fonts that nickel loads at start up. If you delete Avenir and Georgia, you might possibly be left with an interface without visible captions. If Gothic is still there, some models might use this font. (If you want to test it, a factory reset will bring you back to normal, if anything happens.) The other fonts don't become available to the interface unless you open the font settings menu, or if you open a kepub that has a certain font assigned to it, this font becomes available to the interface. Last edited by tshering; 05-27-2014 at 09:07 AM. |
![]() |
![]() |
![]() |
#130 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Mar 2014
Location: Charlotte, NC (USA)
Device: Kobo Aura 6"
|
Quote:
Thanks for this little tip and all the work you've done hacking the Kobo and making it a much more enjoyable device to own. Cheers! |
|
![]() |
![]() |
![]() |
#131 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 674
Join Date: Oct 2010
Device: Kindle Oasis 2017, Kindle Voyage, Kindle Paperwhite, Kindle Keyboard
|
Quote:
|
|
![]() |
![]() |
![]() |
#132 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
On my Aura HD after installing patches from the first message stopped opening book fb2. On "clean" firmware books in fb2 can be read.
|
![]() |
![]() |
![]() |
#133 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Firmware 3.3.0: Spoiler:
Firmware 3.3.1: Spoiler:
I don't have many sideloaded fonts to test with, but from what I can tell the "system" fonts include the built-in fonts Amasis, Avenir, Caecilia, Georgia, Gill Sans, Kobo Nickel, Malabar, and some sideloaded fonts such as Times New Roman which were included in older firmware versions. The "non-system" fonts are everything else: Gothic, Ryumin, OpenDyslexic, Dyslexie, and other sideloaded fonts such as Dark Courier. Note that Document Default is not a font, selecting it just tells the reader to to use whatever fonts are specified in the book itself, possibly embedded fonts. If the book doesn't specify any font then it uses a default font, which on the Glo seems to be Georgia for the body and Gothic for the header/footer. |
|
![]() |
![]() |
![]() |
#134 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I had no idea Kobo devices could even read fb2 books at all. All I can suggest is to enable each patch that you want to use one at a time, to find out which one is causing the problem.
|
![]() |
![]() |
![]() |
#135 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 10000
Join Date: Jul 2012
Location: Israel
Device: KA1, KLH2O, Oasis 3
|
My Kobo Aura HD with firmware 3.2.0 and 3.3.0 (no patches) reads fb2, creates collections
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 09:02 PM |
Touch Patching nickel to leave the wifi active | schlecky | Kobo Developer's Corner | 4 | 01-23-2017 11:46 AM |
Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 07:28 AM |
Instructions for patching firmware 3.1.1 | GeoffR | Kobo Developer's Corner | 64 | 04-18-2014 01:23 PM |