Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2016, 07:18 AM   #76
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by anacreon View Post
Dear GeoffR,
Are your patches to remove fonts (those that interest me are KoboNickel, OpenDyslexic, TsukuMin and UDKakugo) F/w and/or device sensitive?
I don't dare use them on my One (4.0.7523).
Why? I remember the two Japanese fonts seemed to cause problems when first introduced, but, I haven't noticed any recently. As to the other two, I can understand not wanting to use them, but "don't dare use them" seems a bit harsh.
davidfor is offline   Reply With Quote
Old 09-14-2016, 07:57 AM   #77
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 976
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
a choice of fonts

Quote:
Originally Posted by davidfor View Post
Why? I remember the two Japanese fonts seemed to cause problems when first introduced, but, I haven't noticed any recently. As to the other two, I can understand not wanting to use them, but "don't dare use them" seems a bit harsh.
It is the patches I don't dare use. And since I sideloaded 17 fonts, eliminating 4 I never use would mean one less arrow down when choosing a font.

It might seem too much, but every book has its font of choice.

For instance some of my favorite fonts have an β I don't care for, so for German I choose Liberation Serif, or Candara for a wide Sans Serif, or Arsenal for a narrow type (for poetry with long lines).

For the Calibre Catalogs, which I use a lot, I like a neither narrow nor wide sans serif, with good balance between regular/italic/bold, so usually Noto Sans or Ubuntu.

More generally, I read many books in parallel, fiction classical or genre, non-fiction on a variety of subjects, and poetry with more or less long lines, and I like to adapt the font to the book.

Plus when I used one font for long over many books, before I added enough to have a good choice, I got tired of it. This is the pleasure of Kobos: adapting the typography to the book like paper books do.

The extra bonus of ereaders respective to paper for my problem eyes is I can adapt the font and its thickness to how my eyes feel and the light level: reading at night means tired eyes and very low light, and I can change to a wider font as well as increasing the thickness and/or the size. So for one book the details of the font vary with the light.

I have many mass market paperbacks I can't read any more: characters too small and fuzzy, yellowing paper.

Last edited by anacreon; 09-14-2016 at 08:00 AM.
anacreon is offline   Reply With Quote
Advert
Old 09-14-2016, 09:13 AM   #78
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by anacreon View Post
It is the patches I don't dare use. And since I sideloaded 17 fonts, eliminating 4 I never use would mean one less arrow down when choosing a font.
OK, that's different.

Installing these patches is very safe. They are only slightly more dangerous than installing a firmware update. At the worst, you will have to do a factory reset. And if you don't like them, simply reinstall the current firmware over the current installation.

If you are worried about needing to do a factory reset, then take a copy of the book partition before starting. Copy everything. Then, if you do get into trouble, you can do a factory reset and restore these files afterwards and you are back were you started.
davidfor is offline   Reply With Quote
Old 09-14-2016, 09:51 AM   #79
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 976
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
Quote:
Originally Posted by davidfor View Post
OK, that's different.

Installing these patches is very safe. They are only slightly more dangerous than installing a firmware update. At the worst, you will have to do a factory reset. And if you don't like them, simply reinstall the current firmware over the current installation.

