05-27-2022, 10:25 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2022
Device: Kindle Kobo
|
Delete unused fonts
Hi all,
I am looking for a way to delete those unused system fonts like Amasis, Caecilie and else. Been searching for a time but no luck. Please if anyone know, Thanks alot! |
05-27-2022, 12:55 PM | #2 |
Enthusiast
Posts: 29
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
|
i haven't tried this but (and don't know if there are any "gotchas" removing system fonts)..
- turn "devmodeon" (in search if you haven't already turned it on. You may need to restart your device). - turn wifi on - telnet to your device (get your IP from device settings. Log in as "root") - do "find / -name fonts" - cd to directory (likely "/usr/local/Qt-5.2.1-arm/lib/fonts") - ls (to confirm files) - rm -i Amasis* Caecilie* (etc) # "-i" should enforce confirmation prompt if you are unfamiliar with the rm command (you do NOT want to "rm -r /" !!!!) Re-installing the firmware patch will recover these deleted font files. Kobo's don't seem to dynamically cache fonts.. so you may have to restart the device after deleting the font files. Last edited by sdothum; 05-27-2022 at 01:00 PM. |
Advert | |
|
05-29-2022, 10:35 PM | #3 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2022
Device: Kindle Kobo
|
Quote:
Thanks for your details guide, however, im stuck at telnet step, it always failed to connect to port 13531 and hence further steps cannot continue. I have enable the telnet client in Window features. Can you please troubleshooting me with this? |
|
05-30-2022, 06:01 AM | #4 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
It's probably a bad idea to delete included fonts, even if you think you don't want them.
|
05-30-2022, 07:58 AM | #5 | |||
Groupie
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
If you happen to use patch, I've been using the following method for a few years:
1. Append the following three lines into the `kobopatch.yaml` file in the patch (Note there is indention of the last two lines, but no indention after I pasted it here, check the context of the file for the right indention) Quote:
Quote:
Quote:
Last edited by codychan; 05-30-2022 at 10:14 AM. |
|||
Advert | |
|
05-30-2022, 09:44 AM | #6 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
You should be using port 23.
|
05-31-2022, 06:50 AM | #7 |
Enthusiast
Posts: 29
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
|
Yes, the default telnet port.
In your terminal window, issue: telnet <ip address> 23 |
06-06-2022, 07:04 PM | #8 |
Guru
Posts: 711
Karma: 2483502
Join Date: Jul 2011
Device: Kobo Aura
|
|
07-05-2022, 07:53 PM | #9 |
Connoisseur
Posts: 72
Karma: 2202292
Join Date: Nov 2018
Device: Kobo Libra 2
|
I tried both of these methods and neither worked - I'd really like to remove unused fonts as they push the fonts I actually use to the second page of the list (minor thing but pretty annoying).
For the kobopatch method, I added the lines to the kobopatch.yaml file (with appropriate indentation), created change_fonts.sh and change_fonts.rules in src, and ran kobopatch.bat to get a new KoboRoot.tgz. From the log.txt file it seems to have worked as it should, but after installing on the kobo there seem to be no changes - all fonts remain in the list. For the telnet method, I turned devmodeon (double checked that it was actually on), turned on telnet on my computer, connected both devices to the same wifi network, ran "telnet <ip address> 23" in terminal, and got "Could not open connection to the host, on port 23: Connect failed". I've got no clue why these aren't working. Another option would be to reorder the font list so that unwanted fonts move to the second page of fonts in the selector list. Anyone know if this is possible? |
07-05-2022, 08:35 PM | #10 | |
Enthusiast
Posts: 29
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
|
Quote:
telnet <ip address of your e-reader> 23 Get your ip address from "settings -> device info" on your Kobo. The port should default to 23 (but you can provide if otherwise). You may need to check your "energy saving" setting to make sure your device doesn't go to sleep while you are connected to it -- you may lose your connection if sleep mode shuts down the telnet service daemon (telnetd). Last edited by sdothum; 07-05-2022 at 08:38 PM. |
|
07-05-2022, 09:19 PM | #11 |
Grand Sorcerer
Posts: 12,168
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
You also might need to check your router; some have security settings to restrict access to wifi devices.
Sent from my Pixel 4a using Tapatalk |
07-06-2022, 03:55 AM | #12 |
Ebook reader
Posts: 390
Karma: 5899335
Join Date: Oct 2008
Location: York, England
Device: Kobo Aura H2O (ed 2, v1), Kobo Forma, Kobo Libra 2
|
I wonder how often the OP changes font?
I use Bookerly for everything so don't even see the list of available fonts for it to annoy me |
07-06-2022, 05:43 AM | #13 | |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-06-2022, 06:37 AM | #14 | |
Groupie
Posts: 159
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
Quote:
If possible, I'd like to remove all the fonts that are not used by Kobo OS. Is there such kind of list? Last edited by codychan; 07-06-2022 at 08:37 AM. |
|
07-06-2022, 07:42 AM | #15 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I suggest asking in the patch thread (for the current firmware) which fonts you can remove without any detrimental effect.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Delete unused stylesheet classes" problems with overloaded styles | AlanHK | Sigil | 82 | 01-24-2021 11:10 AM |
Find unused embedded fonts? | Freakeao | Calibre | 1 | 12-27-2020 06:48 PM |
delete unused style classess - no scroll bar | cybmole | Sigil | 5 | 11-08-2012 05:21 AM |
Delete files in PC not equal to delete in Sony reader 505 | sheilalayoli | Sony Reader | 5 | 07-12-2009 03:13 PM |
iLiad The six unused connections | design256 | iRex Developer's Corner | 10 | 09-13-2006 08:52 AM |