Id
Name
Description
khd-181 Un-force font-family override p tags (std epubs) This patch makes the following change to the epub user stylesheet to prevent the font selected from the device overriding the font set at paragraph level in the author stylesheet: body, p { font-family: -ua-default !important; } --> body { font-family: -ua-default !important; } khd-180 KePub fixed font sharpness This patch causes a fixed value for font sharpness to be used in kepub books, instead of the value set by the advanced font sharpness/weight slider. The slider sharpness values range from -0.4(min.) to 0.2(max.), default -0.0666. This patch allows one of three fixed values: 0.0, 0.1, or 0.2. body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; }\n --> body{-kobo-font-sharpness:0.0/*%1*/;-kobo-font-thickness:%2}\n khd-179 ePub fixed font sharpness This patch causes a fixed value for font sharpness to be used in epub books, instead of the value set by the advanced font sharpness/weight slider. The slider sharpness values range from -0.4(min.) to 0.2(max.), default -0.0666. This patch allows one of three fixed values: 0.0, 0.1, or 0.2. -kobo-font-sharpness: %1; --> -kobo-font-sharpness:0.0 khd-178 Enforce user line spacing in ePubs Disable the `Unitless ePub line height` patch before enabling this patch. (This patch includes the effect of the `Unitless ePub line height` patch.) This patch causes the line spacing setting selected from the reading settings (Aa) menu to be applied at body and paragraph level, instead of just at body level. This will result in the line spacing setting taking effect for some books where it wouldn't before, but there may still be some books where it won't take effect (such as those where the publisher has used <div> instead of <p> for paragraphs), and there may also be some books where it does take effect when it shouldn't (such as those where the publisher has used <p> instead of <h1>, <h2>, etc. for headings). The only way to get perfect results is to edit the epub and fix the problems at source. khd-177 Enforce user line spacing and justification in ePubs This patch causes the line spacing AND justification settings selected from the reading settings (Aa) menu to be applied at body and paragraph level, instead of just at body level. This will result in the settings taking effect for some books where they wouldn't before, but there will still be some books where they won't take effect, and there may also be some books where they do take effect when they shouldn't. (The only way to get perfect results is to edit the epub and fix the problems at source.) khd-176 Force user line spacing in KePubs This patch will allow the line spacing set by the slider to take effect in some problem KePub books with fixed linespacing (ones where the publisher has used <div> instead of <p> for pararaphs.) However it might also override some line spacing that would better be left fixed. khd-175 KePub zero body margin/padding This patch adds the following to the built-in KePub stylesheet: body{margin:0!important;padding:0!important} which solves the problem with the text of some KePubs being shifted to the right and cut off at the right margin in full-screen reading mode. khd-174 Fix kepub side bearing font cut-off bug In kepubs, characters with large side bearing values (such as f) can be cut off if they appear at the very end of a line. The problem seems to be most noticable in full-screen mode. To fix it this patch adds one of the following lines to the built-in kepub stylesheet: div#book-columns{padding-left:.2em!important;padding-right: .2em!important} div#book-columns{padding-top: .2em!important;padding-bottom:.2em!important} div#book-columns{padding: .2em .2em!important} body>* {padding-left:.2em!important;padding-right: .2em!important} body>* {padding-top: .2em!important;padding-bottom:.2em!important} body>* {padding: .2em .2em!important} There are two main types of kepub, each affected differently by this patch: Type 1: kepubs created by Kobo from epub2 books, or created by Calibre with a new version of the KoboTouchExtended driver. Type 2: kepubs created by Kobo from epub3 books, or created by Calibre with an old version of the KoboTouchExtended driver. Type 1 kepubs work best with this patch, the only side effects should be slightly larger screen margins. Some Type 2 kepubs might suffer additional side effects such as extra horizontal or vertical space between elements. There is an option below (marked **1**) where you can choose whether to fix the bug only for Type 1 kepubs (default) or for both types. There are also options below (marked **2**) to make the patch suit kepubs with horizontal or vertical text directions, or both. The side effects for Type 2 kepubs will likely be worse if the option for both horizontal and vertical is chosen. khd-173 Set kepub hyphenation 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.) khd-172 Custom Sleep/Power-off timeouts khd-171 Custom footer Changes the footer text with something shorter (not sure how it affects translations) khd-170 Remove white borders from homescreen tile book covers khd-169 Compact homepage layout (Aura) khd-168 Compact homepage layout (Glo) khd-167 Block WiFi firmware upgrade This patch is untested. If it works then the firmware will not be upgraded during a WiFi sync, but you can still upgrade manually or by syncing with the Kobo desktop. khd-166 Custom kepub default margins khd-165 Margins fine tuning Do not enable this patch unless you're sure you need it. It may cause the screen to be off-centre. khd-164 Wi-Fi insomnia Do not enable this patch unless you're sure you need it. It prevents the wifi turning off, which may drain the device's battery. khd-163 Customise PinchGestureRecognizer khd-162 Hebrew keyboard khd-161 Arabic keyboard khd-160 Cyrillic keyboard khd-159 Remove non-system fonts in Reader list Removes Gothic, Ryumin, OpenDyslexic. BEWARE: Also removes most other sideloaded fonts. khd-158 Remove system fonts in Reader list Removes Amasis, Avenir, Caecilia, Georgia, Gill Sans, Kobo Nickel, Malabar. BEWARE: Also removes sideloaded Delima, Felbridge, Rockwell, Times New Roman. khd-157 Custom page refresh options khd-156 ePub fixed/adjustable top/bottom margins If enabled, this patch sets the @page margin sizes in epubs, overriding any @page margin set in the book's stylesheet. By default the top and bottom margins are set to be adjustable, their size similar to the left/right margin size set by the adjustment slider. There are options to set the top and/or bottom margin to a fixed size instead. Note that this patch has the side-effect of removing the body bottom padding from the built-in stylesheet, which means that there will no longer be a line of padding added automatically at the end of chapters. khd-155 Allow download all in Browser khd-154 Freedom to advanced fonts control This patch allows the advanced font options (weight/sharpness adjustments) to work with sideloaded fonts too. WARNING: IT IS NOT SAFE TO ENABLE THIS PATCH IF YOUR DEVICE IS SET TO A JAPANESE LOCALE OR JAPANESE BOOKS ARE OPENED. khd-153 Unitless ePub line height See http://www.mobileread.com/forums/showpost.php?p=2812097&postcount=31 for a description of the problem fixed by this patch. line-height: %1em !important; --> line-height: %1 !important; khd-152 Search in Library by default khd-151 Brightness fine control khd-150 Custom font sizes Unpatched font sizes now depend on the device's screen resolution: Alyssum: 14px - 150px (48 sizes) Dragon: 12px - 150px (50 sizes) Phoenix: 12px - 122px (43 sizes) Other: 12px - 90px (35 sizes) Sizes increase in steps of 1 from the smallest size up to size 22, then in steps of 2 up to size 50, then in steps of 4 up to the largest size. I don't know how many sizes are allowed, but it is probably safe to use 50. The example replacement values in this patch result in the following ranges, with increases in steps of 1 from the smallest size up to size 48, then steps of 2 up to size 60, then steps of 4 up to the largest size: Alyssum: 14px - 88px (48 sizes) Dragon: 12px - 88px (50 sizes) Others: 12px - 80px (48 sizes) khd-149 Custom left & right margins khd-148 My 15 line spacing values khd-147 My 10 line spacing values khd-146 Custom reading footer style This patch customises the following properties of the reading footer: * Footer height (the amount of the screen reserved for the footer.) * Caption font size (Caption = page number or other progress indicator) * Caption top margin, which changes its vertical position within the footer. When editing the replacement values below, BE CAREFUL NOT TO CHANGE THE LENGTH OF THE REPLACEMENT STRING! If a replacement string is too long you will get an error when making the patch, but if one is too short then there will be no error, but strange things will happen to the reading footer. khd-145 Disable reading footer khd-144 Ignore book TOC navpoints khd-143 Ignore book internal CSS stylesheet khd-142 Fix page breaks bug The long paragraph bug has since been fixed in the current firmware. However this patch also has the side effect of disabling widows/orphans processing. (So now enabling it has the same effect as setting orphans:1; widows:1; in the stylesheet of all epub books, i.e. it prevents those extra blank lines being added to the bottom of some pages.) khd-141 Remove PDF page turn arrows at left and right edges of page khd-140 Preserve PDF pan position across page turns khd-139 Remove PDF map widget shown during panning