If you are worried about needing to do a factory reset, then take a copy of the book partition before starting. Copy everything. Then, if you do get into trouble, you can do a factory reset and restore these files afterwards and you are back were you started.
So if something goes wrong I can just do a factory reset, and then replace the .adobe..., .kobo, .kobo-images (that is first delete than copy) and add all the book files and font)? Would it be safer to preserve the root files and replace contents (including dictionaries)? I've never tried that - when replacing a dictionary I first renamed the original one as advised elsewhere: is that an unnecessary step?
anacreon is offline   Reply With Quote
Old 09-14-2016, 10:16 AM   #80
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by anacreon View Post
So if something goes wrong I can just do a factory reset, and then replace the .adobe..., .kobo, .kobo-images (that is first delete than copy) and add all the book files and font)? Would it be safer to preserve the root files and replace contents (including dictionaries)? I've never tried that - when replacing a dictionary I first renamed the original one as advised elsewhere: is that an unnecessary step?
You need to replace ALL the files on the book partition. If you take a full copy of partition, and then restore that later, you will be back were you started. I have done this a lot of times when testing things. The only problem is how long it takes to copy the files each time I do it. But, that's just me being impatient.
davidfor is offline   Reply With Quote
Advert
Old 09-15-2016, 12:23 AM   #81
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by anacreon View Post
Are your patches to remove fonts (those that interest me are KoboNickel, OpenDyslexic, TsukuMin and UDKakugo) F/w and/or device sensitive?
I don't dare use them on my One (4.0.7523).
You mean the ones that overwrite the font with a zero-length file, such as in this post? Those files should still work on any device with firmware 4.0.7523, because the font names haven't changed.

Removing OpenDyslexic should have no bad effects. I can't be sure about the effects of removing the Japanese fonts, but if it didn't cause any problems for you in previous firmwares then it will probably be okay in this one too.
GeoffR is offline   Reply With Quote
Old 09-15-2016, 04:42 AM   #82
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 976
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
Quote:
Originally Posted by GeoffR View Post
You mean the ones that overwrite the font with a zero-length file, such as in this post? Those files should still work on any device with firmware 4.0.7523, because the font names haven't changed.

Removing OpenDyslexic should have no bad effects. I can't be sure about the effects of removing the Japanese fonts, but if it didn't cause any problems for you in previous firmwares then it will probably be okay in this one too.
Well I tried the Kobo Nickel and Open Dyslexic one, which worked fine on my Glo HD and H2O, but it didn't work for the One - though it doesn't seem to do any harm either.

Thank you.
anacreon is offline   Reply With Quote
Old 09-17-2016, 09:30 AM   #83
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,635
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by oren64 View Post
Those patchs moved from libnickel.so.1.0.0 to nickel have been compressed CSS string.

I used CSS styles modifications inside nickel thanks to pipcat, python 2.


Patches:

Changing the info panel in full size screensaver

Spoiler:
/* found: 124 (zlib) pos: 4c33d4 */
#coverLabel[qApp_deviceIsTrilogy="true"] {
min-width: 600px;
max-width: 600px;
min-height: 800px;
max-height: 800px;
}
#coverLabel[qApp_deviceIsPhoenix="true"] {
min-width: 758px;
max-width: 758px;
min-height: 1024px;
max-height: 1024px;
}
#coverLabel[qApp_deviceIsDragon="true"] {
min-width: 1080px;
max-width: 1080px;
min-height: 1440px;
max-height: 1440px;
}
#coverLabel[qApp_deviceIsDaylight="true"] {
min-width: 1404px;
max-width: 1404px;
min-height: 1872px;
max-height: 1872px;
}
#verticalWidget {
background: transparent;
}
#verticalWidget[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 000px;
}
#verticalWidget[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 000px;
}
#verticalWidget[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 0000px;
}
#verticalWidget[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 0000px;
}
#infoWidget {
background-color: #ffffff;
}
#infoWidget[qApp_deviceIsTrilogy="true"] {
min-width: 200px;
min-height: 100px;
max-height: 100px;
}
#infoWidget[qApp_deviceIsPhoenix="true"] {
min-width: 260px;
min-height: 120px;
max-height: 120px;
}
#infoWidget[qApp_deviceIsDragon="true"] {
min-width: 350px;
min-height: 150px;
max-height: 150px;
}
#infoWidget[qApp_deviceIsDaylight="true"] {
min-width: 450px;
min-height: 200px;
max-height: 220px;
}
#infoWidget[powerOffView="true"] {
background-color: #000000;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsTrilogy="true"] {
min-height: 95px;
max-height: 95px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsPhoenix="true"] {
min-height: 120px;
max-height: 120px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsDragon="true"] {
min-height: 130px;
max-height: 130px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsDaylight="true"] {
min-height: 169px;
max-height: 169px;
}
#infoFrame {
background-color: transparent;
border-top: 1px solid black;
border-bottom: 1px solid black;
border-right: 1px solid black;
}
#infoFrame[qApp_deviceIsTrilogy="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[powerOffView="true"] {
border-top: 1px solid white;
border-bottom: 1px solid white;
border-right: 1px solid white;
}
#infoFrame > * {
background-color: transparent;
color: #000000;
}
#infoFrame > *[powerOffView="true"] {
color: #ffffff;
}
#batteryStatus {
font-family: Georgia;
}
#batteryStatus[qApp_localeName="ja_JP"] {
font-family: Sans-SerifJP, sans-serif;
font-style: normal;
}
#batteryStatus[qApp_deviceIsTrilogy="true"] {
font-size: 17px;
}
#batteryStatus[qApp_deviceIsPhoenix="true"] {
font-size: 22px;
}
#batteryStatus[qApp_deviceIsDragon="true"] {
font-size: 26px;
}
#batteryStatus[qApp_deviceIsAlyssum="true"] {
font-size: 30px;
}
#batteryStatus[qApp_deviceIsDaylight="true"] {
font-size: 34px;
}
#modeLabel {
qproperty-alignment: AlignCenter;
}


