![]() |
#1036 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 2202292
Join Date: Nov 2018
Device: Kobo Libra 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#1037 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,688
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
I got tired of the way the font menu has sliders that give no indication of what the actual values are for each font setting, so I wrote a small script to gather this information from Kobo eReader.conf. Note that your font settings are saved across books, and changing books does not immediately update the contents of Kobo eReader.conf, so the script may provide outdated information if you switch between books and then invoke the script before using the font menu to adjust anything.
A screenshot of the script output is attached below. Code:
# Typography Settings Aggregator 1.0 (2023-06-20) by Aleron Ives # # This script aggregates typography settings for Kobo e-readers, # since the font menu doesn't tell you what the actual numbers are. # Be sure the various typography settings are present in Kobo eReader.conf # before using this script, as most settings are not written to the # configuration file until you modify them at least once. # # You can use NickelMenu to invoke this script like so: # menu_item :reader :Typography :cmd_output :500 :/mnt/onboard/.adds/fontcheck.sh # Gather the typography settings font=$(grep FontFamily "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) size=$(grep FontSize "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) weight=$(grep FontWeight "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) spacing=$(grep LineHeight "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) lmargin=$(grep LeftMargin "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) rmargin=$(grep RightMargin "/mnt/onboard/.kobo/Kobo/Kobo eReader.conf" | cut -d= -f2) # Format and display the results echo Font: $font echo Size: $size echo Weight: $weight echo Spacing: $spacing echo Margins: $lmargin, $rmargin |
![]() |
![]() |
Advert | |
|
![]() |
#1038 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Thanks for your sample code.
![]() I just thought I'd mention that you may need to revisit the code for FontWeight. The .conf file can contain many of these lines, one per font-family that you've ever adjusted the weight for. e.g. Code:
[Reading] readingFontWeight\Georgia=0.19 readingFontWeight\IBM%20Plex%20Serif=0.63 readingFontWeight\Kobo%20Nickel=0.48 readingFontWeight\Libre%20Baskerville=0.8 readingFontWeight\LinuxLibertineG=0.65 P.S. Weight isn't a value I'm particularly interested in seeing, so please don't do any extra work on my behalf. |
![]() |
![]() |
![]() |
#1039 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
Yes, this works, but the Weight line in the output popup contains a number for each font weight present in the .conf file. In my case, there are 10 weight values on one line, each separated by a space.
The numbers are the weights of each font in alphabetical order as they appear in the .conf file. |
![]() |
![]() |
![]() |
#1040 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,688
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
Interesting! I only read in Georgia, so I didn't know the configuration file would store weights for each font face. That seems like an odd choice to me, since it doesn't store the font size on a per-font basis. The quick and dirty solution is to either not parse the weight at all or to delete all of the extra weight lines from the configuration file and only keep the one for the font you actually read in. You can still change the font face, as the extra weight entries won't get created again unless you adjust the weight of the other fonts.
|
![]() |
![]() |
Advert | |
|
![]() |
#1041 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Probably that most fonts are not that far apart in height so the same setting can be used for all fonts while the weight is more likely to be on a per font basis.
|
![]() |
![]() |
![]() |
#1042 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 391602
Join Date: Oct 2009
Location: Chicago, IL USA
Device: Sony PRS-350; Kobo Clara HD; Kobo Clara 2E; Kobo Clara BW
|
I change the font with each new book. Seems more interesting and less tiring. I use seven different fonts regularly, and once in a while another two or three. Almost every font requires its own separate weight.
And I try to keep the same number of lines per screen, so while the line height stays the same (with one exception), the font size often needs to be changed. |
![]() |
![]() |
![]() |
#1043 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2022
Device: Libra 2
|
Hi! I tried installing this program but I just can't figure out were to write the scrips to make them work (I don't know anything about coding). I gave up so I'd like to remove the NickelMenu option from my home. Does anybody know how to completly uninstll the program? I've tried resetting the e-reader already...
|
![]() |
![]() |
![]() |
#1044 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 737
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
|
Removing NickelMenu:
1. Ensure your Kobo is powered on, then connect it to your computer. 2. Create a file named uninstall in .adds\nm. 3. Safely eject your Kobo, then unplug it. 4. Allow your Kobo to reboot. |
![]() |
![]() |
![]() |
#1045 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#1046 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2022
Device: Libra 2
|
thank you for the reply! it still won't work... I managed to understand how to make it work but now I just want to delate the NickelMenu icon next to the main one... "uninstall" doesn't do the job, do you know another method?
|
![]() |
![]() |
![]() |
#1047 |
Teluk Biru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 154
Karma: 348662
Join Date: Jan 2023
Device: Kobo Clara 2E
|
check PM
|
![]() |
![]() |
![]() |
#1048 |
Connoisseur
![]() Posts: 58
Karma: 10
Join Date: Feb 2018
Location: France
Device: Kobo H2O edition 2
|
Install koreader on a 7,8 inch 300 DPI E-reader , only kobo device ?
Hello i have Kobo h2o with koreader ( wich i Relay like ) and tried to get à 7,8 inch 300 DPI e reader to try an other e reader
So i bought onyx boox tab mini c and inkpad 4 , but i préfèr Kobo with koreader wich is a much better os , much more customisable . Tab mini c is great but thé screen is grey if you don t avec the front light . And with a mac , it s very difficult to transfer epub ( androïd transfer is a réal mess ) Inkpad 4 has a beautifull screen but the os is buggy and slow So my question is : on what device could we install koreader ? Only kobo device ? Every kobo ? On Kobo sage ( unless this One has week battery) ? Thanks ! |
![]() |
![]() |
![]() |
#1049 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Any Kobo and most eink Android and regular Android. For Android download apk from Git.
|
![]() |
![]() |
![]() |
#1050 |
Connoisseur
![]() Posts: 58
Karma: 10
Join Date: Feb 2018
Location: France
Device: Kobo H2O edition 2
|
Which kobo for nickel menu and ko-reader ?
Hello, I love Koreader which is for me the best alternative system, far ahead of Kobo, kindle, onyx boox, or pocketbook
there is everything we need, I can't live without it On which e-readers can it be installed? Only Kobos? All the kobos? Does it work on the Kobo sage, and allows it to draw less on the battery since it seems that the sage really has a very low battery. I'm on h2o v2 and it works great with koreader, but I would like to have a 7.8 screen and 300 DPI and the possibility of listening to audio books with small speakers, I tried the boox tab mini C which is great, but the bone is much worse, I also tried the pocket book inkpad 4, good too But the same, and in addition there are big bugs in their system Thank you for sharing your knowledge in this forum. Bonjour, j’adore Koreader qui est pour moi le meilleur système alternatif , loin devant Kobo, kindle, onyx boox, ou pocketbook il,y a tout ce dont on a besoin, je ne peux plus m’en passer Sur quelles liseuses peut on l’installer ? Uniquement les Kobo ? Toutes les kobos ? Marche t il sur la Kobo sage , et permet il de moins tirer sur la batterie puisqu il paraît que la sage a vraiment une batterie très faible . je suis sur h2o v2 et ça marche super avec koreader, mais j’aimerais avoir un écran 7,8 et 300 DPI et la possibilité d’écouter des livres audios avec des petits baffles , j’ai essayé le boox tab mini C qui est super , mais l os est beaucoup moins bon , j ai aussi essayé le pocket book inkpad 4 , bien aussi Mais idem, et en plus il y a de gros bugs dans leur système Merci à vous de partager vos connaissances dans ce forum |
![]() |
![]() |
![]() |
Tags |
kobo, launcher, ldpreload, nickel |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 04:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 06:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 02:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 01:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 06:42 AM |