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 10-23-2016, 08:00 PM   #256
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by tshering View Post
Please try this:
Spoiler:
Code:
// -------------------------------------------------- enable games on Glo HD
<patch>
name=4C4572(4.0.7523)
note=idea by pipcat
note=cf. https://www.mobileread.com/forums/showthread.php?t=274027
enabled=true
action=replace_zlib
position=autodetect
oldpart=#spacerWidget[qApp_deviceIsTrilogy="true"],\n#description[qApp_deviceIsTrilogy="true"] {\n  padding-right: 12px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
oldpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsDaylight="true"],\n#description[qApp_deviceIsDaylight="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#spacerWidget[qApp_deviceIsStar="true"],\n#description[qApp_deviceIsStar="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
oldpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsDaylight="true"],\n#solitaireContainer[qApp_deviceIsDaylight="true"],\n#rushHourContainer[qApp_deviceIsDaylight="true"],\n#sudokuContainer[qApp_deviceIsDaylight="true"],\n#sketchPadContainer[qApp_deviceIsDaylight="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleContainer[qApp_deviceIsStar="true"],\n#solitaireContainer[qApp_deviceIsStar="true"],\n#rushHourContainer[qApp_deviceIsStar="true"],\n#sudokuContainer[qApp_deviceIsStar="true"],\n#sketchPadContainer[qApp_deviceIsStar="true"] {\n  qproperty-visible: false;\n}\n
oldpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
oldpart=#boggleDescription[qApp_deviceIsDaylight="true"],\n#solitaireDescription[qApp_deviceIsDaylight="true"],\n#rushHourDescription[qApp_deviceIsDaylight="true"],\n#browserDescription[qApp_deviceIsDaylight="true"],\n#sudokuDescription[qApp_deviceIsDaylight="true"],\n#scribbleDescription[qApp_deviceIsDaylight="true"] {\n  padding-top: 26px;\n  padding-bottom: 26px;\n}\n
oldpart=#browserContainer[qApp_deviceIsTrilogy="true"] {\n  qproperty-bottomMargin: 10;\n}\n
# next line changed
newpart=#spacerWidget,\n#description {\n  padding-right: 12px;\n}\n
newpart=#spacerWidget[qApp_deviceIsPhoenix="true"],\n#description[qApp_deviceIsPhoenix="true"] {\n  padding-right: 15px;\n}\n
newpart=#spacerWidget[qApp_deviceIsDragon="true"],\n#description[qApp_deviceIsDragon="true"] {\n  padding-right: 20px;\n}\n
#
newpart=#spacerWidget,\n#description {\n  qproperty-visible: true;\n}\n
#newpart=#spacerWidget[qApp_deviceIsPika="true"],\n#description[qApp_deviceIsPika="true"] {\n  qproperty-visible: true;\n}\n
#newpart=#spacerWidget[qApp_deviceIsAlyssum="true"],\n#description[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
#newpart=#spacerWidget[qApp_deviceIsDaylight="true"],\n#description[qApp_deviceIsDaylight="true"] {\n  qproperty-visible: false;\n}\n
#newpart=#spacerWidget[qApp_deviceIsStar="true"],\n#description[qApp_deviceIsStar="true"] {\n  qproperty-visible: false;\n}\n
#
newpart=#boggleContainer,\n#solitaireContainer,\n#rushHourContainer,\n#sudokuContainer,\n#sketchPadContainer {\n  qproperty-bottomMargin: 10;\n}\n
newpart=#boggleContainer[qApp_deviceIsPika="true"],\n#solitaireContainer[qApp_deviceIsPika="true"],\n#rushHourContainer[qApp_deviceIsPika="true"],\n#sudokuContainer[qApp_deviceIsPika="true"],\n#sketchPadContainer[qApp_deviceIsPika="true"] {\n  qproperty-visible: false;\n}\n
#
#newpart=#boggleContainer[qApp_deviceIsAlyssum="true"],\n#solitaireContainer[qApp_deviceIsAlyssum="true"],\n#rushHourContainer[qApp_deviceIsAlyssum="true"],\n#sudokuContainer[qApp_deviceIsAlyssum="true"],\n#sketchPadContainer[qApp_deviceIsAlyssum="true"] {\n  qproperty-visible: false;\n}\n
#newpart=#boggleContainer[qApp_deviceIsDaylight="true"],\n#solitaireContainer[qApp_deviceIsDaylight="true"],\n#rushHourContainer[qApp_deviceIsDaylight="true"],\n#sudokuContainer[qApp_deviceIsDaylight="true"],\n#sketchPadContainer[qApp_deviceIsDaylight="true"] {\n  qproperty-visible: false;\n}\n
#newpart=#boggleContainer[qApp_deviceIsStar="true"],\n#solitaireContainer[qApp_deviceIsStar="true"],\n#rushHourContainer[qApp_deviceIsStar="true"],\n#sudokuContainer[qApp_deviceIsStar="true"],\n#sketchPadContainer[qApp_deviceIsStar="true"] {\n  qproperty-visible: false;\n}\n
# next line changed
newpart=#boggleDescription,\n#solitaireDescription,\n#rushHourDescription,\n#browserDescription,\n#sudokuDescription,\n#scribbleDescription {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
#newpart=#boggleDescription[qApp_deviceIsTrilogy="true"],\n#solitaireDescription[qApp_deviceIsTrilogy="true"],\n#rushHourDescription[qApp_deviceIsTrilogy="true"],\n#browserDescription[qApp_deviceIsTrilogy="true"],\n#sudokuDescription[qApp_deviceIsTrilogy="true"],\n#scribbleDescription[qApp_deviceIsTrilogy="true"] {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n
newpart=#boggleDescription[qApp_deviceIsPhoenix="true"],\n#solitaireDescription[qApp_deviceIsPhoenix="true"],\n#rushHourDescription[qApp_deviceIsPhoenix="true"],\n#browserDescription[qApp_deviceIsPhoenix="true"],\n#sudokuDescription[qApp_deviceIsPhoenix="true"],\n#scribbleDescription[qApp_deviceIsPhoenix="true"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n
newpart=#boggleDescription[qApp_deviceIsDragon="true"],\n#solitaireDescription[qApp_deviceIsDragon="true"],\n#rushHourDescription[qApp_deviceIsDragon="true"],\n#browserDescription[qApp_deviceIsDragon="true"],\n#sudokuDescription[qApp_deviceIsDragon="true"],\n#scribbleDescription[qApp_deviceIsDragon="true"] {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n
newpart=#boggleDescription[qApp_deviceIsDaylight="true"],\n#solitaireDescription[qApp_deviceIsDaylight="true"],\n#rushHourDescription[qApp_deviceIsDaylight="true"],\n#browserDescription[qApp_deviceIsDaylight="true"],\n#sudokuDescription[qApp_deviceIsDaylight="true"],\n#scribbleDescription[qApp_deviceIsDaylight="true"] {\n  padding-top: 26px;\n  padding-bottom: 26px;\n}\n
newpart=#browserContainer[qApp_deviceIsTrilogy="true"] {\n  qproperty-bottomMargin: 10;\n}\n
combineparts
</patch>
it works. Thanks