Dictionary frame size (there is no need fore the file nickel.patch)

Spoiler:
/* found: 83 (zlib) pos: 4be516 */
InlineDictionaryView {
min-width: 540px;
max-width: 540px;
min-height: 300px;
max-height: 300px;
}
InlineDictionaryView[qApp_deviceIsPhoenix="true"] {
min-width: 680px;
max-width: 680px;
min-height: 360px;
max-height: 360px;
}
InlineDictionaryView[qApp_deviceIsDragon="true"] {
min-width: 998px;
max-width: 998px;
min-height: 500px;
max-height: 500px;
}
InlineDictionaryView[qApp_deviceIsDaylight="true"] {
min-width: 1350px;
max-width: 1350px;
min-height: 800px;
max-height: 800px;
}
#dictionary {
margin-top: 10px;
}
#dictionary[qApp_deviceIsDragon="true"] {
margin: 10px;
}
#dictionary[qApp_deviceIsDaylight="true"] {
margin: 20px;
}
#dictionary[qApp_deviceIsPhoenix="true"] {
margin: 10px;
}
#textEdit {
min-height: 150px;
max-height: 150px;
min-width: 520px;
max-width: 520px;
}
#textEdit[qApp_deviceIsPhoenix="true"] {
min-height: 320px;
max-height: 320px;
min-width: 660px;
max-width: 660px;
}
#textEdit[qApp_deviceIsDragon="true"] {
min-height: 430px;
max-height: 430px;
min-width: 978px;
max-width: 978px;
}
#textEdit[qApp_deviceIsDaylight="true"] {
min-height: 580px;
max-height: 580px;
min-width: 1300px;
max-width: 1300px;
}
#settings {
background-color: #d9d9d9;
font-family: Georgia;
}
#settings[qApp_localeName="ja_JP"] {
font-family: Sans-SerifJP, sans-serif;
font-style: normal;
}
#settings[qApp_deviceIsTrilogy="true"] {
font-size: 19px;
}
#settings[qApp_deviceIsPhoenix="true"] {
font-size: 23px;
}
#settings[qApp_deviceIsDragon="true"] {
font-size: 29px;
}
#settings[qApp_deviceIsAlyssum="true"] {
font-size: 32px;
}
#settings[qApp_deviceIsDaylight="true"] {
font-size: 37px;
}
#settings[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#settings[qApp_deviceIsPhoenix="true"] {
padding-left: 16px;
padding-right: 16px;
}
#settings[qApp_deviceIsDragon="true"] {
padding-left: 22px;
padding-right: 22px;
}
#settings[qApp_deviceIsDaylight="true"] {
padding-left: 28px;
padding-right: 28px;
}
#bottomSpacer {
qproperty-visible: false;
}
#bottomSpacer[qApp_deviceIsTrilogy="true"] {
qproperty-visible: true;
min-height: 30px;
max-height: 30px;
}
#message {
padding-top: 10px;
}
#message[qApp_deviceIsPhoenix="true"] {
margin-left: 35px;
margin-right: 35px;
}
#message[qApp_deviceIsDragon="true"] {
margin-left: 50px;
margin-right: 50px;
}
#message[qApp_deviceIsDaylight="true"] {
margin-left: 65px;
margin-right: 65px;
}
#footer[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
qproperty-bottomMargin: 00;
}
#footer[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 25;
qproperty-rightMargin: 25;
qproperty-bottomMargin: 00;
}
#footer[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 32;
qproperty-rightMargin: 32;
qproperty-bottomMargin: 00;
}
#language[qApp_deviceIsTrilogy="true"] {
font-size: 19px;
}
#language[qApp_deviceIsPhoenix="true"] {
font-size: 23px;
}
#language[qApp_deviceIsDragon="true"] {
font-size: 29px;
}
#language[qApp_deviceIsAlyssum="true"] {
font-size: 32px;
}
#language[qApp_deviceIsDaylight="true"] {
font-size: 37px;
}
#language[qApp_deviceIsTrilogy="true"] {
max-height: 50px;
}
#language[qApp_deviceIsPhoenix="true"] {
max-height: 62px;
}
#language[qApp_deviceIsDragon="true"] {
max-height: 80px;
}


