|  09-21-2012, 04:44 PM | #706 | 
| Addict            Posts: 248 Karma: 892441 Join Date: Jul 2010 Device: K2i | 
			
			Ok I have some weird behavior here on my KT. I'm also using the ;fc-cache font hack (the one without actually any additional hack to install). After installing JBPatch 2.4.0 there are three additional fonts that show up in the Aa selection menu in any given book. HangulGothicMTC-Medium_E HeiseiMaruG MHeiGB18030C-Medium_E Those fonts are nowhere to be found within the user partition, forcing another ;fc-cache doesn't get rid of them, but deactivating the font hack does. So thats what I've done for the moment. I've seen at least one of the fonts mentioned in the font resizing topic here on mobileread and that only those 3 are showing for me might have something to do with me already having 6 other custom fonts installed and showing in the Aa menu. edit: Little specification - The strange fonts only show up once you've changed the fontsize preset via the GUI, having the plugin activated, but still set to the default fontsizes does not trigger it. Last edited by notimp; 09-21-2012 at 05:20 PM. | 
|   |   | 
|  09-21-2012, 05:10 PM | #707 | 
| BLAM!            Posts: 13,506 Karma: 26047202 Join Date: Jun 2010 Location: Paris, France Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E | 
			
			@notimp: FWIW, those are some of the default CJK fonts.
		 | 
|   |   | 
|  09-21-2012, 05:18 PM | #708 | 
| Addict            Posts: 248 Karma: 892441 Join Date: Jul 2010 Device: K2i | 
			
			Hah - interesting. So for some reason the font menu decides to list them, when the fontsizehack is enabled (and I guess you are using the ;fc-cache /fonts folder combo). Btw. Kindle system language is english and no, i can't read CJK signs, never had to..    Last edited by notimp; 09-21-2012 at 05:24 PM. | 
|   |   | 
|  09-22-2012, 04:19 AM | #709 | 
| Zealot            Posts: 127 Karma: 6744 Join Date: Dec 2011 Device: Kindle Touch, PW2, PW5 | 
			
			@ixtab discovered two side effects of the Font Size Patch. 1. Font size of titles of articles sent to Kindle will become VERY big (equal to the maximum font size). without patch: with patch: 2. for some books, eg, Alice's Adventures in Wonderland, the font size of the body text will become one size bigger than that of other books. and the Book title and Chapter titles will also expand to the maximum font size. hope these bugs can be fixed. thanks again. Last edited by yiming; 09-23-2012 at 09:09 AM. | 
|   |   | 
|  09-24-2012, 08:59 AM | #710 | 
| Member  Posts: 22 Karma: 12 Join Date: Mar 2012 Device: Kindle Touch | 
			
			@ixtab: Thanks for this great tool. I've just installed it on weekend, it's amazing.  I'm wondering why Amazon doesn't include this kind of features on the official firmwares... | 
|   |   | 
|  09-24-2012, 12:17 PM | #711 | 
| Penguin            Posts: 1,017 Karma: 4742434 Join Date: Jul 2012 Device: Kindle Touch 5.3.2.1 | 
			
			I have jbpatch v 2.40, and whenever I try to configure the text size to below 7, and I select that font size, it just stays on the size it's already at.
		 | 
|   |   | 
|  09-24-2012, 04:54 PM | #712 | 
| (offline)            Posts: 2,907 Karma: 6736094 Join Date: Dec 2011 Device: K3, K4, K5, KPW, KPW2 | 
			
			@everyone having problems with the font size patch: please keep reporting them, preferrably with as much detail as you can, so that I can try to reproduce the problem and figure out what is going on (when I get some time). Please also report if the books in question are in KF2 or KF8 format. It may well be that the patch only works partially with KF8 books, because Amazon chose to implement the KF8 reader as a native application (which is something that JBPatch cannot change). For instance, I have tested font size 4, and it works - but maybe the KF8 reader has its own lower limit of 7. | 
|   |   | 
|  09-25-2012, 10:32 AM | #713 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Mar 2012 Device: Kindle Touch | 
				
				Screensaver in JBPatch ?
			 
			
			Hi, thanks for developing JBPatch, it´s really great tool :-) I would be very pleased, if there could be also patch for screensaver. I would make o copy of title screen (first page) of the book - this copy is saved in root directory as .bmp or .jpg file (I don´t remember). And then with this patch I could make a .png file, that would be moved to the screensaver directory used by Simple Screensaver ... Sounds good, does´n it ? Please, please, please ... :-) | 
