Id
Name
Description
khd-505 KePub full justification default This patch makes full justification the default for KePub books by adding the following to the built-in KePub stylesheet: body{text-align:justify} This only sets the default, if the publisher has set the justification in the book's stylesheet then it will override the default, and so you might still need to use the justify button on the Aa menu to set full justification. The advantage of this patch is that using the justify button (which also forces some things such as headings to be fully justified instead of centred), can be avoided for some books. khd-504 Un-Force user font-family in KePubs 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 to 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. khd-503 Change dicthtml strings to micthtml This patch is used for something to do with syncing and custom dictionaries. If you don't know what it does, then you probably don't need it. khd-502 Always display chapter name on navigation menu Normally the <-> navigation menu only displays the current chapter name if [Reading settings > Display progress for:] is set to 'Current Chapter'. This patch causes the current chapter name to be displayed if 'Entire book' progress is selected as well. Works for both ePub and KePub books. in ReadingMenuScrubberController::setChapterAndProgressText(...) khd-501 Un-Force user text-align in div,p tags in KePubs This patch allows the text alignment set by the publisher in the kepub stylesheet to override the alignment selected by the reader from the device. div, p { text-align: %1 !important; } --> body { text-align: %1 !important; } khd-500 Un-force font-family override p tags (std epubs) This patch allows the font set for paragraphs by the publisher in the epub stylesheet to override the font selected by the reader from the device. body, p { font-family: -ua-default !important; } --> body { font-family: -ua-default !important; } khd-499 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-498 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-497 Force user line spacing in ePubs (part 1 of 2) This is part 1 of 2. Also enable part 2 in librmsdk.so.1.0.0.patch This patch prevents any line-height style set in the book's stylesheet from being recognised. It will spoil the formatting of some books, but will ensure that the line spacing set with the adjustment slider takes effect. khd-496 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-495 Fix three KePub fullScreenReading bugs (See http://www.mobileread.com/forums/showpost.php?p=3113460&postcount=16 for screenshots and more information about the problems this patch fixes.) In full-screen reading mode (when the FullScreenReading feature setting is activated and the "Show header and footer" reading setting is unticked) the KePub reader has three problems: 1. If the book's stylesheet has non-zero body margin/padding, then the text is shifted to the right and can be cut off at the right margin. 2. Characters with large side bearing values (such as italic f, J) can be cut off if they appear at either end of a line. 3. Images which are supposed to be displayed inline (flowing with the text) are instead displayed centred in a seperate block. This patch fixes those problems by replacing the following faulty style, which is the cause of problem 3.: img { display: block; margin-left: auto !important; margin-right: auto !important; width: auto !important; height: auto !important; } with the following two styles, which work around problems 1. and 2.: body { margin: 0 !important; padding: 0 !important; } body>div { padding-left: 0.2em !important; padding-right: 0.2em !important; } khd-494 Set kepub hyphenation The built-in kepub stylesheet has a line "* { -webkit-hyphens: 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-493 Custom Sleep/Power-off timeouts khd-492 Custom footer Changes the footer text with something shorter (not sure how it affects translations) khd-491 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. WARNING: THIS PATCH COULD RESULT IN A BOOT LOOP when signing out of your Kobo account (Settings > Accounts > Sign out) or invoking a factory reset from the device information menu (Settings > Device information > Factory reset). Remove this patch before using either of those options. A factory reset invoked using the hardware methods (such as holding down the light button while switching on) should not be affected. khd-490 Custom kepub default margins khd-489 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-488 Customise PinchGestureRecognizer khd-487 Turkish keyboard khd-486 Hebrew keyboard khd-485 Arabic keyboard khd-484 Cyrillic keyboard khd-483 Remove non-system fonts in Reader list Removes Kobo Tsukushi Mincho, Kobo UD Kakugo, OpenDyslexic. BEWARE: Also removes other sideloaded fonts. khd-482 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-481 Custom page refresh options (1,32,99,Chapter -- Aura only) 1,5,10,Chapter --> 1,32,99,Chapter khd-480 Custom page refresh options (1,8,32,Chapter -- Aura only) 1,5,10,Chapter --> 1,8,32,Chapter khd-479 Custom page refresh options (1,2,4,8,16,32,64,128) khd-478 Custom page refresh options (1,2,3,...,12) khd-477 ePub disable built-in body padding-bottom The built-in ePub stylesheet adds a line of padding at the bottom of the body element, to prevent the chapter ending on the last line of a page. This patch disables that stylesheet entry. This patch is not compatible with `ePub fixed/adjustable top/bottom margins` patch, which already removes this stylesheet entry to make room for other things. padding-bottom: %1em !important;\n --> _adding-bottom: %1em !important;\n khd-476 ePub fixed/adjustable top/bottom margins This patch sets the @page margin sizes in epubs, overriding any @page margin set in the book's CSS stylesheet (but not in the XPGT stylesheet, see below). 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 @page margins are seperate from (and overlap) both the body margins set in the book and the left/right margins set from the adjustment slider, and are added to any page margins set in the Adobe XPGT stylesheet if the book has one (e.g. page-template.xpgt). For this reason you might want to consider using the Modify ePub Calibre plugin to remove any body margins and XPGT stylesheet margins before sideloading the book, or perhaps enabling the `Ignore ePub Adobe XPGT stylesheet (page-template.xpgt)` patch. Also note that a side-effect of this patch is that the body padding-bottom is removed from the built-in stylesheet, which means that there will no longer be a blank line added automatically at the end of chapters. See at the bottom of the patch for replacement values that can be used to tune the size of the margins to suit different devices and reading modes. khd-475 Allow download all in Browser khd-474 Freedom to advanced fonts control This patch allows the advanced font options (weight/sharpness adjustments) to work with sideloaded fonts too. (KEPUB: OTF and TTF. EPUB: TTF only.) WARNING: IT IS NOT SAFE TO ENABLE THIS PATCH IF YOUR DEVICE IS SET TO A JAPANESE LOCALE OR JAPANESE BOOKS ARE OPENED. khd-473 Search in Library by default khd-472 Brightness fine control khd-471 Custom font sizes Unpatched font sizes now depend on the device's screen resolution: GloHD: 14px - 150px (48 sizes) AuraHD/H2O: 12px - 150px (50 sizes) Glo/Aura: 12px - 122px (43 sizes) Touch/Mini: 12px - 90px (35 sizes) Unpatched 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: GloHD: 14px - 88px (48 sizes) AuraHD/H2O: 12px - 88px (50 sizes) Glo/Aura: 12px - 80px (48 sizes) Touch/Mini: 12px - 80px (48 sizes) khd-470 Custom left & right margins khd-469 My 15 line spacing values khd-468 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. * Caption font family. 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-467 Disable reading footer khd-466 Ignore ePub TOC navpoints khd-465 Ignore ePub book CSS and Adobe XPGT stylesheets khd-464 Ignore ePub book Adobe XPGT stylesheet (page-template.xpgt) Not all ePubs have an Adobe XPGT stylesheet, and the ones that do often use it mainly to set the page margins. Unfortunately those margins are added to the page margins set via @page in the CSS stylesheet, and cannot be overidden by the `ePub fixed/ajustable top/bottom margins` patch. This patch should cause any Adobe XPGT stylesheet in the book to be ignored, but for the book's CSS stylesheet still to be used as normal. (You might prefer to remove the margins from the book's XPGT stylesheet before sideloading, instead of using this patch. Calibre's Modify ePub plugin has a useful option for doing this.) khd-463 Force user line spacing in ePubs (Part 2 of 2) This is part 2 of 2. Also enable part 1 in libnickel.so.1.0.0.patch This patch prevents any line-height style set in the book's stylesheet from being recognised. It will spoil the formatting of some books, but will ensure that the line spacing set with the adjustment slider takes effect. (Unless the publisher has used the font shorthand style; see below.) khd-462 Default ePub sans-serif font (Gill Sans) This patch changes the default ePub sans-serif font from Avenir to Gill Sans. To use a different font, change "Gill" in the replacement string to another font name prefix (6 letters max.). For example change "Gill" to "Trebuc" to use a sideloaded Trebuchet font. khd-461 Default ePub monospace font (Courier) Kobo devices don't come with any monospace font. If the book's stylesheet specifies font-family:monospace; then the ePub reader will try to use the "Courier Std" font, but even if that font were installed it wouldn't work because the pathnames used by the ePub reader to request the font are wrong. This patch lets the EPUB reader use any font with a name beginning "Courier" (such as Courier Prime, available at http://quoteunquoteapps.com/courierprime) as the default monospace font instead of just Adobe's Courier Std font, and also corrects the pathnames so that it can be found. If no suitably named font is installed then this patch will have no effect. To use a different font name, change "Courier" in the replacement string to another font name prefix (7 letters max.). For example, change `normal/Courier` to `normal/Dark`, `bold/Courier` to `bold/Dark`, etc. to use HP's Dark Courier font available at http://h20000.www2.hp.com/hpsc/swd/public/detail?swItemId=lj611en khd-460 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 this patch 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-459 Remove PDF page turn arrows at left and right edges of page khd-458 Preserve PDF pan position across page turns khd-457 Remove PDF map widget shown during panning