![]() |
#31 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Default ePub monospace font
Kobo e-ink readers don't currently come with any monospaced fonts pre-installed, and so it is necessary to sideload one. However the choice of which to use as a default when an ePub contains the generic style font-family:monospace; is hard-coded to Adobe's proprietary Courier Std font, and when that font inevitably fails to load the EPUB reader falls back to the initial font selected by the user (or Georgia if "Publisher Default" is selected), which is probably not monospaced.
The `Default ePub monospace font` patch lets the EPUB reader use the first font it finds with a name beginning "Courier" as the default monospace font. So for example if the free Courier Prime font is sideloaded* (and no other sideloaded font name begins with "Courier") then that will be used. The screenshots below (Glo, 3.16.0) show which fonts the EPUB reader uses for the font-family styles initial/unspecified, serif, sans-serif, and monospace in the attached ePub. The device has the Courier Prime font sideloaded, and Kobo Nickel is the font selected from the drop-down font menu: 1. Unpatched (initial=Kobo Nickel, serif=Georgia, sans-serif=Avenir, monospace=Kobo Nickel.) 2. Patched (initial=Kobo Nickel, serif=Georgia, sans-serif=Avenir, monospace=Courier Prime.) (The default monospace font can also be set without patching by modifying each ePub's stylesheet, which can be done automatically if sideloading via Calibre.) (* To sldeload the Courier Prime font, rename the files to "Courier Prime.ttf" "Courier Prime-Italic.ttf" "Courier Prime-Bold.ttf" "Courier Prime-BoldItalic.ttf" as usual. Note that this font has the incorrect PANOSE weight set. This doesn't cause any problem for the EPUB reader, but if you want to use the Courier Prime font in KePubs then you might want to use a program like fontforge to correct the PANOSE weight from thin to book or bold as appropriate.) (Note that this patch can also be modified to use fonts with a different name, such as HP's Dark Courier.) Last edited by GeoffR; 09-07-2015 at 03:48 AM. Reason: Added note about incorrect PANOSE weight in Courier Prime font |
![]() |
![]() |
![]() |
#32 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
patch_name = `Compact homepage layout (Glo)`
Spoiler:
#DragonHomePageView (Search bar height) is the height from the upper side of screen? and can change the valuse? patch_name = `Block WiFi firmware upgrade` if i sync is it going to delete my sideload dictionaries, and download the original dictionaries? |
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
|
Quote:
About the second, yes. It only block the firmware, not the sync. That's the reason for the las patch "Change dicthtml strings to micthtml". If you rename the sideloads dictionaries from dicthtml to micthtml and activate that patch you don't lose they anymore. ![]() |
|
![]() |
![]() |
![]() |
#34 | |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Quote:
At least I knew there a solution. Thanks |
|
![]() |
![]() |
![]() |
#35 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
It is better to discuss these details in the patch thread for the specific firmware version you are using. |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
|
Hi GeoffR,
Your post is really a very good thing for "classic" users because it's a good grouping of all important functions brought by new firmwares. Only one thing : I think you should talk too about one of the most important add-ons that is not integrated directly in kobo's devices and their firmwares and that is used and waited by a lot of users of e-readers : the night mode (https://www.mobileread.com/forums/sho...d.php?t=212162 . I don't understand why this function, that is for me one of the biggest, is not directly integrated on an e-reader ![]() ![]() NB : sorry for my bad english, i'm french. Last edited by akorx; 10-04-2015 at 05:22 AM. |
![]() |
![]() |
![]() |
#37 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
There are many other projects like Night Mode that I have never used, and know nothing about, so it wouldn't make sense to include them here. There is a sticky thread List of Tweaks / Hacks / Mods that has links to many of the other things, including Night Mode. |
|
![]() |
![]() |
![]() |
#38 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
|
No problem GeoffR, I undertand what you mean
![]() I just wanted to say that I think night mode is a very basic function that should, oh no : that MUST, be included in every e-readers and it's the reason why I suggested to you to talk about it... Last edited by akorx; 10-06-2015 at 03:30 PM. |
![]() |
![]() |
![]() |
#39 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 130628
Join Date: Aug 2015
Location: Athens, Greece
Device: Kobo Aura 6'', Kobo Aura H2O, Kobo Glo HD
|
The patches works great on my H2O and fw 3.13.1!
(thnx God! Now I have a Greek keyboard and searching in my library is now so easy!!!) Thanks GeoffR!!!! I have just one question... I'm using especially epub with my reader and all of them have fixed line spacing.. Unfortunately I make those changes on my own (13.0 pt on every book), but I want to bypass them and use the line height slider of my H2O instead... (in that case, the slider is not responded at all...) I'm too lazy for re-encoded all of my books (again) with calibre and remove the line height with filter style information. ![]() There's a patch for that I want to achieve? Thank you for advance. |
![]() |
![]() |
![]() |
#40 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
|
|
![]() |
![]() |
![]() |
#41 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 130628
Join Date: Aug 2015
Location: Athens, Greece
Device: Kobo Aura 6'', Kobo Aura H2O, Kobo Glo HD
|
Thank you very much for your help, GeoffR!
I just saw your post in the 3.13.1 thread and I'll test this patch asap! ![]() |
![]() |
![]() |
![]() |
#42 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 130628
Join Date: Aug 2015
Location: Athens, Greece
Device: Kobo Aura 6'', Kobo Aura H2O, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#43 |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
|
![]() |
![]() |
![]() |
#44 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
![]() |
![]() |
![]() |
#45 |
Bookworm
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unofficial Sigil patches | varlog | Sigil | 8 | 11-12-2014 06:14 PM |
Index: Making a linked index in epub | virtual_ink | ePub | 21 | 10-19-2011 11:23 PM |
DR800 Long time to index files after upgrading firmware? | Albyr | iRex | 29 | 06-18-2011 05:23 PM |
How to apply the enhancements/patches ? | nubbol | Calibre | 2 | 09-04-2010 11:42 PM |
iLiad Applying DR GTK+ patches to iLiad | ericshliao | iRex Developer's Corner | 16 | 03-14-2010 05:39 AM |