09-13-2016, 06:45 PM | #1 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
nickel GUI not displaying certain characters
Problems of the GUI not displaying certain characters, even though a suitable custom font is installed, have been mentioned several times. Lately, I had this problem myself. I installed a Sanskrit-English dictionary (Sanskrit being transliterated with diacritics). In order to be able to search the dictionary, I patched the keyboard. But some characters did not show (cf. screen_01.png). They did also not show in the list of suggestions (cf. screen_01.png, screen_02.png). The problem is that the automatic font selection does not always yield the wished for results. What I tried was to remove the font or the fonts that get applied instead of the font that should be applied. Actually, I renamed the directory that contains the on-board fonts.
Code:
mv usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fontsx Last edited by tshering; 09-13-2016 at 06:50 PM. |
09-14-2016, 06:04 PM | #2 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
The following on-board fonts are preventing the display of the characters in question: Avenir, Amasis, Caecilia, Georgia, KBJ-UDKakugoPr6N-M. This leaves in the directory of on-board fonts on my device the following files:
Code:
[root@(none) ~]# ls usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts GillSans-Bold.ttf Malabar-Bold.ttf GillSans-BoldItalic.ttf Malabar-BoldItalic.ttf GillSans-Italic.ttf Malabar-Italic.ttf GillSans.ttf Malabar.ttf Gothic MB101.otf OpenDyslexic-Bold.otf KBJ-TsukuMinPr6N-RB.ttf OpenDyslexic-BoldItalic.otf KoboNickel-Bold.ttf OpenDyslexic-Italic.otf KoboNickel-BoldItalic.ttf OpenDyslexic-Regular.otf KoboNickel-Italic.ttf Ryumin.otf KoboNickel.ttf The important file is KBJ-TsukuMinPr6N-RB.ttf. Without it there would be no font left that the GUI can use before a book is opened. Curiously, the GUI does not display Japanese characters, even after opening a book. (It does however still display Japanese characters in books.) |
Advert | |
|
12-28-2016, 11:42 PM | #3 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura (2013)
|
Quote:
Can you explain step by step more detail as possible how you do it Thank you so much |
|
01-03-2017, 12:50 PM | #4 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
This will remove the following fonts from your device: Avenir, Amasis, Caecilia, Georgia, KBJ-UDKakugoPr6N-M. Since a firmware update will add these fonts again, you will have to repeat this after each firmware update. |
|
01-05-2017, 11:34 PM | #5 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura (2013)
|
Quote:
Can you tell me how you can create KoboRoot.tgz for delete every fonts except Kobo Nickel and i can fix it for my language Last edited by duongqw; 01-05-2017 at 11:56 PM. |
|
Advert | |
|
01-06-2017, 08:59 AM | #6 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
You can extract the content of KoboRoot.tgz with 7zip. You will find the script root\delete_fonts.sh. Use a unix style editor to modify it (This is important!). Then repack it again into KoboRoot.tgz. If you are using linux do not forget to set the executable flag. If you use 7zip under Windows you do not have to worry about this. This is the list of files of files: Code:
/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Amasis-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Amasis-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Amasis-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Amasis.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Caecilia.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgia.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiab.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiai.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiaz.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/GillSans-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/GillSans-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/GillSans-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/GillSans.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Gothic MB101.otf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KBJ-TsukuMinPr6N-RB.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KBJ-UDKakugoPr6N-M.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KoboNickel-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KoboNickel-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KoboNickel-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/KoboNickel.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Malabar-Bold.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Malabar-BoldItalic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Malabar-Italic.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Malabar.ttf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/OpenDyslexic-Bold.otf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/OpenDyslexic-BoldItalic.otf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/OpenDyslexic-Italic.otf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/OpenDyslexic-Regular.otf /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Ryumin.otf Last edited by tshering; 01-06-2017 at 09:04 AM. |
|
01-06-2017, 12:10 PM | #7 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura (2013)
|
Quote:
|
|
01-06-2017, 12:46 PM | #8 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Are you sure that KoboNickel includes all necessary characters? If not try to copy an appropriate font to "fonts" (and maybe delete KoboNickel too). |
|
01-06-2017, 10:02 PM | #9 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura (2013)
|
Quote:
seem delete font not work for me but rename folder Fonts is work but my way is too complex. How you rename the Folder Fonts like you first post by using Koboroot.tgz ? Last edited by duongqw; 01-06-2017 at 10:29 PM. |
|
01-07-2017, 07:27 AM | #10 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I just want to repeat: It is preferable to delete the files. |
|
01-07-2017, 08:14 AM | #11 | |
Member
Posts: 14
Karma: 10
Join Date: Oct 2016
Device: Kobo Aura (2013)
|
Quote:
|
|
01-07-2017, 10:50 AM | #12 |
Member
Posts: 20
Karma: 10
Join Date: Nov 2016
Device: Kobo Aura One
|
Just for my own curiosity, why don't we delete the original font (Georgia for example) and then rename the preferred font (Bookerly for example) into Georgia?
|
01-07-2017, 12:26 PM | #13 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
For my purposes the way I have it now is acceptable, since I have still a font on the device that is loaded from start (see post 2). (I can do without Japanese in the GUI.) |
|
01-09-2017, 04:28 AM | #14 | |
Member
Posts: 20
Karma: 10
Join Date: Nov 2016
Device: Kobo Aura One
|
Quote:
Either other mods I installed conflict, or I did it wrong elsewhere... Edit 1: The correct "font-deleting" method for me is to delete everything, except KBJ-TsukuMinPr6N-RB.ttf and Kobo Nickel. Edit 2: By doing so, the GUI display is perfect, but then if I click on any book, it just display a blank page. Next click brings me back to the home screen and the book selected will displayed as read. I guess some of the fonts I deleted are the cause of this bug. Again, it should be try and err. Last edited by stevenam; 01-09-2017 at 06:41 AM. |
|
01-09-2017, 10:12 AM | #15 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
If this does not work, it might perhaps help if you replace the references to deleted fonts by references to still existing fonts in the database (KoboReader.sqlite, content settings: ReadingFontFamily)! Edit: There is also an entry in the configuration file (Kobo eReader.conf) that determines which font is used when you open a book for the first time. You can try deleting this entry. Last edited by tshering; 01-09-2017 at 10:26 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Some characters (* + - /) not displaying | JavaJim | Devices | 7 | 09-11-2015 12:40 PM |
Displaying Chinese characters | John123 | Workshop | 11 | 05-05-2015 10:50 AM |
Displaying Chinese? Characters | Rand Brittain | ePub | 8 | 04-05-2014 02:51 PM |
Displaying ISBN column in the main GUI | tilleydog | Library Management | 26 | 02-25-2011 05:08 AM |
CE characters not displaying | citac | Sigil | 18 | 10-08-2010 09:07 AM |