Increase The Books Cover Size In The Library

Spoiler:
/* found: 72 (zlib) pos: 4bd049 */
* {
background: white;
}
DragonListWidget[qApp_deviceIsTrilogy="true"] {
min-height: 115px;
max-height: 115px;
min-width: 536px;
max-width: 536px;
qproperty-spacing: 12;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsPhoenix="true"] {
min-height: 147px;
max-height: 147px;
min-width: 693px;
max-width: 693px;
qproperty-spacing: 15;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsDragon="true"] {
min-height: 175px;
max-height: 175px;
min-width: 980px;
max-width: 980px;
qproperty-spacing: 20;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsAlyssum="true"] {
min-height: 205px;
max-height: 205px;
}
DragonListWidget[qApp_deviceIsDaylight="true"] {
min-height: 227px;
max-height: 227px;
min-width: 1274px;
max-width: 1274px;
qproperty-spacing: 26;
qproperty-leftMargin: 00;
}
#author {
qproperty-maxNumLines: 1;
}
#author[qApp_localeName="ja_JP"] {
font-size: 20px;
qproperty-forceLeading: 5;
}
#favourited[qApp_deviceIsTrilogy="true"] {
min-width: 14px;
max-width: 14px;
min-height: 14px;
max-height: 14px;
}
#favourited[qApp_deviceIsPhoenix="true"] {
min-width: 16px;
max-width: 16px;
min-height: 15px;
max-height: 15px;
}
#favourited[qApp_deviceIsDragon="true"] {
min-width: 21px;
max-width: 21px;
min-height: 20px;
max-height: 20px;
}
#favourited[qApp_deviceIsDaylight="true"] {
min-width: 27px;
max-width: 27px;
min-height: 26px;
max-height: 26px;
}
#series {
qproperty-maxNumLines: 1;
}
#coverPixmapView[qApp_deviceIsTrilogy="true"] {
min-width: 85px;
max-width: 85px;
min-height: 112px;
max-height: 112px;
}
#coverPixmapView[qApp_deviceIsPhoenix="true"] {
min-width:104px;
max-width:104px;
min-height: 140px;
max-height: 140px;
}
#coverPixmapView[qApp_deviceIsDragon="true"] {
min-width:130px;
max-width:130px;
min-height: 163px;
max-height: 163px;
}
#coverPixmapView[qApp_deviceIsAlyssum="true"] {
min-width: 145px;
max-width: 145px;
min-height: 205px;
max-height: 205px;
}
#coverPixmapView[qApp_deviceIsDaylight="true"] {
min-width: 160px;
max-width: 160px;
min-height: 230px;
max-height: 230px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsPhoenix="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsPhoenix="true"] {
min-width: 80px;
max-width: 80px;
min-height: 110px;
max-height: 110px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsDragon="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsDragon="true"] {
min-width: 100px;
max-width: 100px;
min-height: 140px;
max-height: 140px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsAlyssum="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsAlyssum="true"] {
min-width: 115px;
max-width: 115px;
min-height: 160px;
max-height: 160px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsDaylight="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsDaylight="true"] {
min-width: 130px;
max-width: 130px;
min-height: 182px;
max-height: 182px;
}
#downloadContainer[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 15;
qproperty-rightMargin: 15;
}
#downloadContainer[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
}
#downloadContainer[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 26;
qproperty-rightMargin: 26;
}
#readStatus {
padding: 0px;
}
#previewBadge[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#previewBadge[qApp_deviceIsPhoenix="true"] {
padding-left: 15px;
padding-right: 15px;
}
#previewBadge[qApp_deviceIsDragon="true"] {
padding-left: 20px;
padding-right: 20px;
}
#previewBadge[qApp_deviceIsDaylight="true"] {
padding-left: 26px;
padding-right: 26px;
}
#borrowStatus[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#borrowStatus[qApp_deviceIsPhoenix="true"] {
padding-left: 15px;
padding-right: 15px;
}
#borrowStatus[qApp_deviceIsDragon="true"] {
padding-left: 20px;
padding-right: 20px;
}
#borrowStatus[qApp_deviceIsDaylight="true"] {
padding-left: 26px;
padding-right: 26px;
}
QProgressBar {
border: 0px;
background-color: #BABABA;
margin-top: 3px;
margin-bottom: 3px;
}
QProgressBar[qApp_deviceIsTrilogy="true"] {
margin-left: 12px;
margin-right: 12px;
}
QProgressBar[qApp_deviceIsPhoenix="true"] {
margin-left: 15px;
margin-right: 15px;
}
QProgressBar[qApp_deviceIsDragon="true"] {
margin-left: 20px;
margin-right: 20px;
}
QProgressBar[qApp_deviceIsDaylight="true"] {
margin-left: 26px;
margin-right: 26px;
}
QProgressBar::chunk {
background-color: #000000;
}
#syncWarning {
text-transform: uppercase;
}


