|  01-01-2019, 02:50 AM | #1 | 
| Member  Posts: 18 Karma: 10 Join Date: Dec 2018 Device: Kobo Forma | 
				
				Changing system font
			 
			
			I'm a Vietnamese user that the current fonts don't support. I know how to add the support-Vietnamese font to when reading books. But their book titles still don''t show correctly because of the system font. Do you guy have any idea? | 
|   |   | 
|  01-01-2019, 07:33 AM | #2 | 
| Groupie            Posts: 153 Karma: 27950 Join Date: Nov 2018 Device: Kobo Aura One, Kobo Forma | |
|   |   | 
|  01-01-2019, 05:25 PM | #3 | |
| absolute beginner            Posts: 323 Karma: 1750999 Join Date: May 2017 Location: Go with the wind (43°19'17.7"N 2°00'19.4"W) Device: ka1 | Quote: 
 I made a patch (`Font-family and font-size bulk change`) in two parts (one for nickel and the second one for libnickel). Perhaps, you can test it (If you are brave  ). You must read carefully and put (into REPLACE) the font-family name that you want. If you have any... don't hesitate. Good luck. | |
|   |   | 
|  01-02-2019, 03:27 AM | #4 | |
| Member  Posts: 18 Karma: 10 Join Date: Dec 2018 Device: Kobo Forma | Quote: 
 I see that in your nickel part that has Bookerly font that supports Vietnamese characters. But I have no idea how to create a KoboRoot.tgz from the nickel-363.yaml | |
|   |   | 
|  01-02-2019, 10:17 AM | #5 | |
| absolute beginner            Posts: 323 Karma: 1750999 Join Date: May 2017 Location: Go with the wind (43°19'17.7"N 2°00'19.4"W) Device: ka1 | Quote: 
  ) and add the correspondent lines into kobopatch.yaml. You can see an example here. If you need more... don't hesitate. Good luck. EDIT: If you don't want to change font-size you can erase those lines. Last edited by jcn363; 01-02-2019 at 10:41 AM. Reason: Edit | |
|   |   | 
|  01-04-2019, 03:27 AM | #6 | |
| Member  Posts: 18 Karma: 10 Join Date: Dec 2018 Device: Kobo Forma | Quote: 
 I can change the setting font with your patch `Font-family and font-size bulk change`. Although there are still some parts using the old font, but it's better than the original firmware. And 1 last question, do you any discuss topic about hack/mod Kobo devices (especial Kobo Forma)? | |
|   |   | 
|  01-04-2019, 04:05 AM | #7 | |
| absolute beginner            Posts: 323 Karma: 1750999 Join Date: May 2017 Location: Go with the wind (43°19'17.7"N 2°00'19.4"W) Device: ka1 | Quote: 
 Instructions for patching firmware 4.12.12111 kobopatch request thread Good luck. | |
|   |   | 
|  01-04-2019, 04:16 AM | #8 | 
| absolute beginner            Posts: 323 Karma: 1750999 Join Date: May 2017 Location: Go with the wind (43°19'17.7"N 2°00'19.4"W) Device: ka1 | |
|   |   | 
|  01-04-2019, 05:04 AM | #9 | 
| Member  Posts: 18 Karma: 10 Join Date: Dec 2018 Device: Kobo Forma | 
			
			Wrong collection name I replaced the En-Vie dictionary to En-Ge dictionary. So when I choose English to Germany, it'll show English to Vietnamese. Wrong text in dictionary Could you fix those? | 
|   |   | 
|  01-04-2019, 06:39 AM | #10 | |
| absolute beginner            Posts: 323 Karma: 1750999 Join Date: May 2017 Location: Go with the wind (43°19'17.7"N 2°00'19.4"W) Device: ka1 | Quote: 
 For the second one, are you using any dictionary patch? Good luck. Edit: Adding new interface languages Adding new dictionaries to kobo Last edited by jcn363; 01-04-2019 at 06:54 AM. Reason: Edit | |
|   |   | 
|  01-04-2019, 07:45 AM | #11 | 
| Grand Sorcerer            Posts: 6,266 Karma: 16544702 Join Date: Sep 2009 Location: UK Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 | 
			
			If you want to change the font used in your dictionary pop-up you can use my patch called 'Dictionary text font-family/font-size/line-height - beta'. It is included in the kobopatch standard pack for 4.12.12111. Don't be put off by the word 'beta' in the name - it has been around for quite a long time   It can be found in the patch file libnickel.so.1.0.0.yaml. You will need to customise it to use your chosen Vietnamese font in the section 'Examples for customising font-family:' | 
|   |   | 
|  01-06-2019, 09:21 PM | #12 | 
| Member  Posts: 18 Karma: 10 Join Date: Dec 2018 Device: Kobo Forma | 
			
			Thank jcn363 and jackie_w. Your guys are genius!!! Now my Kobo is perfect completely for my reading. | 
|   |   | 
|  05-05-2020, 07:28 AM | #13 | |
| Enthusiast  Posts: 31 Karma: 10 Join Date: Apr 2020 Device: kobo libra h20 | Quote: 
 Code: Error: could not apply patches: invalid patch file 'src/font-patch-libnickel.yaml': patch "Font-family and font-size bulk change (part 2 of 2)": line 9: inst 3: FindReplaceString: replacement string 5 chars too short Code:  - FindReplaceString:
      Find:    "\n  font-family: Avenir;\n"
# When editing the replacement values below,
# BE CAREFUL NOT TO CHANGE THE LENGTH OF THE REPLACEMENT STRING!
      Replace: "font-family:Bitner;"
      MustMatchLength: yes | |
|   |   | 
|  05-05-2020, 09:17 AM | #14 | |
| Grand Sorcerer            Posts: 6,266 Karma: 16544702 Join Date: Sep 2009 Location: UK Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 | Quote: 
 Based on the code you posted above: Code: Find: "\n font-family: Avenir;\n" Replace: "font-family:Bitner;" Alternatively you might find the thread kobopatch users & non-Kobo-supported languages useful (particularly posts #1, #2 and the summary in post #63) if you want to change the Kobo GUI fonts (Georgia and Avenir) to ones which support your language better. | |
|   |   | 
|  05-07-2020, 07:18 AM | #15 | |
| Enthusiast  Posts: 31 Karma: 10 Join Date: Apr 2020 Device: kobo libra h20 | Quote: 
 i read another post about new `nickel menu` hack. i think if it is possible to overwrite my language supported georgia and avenir to kobo system fonts using script. sorry i'm very new to scripting-world. | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Changing default system font | haidinhtuan | Kobo Developer's Corner | 6 | 06-06-2017 04:25 AM | 
| Touch How can I change system font? | AlexViean | Kobo Developer's Corner | 12 | 06-06-2017 04:14 AM | 
| Changing PEs system DPI... works :) | helf | enTourage eDGe | 4 | 09-16-2013 02:02 PM | 
| Classic Larger system/menu font? | taosaur | Barnes & Noble NOOK | 2 | 12-19-2011 09:22 AM | 
| Can I extract the system font from the firmware? | manifestor | HanLin eBook | 4 | 03-18-2010 01:48 AM |