![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
Custom dict font size is too small
I copy some custom dict. to folder "custom dict" on my Clara. However the font size is too small to read (as picture). The temporary solution is use Large Print Mode with increase all items size which is too big for me.
Could you please help with any solution to adjust the font size for these dicts.? Thank you very much. Leo |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,887
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I suggest you look at the dictionary code. It's possible the font size is hard coded.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
|
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
Quote:
I try to find the author & source but his facebook is not available anymore. Is it possible for you to have a quick look over those files? Thank you very much. Link: https://drive.google.com/drive/folde...B2?usp=sharing |
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,360
Karma: 165628573
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might also want to check in the KoboPatch thread. One of the items is "Dictionary text font-family/font-size/line-height" in the libnickel set of patches which might be able to increase the dictionary font size for you.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
Quote:
Thank you very much for your detail guide. I just find out this maybe the bug of new firmware. Maybe wait for next release. |
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,887
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've had a look and the font size is not hard coded. I think this is the way it is and DNSB's suggestion is the way to fix the problem. I don't think it's a bug.
|
![]() |
![]() |
![]() |
#8 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Quote:
I'm at a loss as to exactly why a <table> should default to displaying so small (about 50% of 'normal'), nevertheless I think it can be fixed without too much extra effort using the latest firmware 4.25.15875 and a small custom addition to the kobopatch mentioned by DNSB. This patch as-is will allow you to change dictionary font-size but it will affect the font-size of all dictionaries you use. If you're already a kobopatch user and this is an acceptable result, then it's your simplest solution. If this isn't an acceptable result then I can post a small patch addition which should target only the dictionary text in tables to display bigger, i.e. it should fix these 2 Vietnamese dictionaries without making the text too large in other dictionaries. If you want to pursue this then I need to know that you're already comfortable using the kobopatch system and that you've already updated your Kobo to fw 4.25.15875. The colours in the attached screenshot appear because they are hard-coded in the dictionary but obviously you're not going to see them in real life on the Kobo. |
||
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
|
![]() |
![]() |
![]() |
#10 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura H2O v2
|
Quote:
It would be great if you can help with these dictionaries. To answer your questions: 1- Yes, I've updated to fw 4.25.15875 2- Since I'm a newbie, I didn't touch anything about kobopatch. However, I'll try to patch the system to use your modification. Thank you very much. |
|
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
As DNSB said, the patch you'll need is called Dictionary text font-family/font-size/line-height and can be found in the libnickel.so.1.0.0.yaml in the downloaded kobopatch pack. As a first step, read this patch's help notes and try enabling it, customising the font-size option then installing the update to your Kobo. You need to be comfortable with this because you will need to repeat the process for every firmware update. If you're sure that you're happy with the general patching process come back and I'll post the extra customisation which you'll need to re-add to this patch for every firmware update. |
|
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,887
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
@geek1011's dictutil utility would probably help but you'd still need programming skills to convert the source HTML into dictutil's source format. It would have been much better if the creator of these dictionaries had put a bit more thought (and testing) into their creation. Much as I'm grateful that others have shared so many different custom dictionaries many of the ones I've tried don't look as if they've had much TLC regarding what the final result actually looks like on a Kobo. |
|
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,801
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
dictutil can unpack and repack dictionaries as HTML. There is also another tool included with it to decompile dictionaries into dictutil's format for easier editing. Note that neither tool fully supports v3 dictionaries yet (this will only be a problem for dictionaries with prefix_exceptions or a few special cases with multi-file prefixes).
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,246
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
So there you go, Jon, a little project for you. ![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
{font-size: 75%;} to substitute SMALL CAPS | chaot | Workshop | 18 | 02-10-2017 05:03 PM |
Glo Is there a way to increase font size in the dict lookup window? | yayo | Kobo Reader | 27 | 06-17-2013 12:31 PM |
Font Size on New Books Is Too Small! | go4me77 | General Discussions | 2 | 04-24-2012 11:51 AM |
PRS-300 Med font size too big, but small font size too small | eli2k | Sony Reader | 4 | 05-28-2010 09:47 AM |
Small font size with epub in latest software. | timt1961 | HanLin eBook | 7 | 09-21-2009 06:55 AM |