Increasing The View Details Container

Spoiler:
/* found: 84 (zlib) pos: 4be7de */
#topContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
qproperty-bottomMargin: 10;
}
#topContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 30;
qproperty-rightMargin: 30;
qproperty-bottomMargin: 15;
}
#topContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 40;
qproperty-rightMargin: 40;
qproperty-bottomMargin: 20;
}
#topContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 52;
qproperty-rightMargin: 52;
qproperty-bottomMargin: 26;
}
#bookInfoWidget[qApp_deviceIsTrilogy="true"] {
min-height: 200px;
max-height: 200px;
}
#bookInfoWidget[qApp_deviceIsPhoenix="true"] {
min-height: 230px;
max-height: 230px;
}
#bookInfoWidget[qApp_deviceIsDragon="true"] {
min-height: 400px;
max-height: 400px;
}
#bookInfoWidget[qApp_deviceIsDaylight="true"] {
min-height: 600px;
max-height: 600px;
}
#detailsContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 10;
qproperty-leftMargin: 15;
qproperty-rightMargin: 15;
}
#detailsContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 12;
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
}
#detailsContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 15;
qproperty-leftMargin: 30;
qproperty-rightMargin: 30;
}
#detailsContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 20;
qproperty-leftMargin: 39;
qproperty-rightMargin: 39;
}
#details[qApp_deviceIsTrilogy="true"] {
min-height: 390px;
max-height: 390px;
}
#details[qApp_deviceIsPhoenix="true"] {
min-height: 515px;
max-height: 515px;
}
#details[qApp_deviceIsDragon="true"] {
min-height: 710px;
max-height: 710px;
}
#details[qApp_deviceIsDaylight="true"] {
min-height: 880px;
max-height: 880px;
}
#similarContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 10;
qproperty-spacing: 5;
}
#similarContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 10;
qproperty-spacing: 5;
}
#similarContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 15;
qproperty-spacing: 10;
}
#similarContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 20;
qproperty-spacing: 13;
}
#alsoRead[qApp_deviceIsTrilogy="true"] {
padding-top: 12px;
padding-left: 12px;
padding-right: 12px;
}
#alsoRead[qApp_deviceIsPhoenix="true"] {
padding-top: 15px;
padding-left: 15px;
padding-right: 15px;
}
#alsoRead[qApp_deviceIsDragon="true"] {
padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
}
#alsoRead[qApp_deviceIsDaylight="true"] {
padding-top: 26px;
padding-left: 26px;
padding-right: 26px;
}
#loading {
padding-top: 4px;
}
#similarBooksWidget[qApp_deviceIsTrilogy="true"] {
qproperty-bookWidth: 120;
qproperty-bookHeight: 190;
qproperty-itemSpacing: 5;
min-height: 230px;
max-height: 230px;
}
#similarBooksWidget[qApp_deviceIsDragon="true"] {
qproperty-bookWidth: 215;
qproperty-bookHeight: 340;
qproperty-itemSpacing: 15;
min-height: 460px;
max-height: 460px;
}
#similarBooksWidget[qApp_deviceIsDaylight="true"] {
qproperty-bookWidth: 280;
qproperty-bookHeight: 442;
qproperty-itemSpacing: 20;
min-height: 598px;
max-height: 598px;
}
#similarBooksWidget[qApp_deviceIsPhoenix="true"] {
qproperty-bookWidth: 150;
qproperty-bookHeight: 235;
qproperty-itemSpacing: 10;
min-height: 320px;
max-height: 320px;
}
#similarEmptyState,
#reviewsEmptyState {
qproperty-spacing: 20;
}
#similarEmptyState[qApp_deviceIsPhoenix="true"],
#reviewsEmptyState[qApp_deviceIsPhoenix="true"] {
qproperty-spacing: 30;
}
#similarEmptyState[qApp_deviceIsDragon="true"],
#reviewsEmptyState[qApp_deviceIsDragon="true"] {
qproperty-spacing: 40;
}
#similarEmptyState[qApp_deviceIsDaylight="true"],
#reviewsEmptyState[qApp_deviceIsDaylight="true"] {
qproperty-spacing: 52;
}
#writeReview {
background-color: #d9d9d9;
}
#sliderContainer[qApp_deviceIsPhoenix="true"] {
min-height: 56px;
max-height: 56px;
}
#sliderContainer[qApp_deviceIsDragon="true"] {
min-height: 70px;
max-height: 70px;
}
#sliderContainer[qApp_deviceIsDaylight="true"] {
min-height: 91px;
max-height: 91px;
}


