| 
			
			 | 
		#16 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 920 
				Karma: 275656 
				Join Date: Jun 2016 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | |
| 
			
			
			
			 eBook-Reader-Fan 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175 
				Karma: 444178 
				Join Date: Sep 2012 
				Location: Saarbruecken / DE 
				
				
				Device: Kobo Aura H2O 2nd Edition 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@geek1011 thank you very much for the patches. They works very fine on our readers (H20 2nd Edition, GloHD and Glo).  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
 Here are the links to the patcher configurations we use: Patcher for Firmware 4.15.12920 für Kobo Aura H2O 2nd Edition 1st Version https://www.dropbox.com/sh/x11b8v6fa...-WpACzc7a?dl=0 Patcher for Firmware 4.15.12920 für Kobo Glo https://www.dropbox.com/sh/48v6utf0e...H-9Y8I33a?dl=0 Patcher for Firmware 4.15.12920 für Kobo Glo HD https://www.dropbox.com/sh/aq2t0ddd2...uFONzNW-a?dl=0  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,811 
				Karma: 7423683 
				Join Date: May 2016 
				Location: Ontario, Canada 
				
				
				Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,269 
				Karma: 16544702 
				Join Date: Sep 2009 
				Location: UK 
				
				
				Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm not sure I'm entitled to a say but I'd vote for GeoffR's variation becoming the standard version of the patch because of it's more granular customisation. This is assuming you think it will be maintainable across new firmware upgrades.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,811 
				Karma: 7423683 
				Join Date: May 2016 
				Location: Ontario, Canada 
				
				
				Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm more asking about if he wants it included as-is. It's not much harder to maintain, as I just need to check the value at the beginning of the function when I update it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#23 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			While patching my Kobo Touch (A), I received this Log: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Spoiler: 
 The patch in question has this settings: Code: 
	Un-Force user font-family in KePubs:
  - Enabled: yes
  - Description: |
      The KePub reader uses a very heavy-handed method of setting the font selected
      by the user, overriding all fonts set by the publisher in the book unless
      "Publisher Default" is selected.
      This patch lets the font-family set by the publisher in the KePub stylesheet
      override the font-family selected by the reader from the device in some
      cases, which allows a mix of user-selected and publisher-selected fonts.
      Alternatives 1-3 give increasing preference to the publisher-selected fonts.
  - FindBaseAddressString: "* { font-family: %1 !important; }\n"
    #
    # Alternative 1:
    #     * { font-family: %1 !important; }\n
    # --> div,p{font-family:%1!important; }\n
  - ReplaceString:
    #  Offset: 0
    #  Find: "* { font-family: %1 !important; }\n"
    #  Replace: "div,p{font-family:%1!important; }\n"
    #  MustMatchLength: yes
    #
    # Alternative 2: (Similar to ePub default)
    #     * { font-family: %1 !important; }\n
    # --> body,p{font-family:%1!important;}\n
  - ReplaceString:
      Offset: 0
      Find: "* { font-family: %1 !important; }\n"
      Replace: "body,p{font-family:%1!important;}\n"
      MustMatchLength: yes
    #
    # Alternative 3: (similar to ePub with `Un-force font-family override p tags`)
    #     * { font-family: %1 !important; }\n
    # --> body{font-family:%1 !important; }\n
# - ReplaceString:
#     Offset: 0
#     Find: "* { font-family: %1 !important; }\n"
#     Replace: "body{font-family:%1 !important; }\n"
#     MustMatchLength: yes
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#24 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 920 
				Karma: 275656 
				Join Date: Jun 2016 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#25 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088 
				Karma: 11502975 
				Join Date: Mar 2013 
				Location: Guben, Brandenburg, Germany 
				
				
				Device: Kobo Clara 2E, Tolino Shine 3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#26 | 
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20 
				Karma: 2070024 
				Join Date: Feb 2017 
				Location: UK 
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can anyone get "ePub fixed/adjustable top/bottom margins" to work? I want to make the top and bottom margins adjustable so I leave everything commented but all I got is this. The margins are fixed. 
		
	
		
		
			This patch worked on GeoffR's version so I'm not sure what I did wrong.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#27 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,811 
				Karma: 7423683 
				Join Date: May 2016 
				Location: Ontario, Canada 
				
				
				Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 What exactly do you mean by GeoffR's version? He updated the patch himself: https://github.com/geek1011/kobopatc...818727465c1d11.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#28 | |
| 
			
			
			
			 Member 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20 
				Karma: 2070024 
				Join Date: Feb 2017 
				Location: UK 
				
				
				Device: None 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]()  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#29 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 From your screenshot I guess you have enabled the Reduce top/bottom page spacer patch? (in nickel.yaml) If so then you should also edit the last line of the ePub fixed/adjustable top/bottom margins patch to reflect the new size of the built-in margins: Spoiler: 
 Edit: Two more things to check: * Check that the book really is an ePub. The adjustable top/bottom margins stopped working for KePubs in firmware version 4.12.12111. * Check that the book doesn't have an Adobe XPGT stylesheet: If it does then use the Modify Epub plugin in Calibre to remove it. Last edited by GeoffR; 06-03-2019 at 12:09 AM. Reason: Two more things to check:  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#30 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005 
				Karma: 98078 
				Join Date: Jul 2006 
				Location: Atlanta, GA 
				
				
				Device: iPad Mini 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Feeling really stupid, but I can't seem to get the update to run.  New to Kobo, but I've done the following per the instructions: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1. Upgraded to 4.15.12920 2. Downloaded patched version and unzipped 3. Downloaded original 4.15.12920 firmware 4. Copied original 4.15.12920 zip file to SRC folder in unzipped patched version 5. Copied patched folder to root directory of kobo 6. Unmounted I've read elsewhere that the update should start automatically, but that is not happening.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| kobopatch, patch, patch32lsb, patches, patching | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Instructions for patching firmware 3.18.0 | GeoffR | Kobo Developer's Corner | 151 | 10-21-2016 07:15 AM | 
| Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 06:35 PM | 
| Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 06:20 AM | 
| Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 03:12 PM | 
| Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x | GeoffR | Kobo Developer's Corner | 285 | 08-27-2014 11:06 AM |