Quote:
Try position=7bafb8, if this does not work (that means if you cannot see the second page of beta features), try position=7baea6. I guess it is safe to test this. Nevertheless, it might be a good idea to backup anything you need, in case something happens.
It doesn't work with any position.
surquizu is offline   Reply With Quote
Old 10-24-2016, 03:49 AM   #257
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by surquizu View Post
It doesn't work with any position.
This is rather a task for somebody who has some experience with assembly language. pipcat seems not to be active in this forum lately.
tshering is offline   Reply With Quote
Advert
Old 12-15-2016, 03:51 PM   #258
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Modification for Bad Eyes FW 4.2.8110

Everything is basically the same as in Modification for Bad Eyes FW 4.1.7729.
If you did customise some patches for FW 4.1.7729, you can copy the changed patches to the patch files of the current version. The exception is the only patch under the heading "Library View, no italics" in nickel.txt. There, you have to use the new patch with the name "13330B(4.2.8110)."
Attached Files
File Type: zip KBPatcher15_4.2.8110_inc30.zip (491.7 KB, 209 views)
File Type: zip KBPatcher15_4.2.8110.zip (489.3 KB, 218 views)
tshering is offline   Reply With Quote
Old 12-18-2016, 04:44 AM   #259
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,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
BTW, there's a new name in nickel.css, Dahlia.
Terisa de morgan is offline   Reply With Quote
Old 12-18-2016, 09:58 AM   #260
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Terisa de morgan View Post
BTW, there's a new name in nickel.css, Dahlia.
Thank you for mentioning it. The css block concerned is not included in the current package, and if I remember correctly, was never part of any modifications for bad eyes package. Just in case somebody needs it, here is the block (without any modifications done):
Spoiler:
Code:
<patch>
name=4BF796(4.0.7523)
enabled=true
action=replace_zlib
position=autodetect
oldpart=* {\n  background: white;\n}\n
oldpart=DragonListWidget[qApp_deviceIsTrilogy="true"] {\n  min-height: 115px;\n  max-height: 115px;\n  min-width: 534px;\n  max-width: 534px;\n  qproperty-spacing: 12;\n  qproperty-leftMargin: 12;\n}\n
oldpart=DragonListWidget[qApp_deviceIsPhoenix="true"] {\n  min-height: 147px;\n  max-height: 147px;\n  min-width: 678px;\n  max-width: 678px;\n  qproperty-spacing: 15;\n  qproperty-leftMargin: 15;\n}\n
oldpart=DragonListWidget[qApp_deviceIsDragon="true"] {\n  min-height: 175px;\n  max-height: 175px;\n  min-width: 960px;\n  max-width: 960px;\n  qproperty-spacing: 20;\n  qproperty-leftMargin: 20;\n}\n
oldpart=DragonListWidget[qApp_deviceIsDahlia="true"] {\n  min-height: 173px;\n  max-height: 173px;\n}\n
oldpart=DragonListWidget[qApp_deviceIsAlyssum="true"] {\n  min-height: 205px;\n  max-height: 205px;\n}\n
oldpart=DragonListWidget[qApp_deviceIsDaylight="true"] {\n  min-height: 227px;\n  max-height: 227px;\n  min-width: 1248px;\n  max-width: 1248px;\n  qproperty-spacing: 26;\n  qproperty-leftMargin: 26;\n}\n
oldpart=#author {\n  qproperty-maxNumLines: 1;\n}\n
oldpart=#author[qApp_localeName="ja_JP"] {\n  font-size: 20px;\n  qproperty-forceLeading: 5;\n}\n
oldpart=#favourited[qApp_deviceIsTrilogy="true"] {\n  min-width: 14px;\n  max-width: 14px;\n  min-height: 14px;\n  max-height: 14px;\n}\n
oldpart=#favourited[qApp_deviceIsPhoenix="true"] {\n  min-width: 16px;\n  max-width: 16px;\n  min-height: 15px;\n  max-height: 15px;\n}\n
oldpart=#favourited[qApp_deviceIsDragon="true"] {\n  min-width: 21px;\n  max-width: 21px;\n  min-height: 20px;\n  max-height: 20px;\n}\n
oldpart=#favourited[qApp_deviceIsDaylight="true"] {\n  min-width: 27px;\n  max-width: 27px;\n  min-height: 26px;\n  max-height: 26px;\n}\n
oldpart=#series {\n  qproperty-maxNumLines: 1;\n}\n
oldpart=#coverPixmapView[qApp_deviceIsTrilogy="true"] {\n  min-width: 60px;\n  max-width: 60px;\n  min-height: 90px;\n  max-height: 90px;\n}\n
oldpart=#coverPixmapView[qApp_deviceIsPhoenix="true"] {\n  min-width: 70px;\n  max-width: 70px;\n  min-height: 110px;\n  max-height: 110px;\n}\n
oldpart=#coverPixmapView[qApp_deviceIsDragon="true"] {\n  min-width: 90px;\n  max-width: 90px;\n  min-height: 140px;\n  max-height: 140px;\n}\n
oldpart=#coverPixmapView[qApp_deviceIsAlyssum="true"] {\n  min-width: 100px;\n  max-width: 100px;\n  min-height: 160px;\n  max-height: 160px;\n}\n
oldpart=#coverPixmapView[qApp_deviceIsDaylight="true"] {\n  min-width: 117px;\n  max-width: 117px;\n  min-height: 182px;\n  max-height: 182px;\n}\n
oldpart=#coverPixmapView[isPocket="true"][qApp_deviceIsPhoenix="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsPhoenix="true"] {\n  min-width: 80px;\n  max-width: 80px;\n  min-height: 110px;\n  max-height: 110px;\n}\n
oldpart=#coverPixmapView[isPocket="true"][qApp_deviceIsDragon="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsDragon="true"] {\n  min-width: 100px;\n  max-width: 100px;\n  min-height: 140px;\n  max-height: 140px;\n}\n
oldpart=#coverPixmapView[isPocket="true"][qApp_deviceIsAlyssum="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsAlyssum="true"] {\n  min-width: 115px;\n  max-width: 115px;\n  min-height: 160px;\n  max-height: 160px;\n}\n
oldpart=#coverPixmapView[isPocket="true"][qApp_deviceIsDaylight="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsDaylight="true"] {\n  min-width: 130px;\n  max-width: 130px;\n  min-height: 182px;\n  max-height: 182px;\n}\n
oldpart=#downloadContainer[qApp_deviceIsPhoenix="true"] {\n  qproperty-leftMargin: 15;\n  qproperty-rightMargin: 15;\n}\n
oldpart=#downloadContainer[qApp_deviceIsDragon="true"] {\n  qproperty-leftMargin: 20;\n  qproperty-rightMargin: 20;\n}\n
oldpart=#downloadContainer[qApp_deviceIsDaylight="true"] {\n  qproperty-leftMargin: 26;\n  qproperty-rightMargin: 26;\n}\n
oldpart=#readStatus {\n  padding: 0px;\n}\n
oldpart=#previewBadge[qApp_deviceIsTrilogy="true"] {\n  padding-left: 12px;\n  padding-right: 12px;\n}\n
oldpart=#previewBadge[qApp_deviceIsPhoenix="true"] {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n
oldpart=#previewBadge[qApp_deviceIsDragon="true"] {\n  padding-left: 20px;\n  padding-right: 20px;\n}\n
oldpart=#previewBadge[qApp_deviceIsDaylight="true"] {\n  padding-left: 26px;\n  padding-right: 26px;\n}\n
oldpart=#borrowStatus[qApp_deviceIsTrilogy="true"] {\n  padding-left: 12px;\n  padding-right: 12px;\n}\n
oldpart=#borrowStatus[qApp_deviceIsPhoenix="true"] {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n
oldpart=#borrowStatus[qApp_deviceIsDragon="true"] {\n  padding-left: 20px;\n  padding-right: 20px;\n}\n
oldpart=#borrowStatus[qApp_deviceIsDaylight="true"] {\n  padding-left: 26px;\n  padding-right: 26px;\n}\n
oldpart=QProgressBar {\n  border: 0px;\n  background-color: #BABABA;\n  margin-top: 3px;\n  margin-bottom: 3px;\n}\n
oldpart=QProgressBar[qApp_deviceIsTrilogy="true"] {\n  margin-left: 12px;\n  margin-right: 12px;\n}\n
oldpart=QProgressBar[qApp_deviceIsPhoenix="true"] {\n  margin-left: 15px;\n  margin-right: 15px;\n}\n
oldpart=QProgressBar[qApp_deviceIsDragon="true"] {\n  margin-left: 20px;\n  margin-right: 20px;\n}\n
oldpart=QProgressBar[qApp_deviceIsDaylight="true"] {\n  margin-left: 26px;\n  margin-right: 26px;\n}\n
oldpart=QProgressBar::chunk {\n  background-color: #000000;\n}\n
oldpart=#syncWarning {\n  text-transform: uppercase;\n}\n
newpart=* {\n  background: white;\n}\n
newpart=DragonListWidget[qApp_deviceIsTrilogy="true"] {\n  min-height: 115px;\n  max-height: 115px;\n  min-width: 534px;\n  max-width: 534px;\n  qproperty-spacing: 12;\n  qproperty-leftMargin: 12;\n}\n
newpart=DragonListWidget[qApp_deviceIsPhoenix="true"] {\n  min-height: 147px;\n  max-height: 147px;\n  min-width: 678px;\n  max-width: 678px;\n  qproperty-spacing: 15;\n  qproperty-leftMargin: 15;\n}\n
newpart=DragonListWidget[qApp_deviceIsDragon="true"] {\n  min-height: 175px;\n  max-height: 175px;\n  min-width: 960px;\n  max-width: 960px;\n  qproperty-spacing: 20;\n  qproperty-leftMargin: 20;\n}\n
newpart=DragonListWidget[qApp_deviceIsDahlia="true"] {\n  min-height: 173px;\n  max-height: 173px;\n}\n
newpart=DragonListWidget[qApp_deviceIsAlyssum="true"] {\n  min-height: 205px;\n  max-height: 205px;\n}\n
newpart=DragonListWidget[qApp_deviceIsDaylight="true"] {\n  min-height: 227px;\n  max-height: 227px;\n  min-width: 1248px;\n  max-width: 1248px;\n  qproperty-spacing: 26;\n  qproperty-leftMargin: 26;\n}\n
newpart=#author {\n  qproperty-maxNumLines: 1;\n}\n
newpart=#author[qApp_localeName="ja_JP"] {\n  font-size: 20px;\n  qproperty-forceLeading: 5;\n}\n
newpart=#favourited[qApp_deviceIsTrilogy="true"] {\n  min-width: 14px;\n  max-width: 14px;\n  min-height: 14px;\n  max-height: 14px;\n}\n
newpart=#favourited[qApp_deviceIsPhoenix="true"] {\n  min-width: 16px;\n  max-width: 16px;\n  min-height: 15px;\n  max-height: 15px;\n}\n
newpart=#favourited[qApp_deviceIsDragon="true"] {\n  min-width: 21px;\n  max-width: 21px;\n  min-height: 20px;\n  max-height: 20px;\n}\n
newpart=#favourited[qApp_deviceIsDaylight="true"] {\n  min-width: 27px;\n  max-width: 27px;\n  min-height: 26px;\n  max-height: 26px;\n}\n
newpart=#series {\n  qproperty-maxNumLines: 1;\n}\n
newpart=#coverPixmapView[qApp_deviceIsTrilogy="true"] {\n  min-width: 60px;\n  max-width: 60px;\n  min-height: 90px;\n  max-height: 90px;\n}\n
newpart=#coverPixmapView[qApp_deviceIsPhoenix="true"] {\n  min-width: 70px;\n  max-width: 70px;\n  min-height: 110px;\n  max-height: 110px;\n}\n
newpart=#coverPixmapView[qApp_deviceIsDragon="true"] {\n  min-width: 90px;\n  max-width: 90px;\n  min-height: 140px;\n  max-height: 140px;\n}\n
newpart=#coverPixmapView[qApp_deviceIsAlyssum="true"] {\n  min-width: 100px;\n  max-width: 100px;\n  min-height: 160px;\n  max-height: 160px;\n}\n
newpart=#coverPixmapView[qApp_deviceIsDaylight="true"] {\n  min-width: 117px;\n  max-width: 117px;\n  min-height: 182px;\n  max-height: 182px;\n}\n
newpart=#coverPixmapView[isPocket="true"][qApp_deviceIsPhoenix="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsPhoenix="true"] {\n  min-width: 80px;\n  max-width: 80px;\n  min-height: 110px;\n  max-height: 110px;\n}\n
newpart=#coverPixmapView[isPocket="true"][qApp_deviceIsDragon="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsDragon="true"] {\n  min-width: 100px;\n  max-width: 100px;\n  min-height: 140px;\n  max-height: 140px;\n}\n
newpart=#coverPixmapView[isPocket="true"][qApp_deviceIsAlyssum="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsAlyssum="true"] {\n  min-width: 115px;\n  max-width: 115px;\n  min-height: 160px;\n  max-height: 160px;\n}\n
newpart=#coverPixmapView[isPocket="true"][qApp_deviceIsDaylight="true"],\n#coverPixmapView[isStack="true"][qApp_deviceIsDaylight="true"] {\n  min-width: 130px;\n  max-width: 130px;\n  min-height: 182px;\n  max-height: 182px;\n}\n
newpart=#downloadContainer[qApp_deviceIsPhoenix="true"] {\n  qproperty-leftMargin: 15;\n  qproperty-rightMargin: 15;\n}\n
newpart=#downloadContainer[qApp_deviceIsDragon="true"] {\n  qproperty-leftMargin: 20;\n  qproperty-rightMargin: 20;\n}\n
newpart=#downloadContainer[qApp_deviceIsDaylight="true"] {\n  qproperty-leftMargin: 26;\n  qproperty-rightMargin: 26;\n}\n
newpart=#readStatus {\n  padding: 0px;\n}\n
newpart=#previewBadge[qApp_deviceIsTrilogy="true"] {\n  padding-left: 12px;\n  padding-right: 12px;\n}\n
newpart=#previewBadge[qApp_deviceIsPhoenix="true"] {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n
newpart=#previewBadge[qApp_deviceIsDragon="true"] {\n  padding-left: 20px;\n  padding-right: 20px;\n}\n
newpart=#previewBadge[qApp_deviceIsDaylight="true"] {\n  padding-left: 26px;\n  padding-right: 26px;\n}\n
newpart=#borrowStatus[qApp_deviceIsTrilogy="true"] {\n  padding-left: 12px;\n  padding-right: 12px;\n}\n
newpart=#borrowStatus[qApp_deviceIsPhoenix="true"] {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n
newpart=#borrowStatus[qApp_deviceIsDragon="true"] {\n  padding-left: 20px;\n  padding-right: 20px;\n}\n
newpart=#borrowStatus[qApp_deviceIsDaylight="true"] {\n  padding-left: 26px;\n  padding-right: 26px;\n}\n
newpart=QProgressBar {\n  border: 0px;\n  background-color: #BABABA;\n  margin-top: 3px;\n  margin-bottom: 3px;\n}\n
newpart=QProgressBar[qApp_deviceIsTrilogy="true"] {\n  margin-left: 12px;\n  margin-right: 12px;\n}\n
newpart=QProgressBar[qApp_deviceIsPhoenix="true"] {\n  margin-left: 15px;\n  margin-right: 15px;\n}\n
newpart=QProgressBar[qApp_deviceIsDragon="true"] {\n  margin-left: 20px;\n  margin-right: 20px;\n}\n
newpart=QProgressBar[qApp_deviceIsDaylight="true"] {\n  margin-left: 26px;\n  margin-right: 26px;\n}\n
newpart=QProgressBar::chunk {\n  background-color: #000000;\n}\n
newpart=#syncWarning {\n  text-transform: uppercase;\n}\n
combineparts
</patch>
tshering is offline   Reply With Quote
Advert
Old 01-05-2017, 06:06 PM   #261
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
This is an updated version of KBPatcher15_4.2.8110_inc30.zip. Its purpose is to demonstrate how to insert 3-byte utf8 characters in the ÉÀÇ-keyboard, even though for each key there is only space for two bytes available. The solution presented here is to use for each 3-byte utf8 character the space that is originally provided for two keys.
These package contains two examples: "keyboard devanagari" (which is not really useful), and "keyboard sanskrit transliteration" (both are disabled by default).
Attached Thumbnails
Click image for larger version

Name:	screen_20170105_211326.png
Views:	223
Size:	23.6 KB
ID:	153978   Click image for larger version

Name:	screen_20170105_213701.png
Views:	210
Size:	33.0 KB
ID:	153979  
Attached Files
File Type: zip KBPatcher16_4.2.8110_inc30_kbd.zip (492.2 KB, 144 views)
tshering is offline   Reply With Quote
Old 01-09-2017, 04:32 PM   #262
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Not on topic, but: would it be possible to add 2-byte utf8 characters of standard characters (a-z) in 3.19.5761?
Somehow Aura H2O waits for 2-byte character codes, other than 0x00 on the changeable extended latin keyboard page, so it is not possible to use 1-byte characters there, only malfunctioning ones that adds a space and shift / caps does not work on them.
kido.resuri is offline   Reply With Quote
Old 01-09-2017, 05:30 PM   #263
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by kido.resuri View Post
Not on topic, but: would it be possible to add 2-byte utf8 characters of standard characters (a-z) in 3.19.5761?
Somehow Aura H2O waits for 2-byte character codes, other than 0x00 on the changeable extended latin keyboard page, so it is not possible to use 1-byte characters there, only malfunctioning ones that adds a space and shift / caps does not work on them.
I am not sure whether I understand correctly what you are saying. But I try to give an answer. There is a zero-terminated string for each key. If your character needs less then the whole string, you put the zero earlier (in order to shorten the string).
tshering is offline   Reply With Quote
Old 01-10-2017, 01:19 PM   #264
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Quote:
Originally Posted by tshering View Post
There is a zero-terminated string for each key. If your character needs less then the whole string, you put the zero earlier (in order to shorten the string).
Sure, but sadly, the Aura H2O will use the 2 byte character no matter if there is a null terminator after the 1 byte char. So standard a-z characters can't be used on the ÉÁÇ keyboard layout.
For example, if I set a key to be "a", H2O will type "a " when that key is pressed, and the shift key is useless for these keys.
kido.resuri is offline   Reply With Quote
Old 01-10-2017, 03:28 PM   #265
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by kido.resuri View Post
Sure, but sadly, the Aura H2O will use the 2 byte character no matter if there is a null terminator after the 1 byte char. So standard a-z characters can't be used on the ÉÁÇ keyboard layout.
For example, if I set a key to be "a", H2O will type "a " when that key is pressed, and the shift key is useless for these keys.
I got curious, set my Glo to 3.19.5761, and tried it. Seems to work here. I guess it should be working on the H2O too, even if the keyboard layout might be a little different.
Attached Thumbnails
Click image for larger version

Name:	screen_20170110_212017.png
Views:	177
Size:	39.4 KB
ID:	154082   Click image for larger version

Name:	screen_20170110_212101.png
Views:	170
Size:	40.8 KB
ID:	154083  
tshering is offline   Reply With Quote
Old 01-11-2017, 01:58 PM   #266
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Quote:
Originally Posted by tshering View Post
I got curious, set my Glo to 3.19.5761, and tried it. Seems to work here. I guess it should be working on the H2O too, even if the keyboard layout might be a little different.
Well, it should, but it does not...

I had a discussion about it earlier:

This is my hungarian keyboard layout patch:
https://www.mobileread.com/forums/sh...&postcount=107

And here are two screenshots of the H2O:
https://www.mobileread.com/forums/sh...&postcount=110

Looking at your skills, I thought you could maybe come out with some solution
kido.resuri is offline   Reply With Quote
Old 01-11-2017, 02:30 PM   #267
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by kido.resuri View Post
Well, it should, but it does not...

I had a discussion about it earlier:

This is my hungarian keyboard layout patch:
https://www.mobileread.com/forums/sh...&postcount=107

And here are two screenshots of the H2O:
https://www.mobileread.com/forums/sh...&postcount=110

Looking at your skills, I thought you could maybe come out with some solution
It would have been helpful if you had linked to this discussion earlier.
tshering is offline   Reply With Quote
Old 01-11-2017, 04:22 PM   #268
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Sorry, I forgot about it
kido.resuri is offline   Reply With Quote
Old 01-17-2017, 05:18 PM   #269
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Modification for Bad Eyes FW 4.2.8283

Same usage and so on as the one for 4.2.8110.
Attached Files
File Type: zip KBPatcher16_4.2.8283_inc30.zip (492.2 KB, 198 views)
tshering is offline   Reply With Quote
Old 01-28-2017, 02:37 AM   #270
gacoi
Junior Member
gacoi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2017
Device: Kobo Glo HD
Hi! Can anybody tell me how to use these files: "libnickel.so.1.0.0.txt" and "nickel.txt" from this post. I'm trying to make my Kobo GLo HD can display Vietnamese title and also table of content. I got "patch_kobo_3.12.1.zip" on my computer but there is no .txt file, only .patch
gacoi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Ebook reader is easiest on the eyes? i.e doesn't strain your eyes when reading Berabouman Which one should I buy? 2 02-08-2013 09:07 AM
Glo Is the screen of my Glo bad or is it my eyes? Polly7 Kobo Reader 5 01-29-2013 03:56 AM
help with some modifications moller Kindle Developer's Corner 3 10-12-2012 02:31 PM
Eyes of Silver, Eyes of Gold, historical romance ellenoc Self-Promotions by Authors and Publishers 18 08-22-2011 02:34 PM
iLiad Registry modifications Martijn iRex Developer's Corner 7 03-27-2008 05:37 PM


All times are GMT -4. The time now is 01:56 AM.


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