* I only have kobo glo so i don't know how the it works on other devices specialy on Aura One.
* I didn't try those pathces because i didn't upgrade to FW 4.0.7523.
Thank you, I've used the patches for covers in library and book details and they work perfectly in Kobo Aura One.
Terisa de morgan is online now   Reply With Quote
Old 09-21-2016, 04:45 PM   #84
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
I add Instructions to CSS nickel patch, I hope I made it more understandable.
oren64 is offline   Reply With Quote
Old 09-27-2016, 11:08 AM   #85
Nandara Lima
Junior Member
Nandara Lima began at the beginning.
 
Nandara Lima's Avatar
 
Posts: 4
Karma: 10
Join Date: Sep 2016
Location: Brazil
Device: Kindle Paperwhite 3 and Kobo Glo
Thank you, I could install on my Kobo Glo. Worked perfectly. Even my device was "dead", and it was as if I rise again.
Nandara Lima is offline   Reply With Quote
Old 09-27-2016, 06:37 PM   #86
frenshprince
Connoisseur
frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'
 
Posts: 54
Karma: 10000
Join Date: Oct 2014
Location: France
Device: Kindle Voyage, Kindle PW3, Kobo Aura One, Kobo Glo HD
Hi there,

I used the 24lines spacing patch, and I have issue as specified here
Quote:
# Beware that the KePub reader has problems with its page break position
# when narrow line spacings are selected, depending on which font is used.
# You can customise the replacement values at the bottom of each patch to
# avoid those problems, or else simply refrain from selecting narrowest
# line spacings when reading KePubs.
I'd like to fix it, but don't know which are the replacement values to customise.