|   |   | 
|  09-25-2012, 11:45 AM | #714 | 
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | 
			
			JBPatch == Java Bytecode Patch What you are asking for is more along the lines of a script that could be run by the user. Should have nothing at all to do with patching Java bytecode. | 
|   |   | 
|  09-25-2012, 12:44 PM | #715 | 
| (offline)            Posts: 2,907 Karma: 6736094 Join Date: Dec 2011 Device: K3, K4, K5, KPW, KPW2 | |
|   |   | 
|  09-25-2012, 03:07 PM | #716 | |
| (offline)            Posts: 2,907 Karma: 6736094 Join Date: Dec 2011 Device: K3, K4, K5, KPW, KPW2 | Quote: 
 @2a: The font size of Alice in Wonderland is indeed "1 larger" than the default - but it also is with the patch disabled. So this must have been set somewhere in the book itself - well, it's Alice in Wonderland after all  @2b: I don't see this happening with the new version. Please report back whether it keeps happening for you. @1: Please report back whether this keeps happening for you. If you still keep having problems with "titles are maximum size", please post the exact steps to reproduce (i.e., the exact font settings that you're using, and ideally a document with which this is happening). EDIT: Attachment removed - file is now available on the JBPatch Wiki Page Last edited by ixtab; 10-04-2012 at 05:58 AM. | |
|   |   | 
|  09-25-2012, 03:28 PM | #717 | ||
| (offline)            Posts: 2,907 Karma: 6736094 Join Date: Dec 2011 Device: K3, K4, K5, KPW, KPW2 | Quote: 
 Quote: 
 Code: "font.mobi.linespacing.values", new int[] {
                1, 2, 3
            }I actually (personally) don't see anything that would need to be fixed concerning the current values - anything smaller than the minimum value becomes pretty much unusable, as does anything larger than the maximum. (I usually keep it at the "middle" setting). So *exactly* which issues are you actually having with the line spacing? | ||
|   |   | 
|  09-25-2012, 03:45 PM | #718 | |
| Guru            Posts: 696 Karma: 2383012 Join Date: Aug 2007 Location: Schiedam (The Netherlands) Device: Lots of eInk devices and iOS stuff | Quote: 
  However, if values are integers and starts with 1, AFAIK nothing can be done. Well, put 0 and have all book in only one line.   A lot of thanks, master! | |
|   |   | 
|  09-25-2012, 04:38 PM | #719 | 
| BLAM!            Posts: 13,506 Karma: 26047202 Join Date: Jun 2010 Location: Paris, France Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E | 
			
			@ixtab: I don't have anything against the default values on mobi books, either, what's bothering me is the fact that it's slightly larger on KF8 books at the same setting   . (And since it's overridable on the K3, I thought it was worth a shot  ). EDIT: Err, no, I remembered that wrong, it wasn't on the K3 either, and it used the same 1/2/3 int settings. *sigh* ;'( | 
|   |   | 
|  09-25-2012, 05:22 PM | #720 | |
| (offline)            Posts: 2,907 Karma: 6736094 Join Date: Dec 2011 Device: K3, K4, K5, KPW, KPW2 | Quote: 
 For plain mobi files, an option would of course be to find out where exactly these int settings are used and "translated" into pixels. You can decompile the com.mobipocket.common.library.reader.TableLayout and FrameConstructor classes (and their inner classes) from a 5.0.x firmware to get a taste of what the task will be like - or, for even more mayhem, because even class and method names are obfuscated, take the actual com.mobipocket.common.library.reader.n and db classes (and inner classes) from a 5.1.x firmware. The solution is somewhere in there. If someone can pinpoint the exact code location requiring a change, I'm willing to look into this. However, I'm not going to do this research myself - it will require about the same amount of reverse engineering effort as the alignment/hyphenation patch (=days, not hours), but in contrast to that patch, this one just wouldn't be worth such an effort (IMO). Last edited by ixtab; 09-25-2012 at 05:31 PM. | |
|   |   |