![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
![]()
I recently upgraded to the latest firmware and need a little help with editing the patch. The extent of my knowledge/experience is "enabled: yes/no." I am attempting to change the font size in the dictionary patch (thank you, jackie_w) but am getting the following:
files: src/libnickel.so.1.0.0.yaml reading entry contents loading patch file 'src/libnickel.so.1.0.0.yaml' (detected format kobopatch) | parsing patch file: unmarshaling to map[string]yaml.Node --> could not parse patch file: yaml: line 1282: did not find expected '-' indicator I'm not exactly sure what the "expected '-' indicator" is and where it should be placed. With the exception of my un-commenting, the line (1282) below is unedited: # Un-comment and edit next line to change font-size - ReplaceString: {Offset: 15, Find: "%1px", Replace: "32px", MustMatchLength: yes} Any assistance would be greatly appreciated. Thank you. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,245
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
I'm not sure without seeing the whole patch, but the un-commented line 1283
Code:
- ReplaceString: {Offset: 15, Find: "%1px", Replace: "32px", MustMatchLength: yes} If that's what you already have and it's still not working then please post the whole contents of your version of patch Dictionary text font-family/font-size/line-height. Wrap it in CODE tags so that the forum monospace font will display spaces more easily. It's quite a long patch so you'd better wrap it in SPOILER tags, too. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
@jackie_w-
I hope this is what you need: Spoiler:
Note: I have not altered anything other than "enabled:yes" Thank you, Patricia |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,245
Karma: 16537488
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Yes, as suspected, it's an indentation error. You've got one too many leading spaces. The first character hyphen (before ReplaceString) should be directly under the # of the commented line above it.
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
Quote:
Update: Success! ![]() Many thanks for your assistance, Patricia Last edited by Skydog; 05-18-2020 at 10:42 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch STR dictionary font size | Gardenman | Barnes & Noble NOOK | 3 | 10-11-2011 10:07 AM |
360 Plus Coolreader Dictionary font size | Notrite | PocketBook | 0 | 08-13-2011 07:59 PM |
PRS-350 Dictionary and font size issue? | amujee | Sony Reader | 13 | 02-19-2011 10:48 PM |
Font size of dictionary | dilepton | PocketBook | 1 | 12-27-2009 03:13 AM |
Small font size with epub in latest software. | timt1961 | HanLin eBook | 7 | 09-21-2009 06:55 AM |