Thanks for your help

EDIT : Ok, I get it

Last edited by frenshprince; 09-28-2016 at 04:50 AM.
frenshprince is offline   Reply With Quote
Old 09-28-2016, 04:53 AM   #87
frenshprince
Connoisseur
frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'
 
Posts: 54
Karma: 10000
Join Date: Oct 2014
Location: France
Device: Kindle Voyage, Kindle PW3, Kobo Aura One, Kobo Glo HD
Quote:
Originally Posted by oren64 View Post
I add Instructions to CSS nickel patch, I hope I made it more understandable.
Hello Oren, I still don't understand
Is that possible to use your patch and the GeoffR one ?

I'm only interested in patching dictionnary size.

thank you
frenshprince is offline   Reply With Quote
Old 09-28-2016, 05:42 AM   #88
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by frenshprince View Post
Hello Oren, I still don't understand
Is that possible to use your patch and the GeoffR one ?

I'm only interested in patching dictionnary size.

thank you
Yes it's possible.
GeoffR also patch the nickel file, so if you enable one of the patches, `Disable reading footer` or`Custom reading footer style`, in "nickel.patch" file, Step 3-4 is now:

Extrcat the "nickel" file from GeoffR Patcher, "patch_kobo_4007523\4.0.7523_target\koboroot.tgz\u sr\local\kobo\nickel", to the folder.

The rest of the steps are the same.

Last edited by oren64; 09-28-2016 at 07:32 AM.
oren64 is offline   Reply With Quote
Old 09-28-2016, 09:07 AM   #89
frenshprince
Connoisseur
frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'frenshprince knows the difference between 'who' and 'whom'
 
Posts: 54
Karma: 10000
Join Date: Oct 2014
Location: France
Device: Kindle Voyage, Kindle PW3, Kobo Aura One, Kobo Glo HD
Thank Oren, I think I understand.

I need to install Python, and evreytime I ll change some stuff in the GeoffR patch, I'll have to do the steps again.

I saw that Dico Size patch was include in 3.19 GeoffR patch.
Is there a particular reason you separated it for the 4.00 ?
frenshprince is offline   Reply With Quote
Old 09-28-2016, 11:56 AM   #90
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
Quote:
Originally Posted by frenshprince View Post
I need to install Python, and evreytime I ll change some stuff in the GeoffR patch, I'll have to do the steps again.
Only if you change the file "nickel.patch".

Quote:
I saw that Dico Size patch was include in 3.19 GeoffR patch.
Is there a particular reason you separated it for the 4.00 ?
The reason is that Kobo moved the code from libnickel.so.1.0.0 to nickel and compressed it to CSS string, so it no longer accessible with GeoffR patcher.

Last edited by oren64; 09-28-2016 at 12:29 PM.
oren64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.0.7523 oren64 Kobo Reader 194 02-07-2017 09:28 PM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.16.10 GeoffR Kobo Developer's Corner 12 08-14-2015 03:40 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 AM


All times are GMT -4. The time now is 10:41 AM.


MobileRead.com is a privately owned, operated and funded community.