| 
			
			 | 
		#121 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I would have thought that would be OK. Unless it is doing different checks on the result than when an update is found during a sync.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#122 | 
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry for the crosspost, but is there maybe a patch (or one to make) to disable Hyphenation in kepubs? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	See my other post. https://www.mobileread.com/forums/sho...&postcount=257 In Dutch this is done very bad.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#123 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 However the publisher can override the default in the book's stylesheet, so you might need to remove the -webkit-hyphens property (or set -webkit-hyphens: none;) as well. Edit: Does the KoboTouchExtended driver turn hyphenation on when it creates the kepub? You might need to change something there too. Last edited by GeoffR; 06-04-2015 at 06:16 AM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#124 | |
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			[QUOTE=GeoffR;3112152]Hyphenation in kepubs defaults to off, but the default is changed to on if you select full justification from the Aa menu. The `Set kepub hyphenation` patch has an alternative to prevent it being turned on when you select full justification. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			[quote] I must look in to this, for now it keeps using hyphenation. I don't understand but if I, in my mind,convert the words that have been cut off it looks like it uses "the english way" they are mostly correct,but in my language (and I think almost every language) hyphenation is done at another way. It treat the book in my language as an english book making it rather useless for all other languages. Kickin in an open door: kobo hasn't done this at a smart way. We are lucky if you keep up the patching,and kepub isn't a wide supported format here. I can't recall/remember if I use the full justification button. Quote: 
	
 Maybe I can set Code: 
	p {
  hyphens: none;
}
Last edited by Nick_1964; 06-04-2015 at 06:47 AM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#125 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			KEPUB automatic hyphenation is broken in English too, it is not just a problem with Dutch. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	From what I read in the KoboTouchExtended driver thread the driver has an option to turn on hyphenation when it creates the kepub, so you will need to make sure that option is turned off. But the publisher might also have turned hyphenation on, so to turn it off you could add something like body,div,p { -webkit-hyphens: none !important; } to the book's stylesheet (which you could do automatically for all books by adding it to kobo_extra.css and enabling the "Modify CSS" option in the driver.)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#126 | |
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 One of them is turn hyphenation on, but it is not checked (so it must be off) but after using it, I opened the book that was transferred with the KoboTouchExtended and it has an hyphenation.css added to it. Code: 
	* {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-after: 3;
	-webkit-hyphenate-before: 3;
	-webkit-hyphenate-lines: 2;
	hyphenate-after: 3;
	hyphenate-before: 3;
	hyphenate-lines: 2;
}
h1, h2, h3, h4, h5, h6, td {
	-moz-hyphens: none !important;
	-webkit-hyphens: none !important;
	hyphens: none !important;
}
So it seems that I have to go back to epub.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#127 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			[QUOTE=Nick_1964;3112166][QUOTE=GeoffR;3112152]Hyphenation in kepubs defaults to off, but the default is changed to on if you select full justification from the Aa menu. The `Set kepub hyphenation` patch has an alternative to prevent it being turned on when you select full justification. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
 Code: 
	* {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	-webkit-hyphenate-after: 3;
	-webkit-hyphenate-before: 3;
	-webkit-hyphenate-lines: 2;
	hyphenate-after: 3;
	hyphenate-before: 3;
	hyphenate-lines: 2;
}
h1, h2, h3, h4, h5, h6, td {
	-moz-hyphens: none !important;
	-webkit-hyphens: none !important;
	hyphens: none !important;
}
Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#128 | |
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Ticking the turn hyphenation on of off in the kobotouchextended plugin doesn't make any sense (it doesn't turn it off) here so I gonna try the kepub output plugin, if that doesn't work I try to use the kobo_extra.css Thank you again  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#129 | ||
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#130 | |
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 820 
				Karma: 6528026 
				Join Date: Sep 2012 
				
				
				
				Device: Kobo Elipsa 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#131 | 
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Still struggling with the Hyphenation part. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	When I change and enable the patch for a Glo HD like this ( enable patch and put off Hyphenation forever ) Code: 
	<Patch>
patch_name = `Set kepub hyphenation`
patch_enable = `yes`
#
# The built-in kepub stylesheet has a line "* { -webkit-hyphenation: auto; }"
# to turn on hyphenation, but it is only used if the device's justification
# button is set to full justification. With this patch enabled hyphenation
# will always/never be turned on, regardless of justification button setting.
#
# (Note that if the publisher has set the hyphenation in the book's stylesheet
# then that will override the built-in stylesheet.)
#
# Alternative 1: Always turn kepub hyphenation on
#replace_bytes = 91FA92, FC F6 7C E5, 01 20 01 20
# Alternative 2: Never turn kepub hyphenation on
replace_bytes = 936B54, FC F6 7C E5, 00 20 00 20
</Patch>
e:\Kobo patches\glo\patch_kobo_3150\tools\pa32lsb.exe: line 830 in 'e:\Kobo patc hes\glo\patch_kobo_3150\3.15.0_source\libnickel.so .1.0.0.patch': replace_bytes m ismatched data. ERROR processing e:\Kobo patches\glo\patch_kobo_3150\3.15.0_source\libnicke l.so. 1.0.0.patch Something is wrong with the value.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#132 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Fixed `Set kepub hyphenation` patch.
			 
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#133 | 
| 
			
			
			
			 Bookworm 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 975 
				Karma: 768585 
				Join Date: Aug 2010 
				Location: Netherlands 
				
				
				Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you, now the patch works. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I still keep struggling with the hyphenation. As I use the extended driver to send the epub to the book and make it a kepub there, I had to disable the KoboTouch driver 2.1.8 from David. So adding an extra line in : kobo_extra.css does not work. (as in root,does that mean just total root or the .kobo directory ?) For the koboTouchExtended (Joel 2.3.3) driver there are also extra css files to make, but they are device independant names and directory's and I still search what it would be for the glo hd (what name of the css file and where to put it) Last edited by Nick_1964; 06-06-2015 at 08:16 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#134 | 
| 
			
			
			
			 Librarian 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 347 
				Karma: 72225 
				Join Date: Apr 2015 
				Location: Liège - Belgium 
				
				
				Device: kobo gloHD - KA1 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi ! In my early tests, I found that kepub hyphenation could be achieve in a good way by using ''text-align: justify’’ in the css of the book, the calibre plugin ''hyphenate this!’’ (which add shy hyphens) and deactivate justification in aA menu. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			This way, the hyphen are 99,9% corrects with all the languages. (NB : the correct language of a book has to be set in metadata of calibre for the plugin to function correctly) without messing with any of the default css on the device. Last edited by cramoisi; 06-06-2015 at 08:27 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#135 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821 
				Karma: 19162882 
				Join Date: Nov 2012 
				Location: Te Riu-a-Māui 
				
				
				Device: Kobo Glo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The instructions for the KoboTouchExtended driver have me confused too. I think you can just put kobo_extra.css in the root directory of the device like you do with the standard KoboTouch driver, but maybe you need to copy it to the Calibre plugin directory with the device-specific name like kobo_extra_AURAHD.css?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 10:59 AM | 
| Instructions for patching firmware 3.11.0 | GeoffR | Kobo Developer's Corner | 226 | 06-01-2015 06:32 AM | 
| Instructions for patching firmware 3.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 06:14 AM | 
| Instructions for patching firmware 3.12.0 | GeoffR | Kobo Developer's Corner | 165 | 02-07-2015 10:22 AM | 
| Instructions for patching firmware 3.2.0 | DNSB | Kobo Developer's Corner | 66 | 12-05-2014 08:28 AM |