05-23-2021, 01:26 PM | #1 |
Member
Posts: 18
Karma: 10
Join Date: Mar 2020
Location: France
Device: Pocketbook Inkpad X
|
change of koreader menu fonts
I have fun translating or completing koreader's menus with Hosted Weblate.
I would also like to change some fonts to improve the aesthetics of the various menu layouts. This change does not work with a copy paste. Is it possible to change the fonts? |
05-23-2021, 01:34 PM | #2 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Changing stuff for yourself is pretty easy. The function
Code:
Font:getFace(font, size, faceindex) You just need to replace the font faces & sizes on each Font:getFace() invokation you'll want to change. Submitting changes upstream is harder, as you need to reach consensus. |
Advert | |
|
05-23-2021, 02:04 PM | #3 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Not that said fontmap can be overridden (via a `fontmap` table in the settings), no need to carry a patch .
https://github.com/koreader/koreader....lua#L196-L203 |
05-25-2021, 03:54 AM | #4 |
Member
Posts: 18
Karma: 10
Join Date: Mar 2020
Location: France
Device: Pocketbook Inkpad X
|
Hello, after a nightly update my custom fonts have gone in favor of the original fonts. Koreader, moreover very pleasant to use, is quite locked.
|
05-25-2021, 11:43 AM | #5 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I invite you to actually read my previous message.
|
Advert | |
|
05-25-2021, 12:19 PM | #6 |
Member
Posts: 18
Karma: 10
Join Date: Mar 2020
Location: France
Device: Pocketbook Inkpad X
|
sorry but, not being an English speaker, I do not understand the meaning of your message translated with google
Bonjour NiLuJe, Could you tell me more about how to save my custom fonts after updating koreader? I guess it's the yellow highlighted part of 'koreader / reader.lua' that needs to be changed but I don't know how. thanks in advance Last edited by danielk1591; 05-26-2021 at 03:43 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader and Fonts | Winkelschraube | KOReader | 15 | 10-07-2020 01:34 PM |
The Fonts menu | gogu1904 | KOReader | 6 | 08-21-2020 07:40 PM |
Koreader menu not displayed properly | transtar.s | KOReader | 12 | 09-24-2019 12:07 PM |
Selected 'only swipe' now I can't have KOReader menu back | libertango | KOReader | 1 | 02-16-2018 02:01 AM |
Kobo-advboot Nickel or KOReader startup menu | Ken Maltby | KOReader | 0 | 01-02-2016 02:22 PM |