View Single Post
Old 07-19-2017, 12:09 PM   #8
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Thanks Geoff!

tshering's Bad Eyes adaptation

nickel.patch
Spoiler:
Code:
<Patch>
patch_name = `tshering's BAD EYES unclassified, increased by 30% (ADAPTATION - nickel)`
patch_enable = `yes`
# Version patch: 4.5.9587
find_base_address = `#newLabel `
replace_string = 0000, `#newLabel {\n  font-family: Avenir;\n  color: #ffffff;\n  background-color: #808080;\n  padding-left: 5px;\n  padding-right: 5px;\n  padding-top: 2px;\n  font-size: 17px;\n}\n#newLabel[qApp_deviceIsDaylight=true] {\n  font-size: 22px;\n}\n#newLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n`, `#newLabel {\n  font-family: Avenir;\n  color: #ffffff;\n  background-color: #808080;\n  padding-left: 5px;\n  padding-right: 5px;\n  padding-top: 2px;\n  font-size: 22px;\n}\n#newLabel[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}\n#newLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n`
find_base_address = `SearchBox {`
replace_string = 0000, `SearchBox {\n  border: %1px solid black;\n  background-color: white;\n  margin: %2px;\n}\nSearchBox[qApp_deviceIsTrilogy=true] {\n  font-size: 23px;\n}\nSearchBox[qApp_deviceIsTrilogy=true][qApp_localeName="tr_TR"] {\n  font-size: 20px;\n}\nSearchBox[qApp_deviceIsPhoenix=true] {\n  font-size: 28px;\n}\nSearchBox[qApp_deviceIsDragon=true] {\n  font-size: 36px;\n}\nSearchBox[qApp_deviceIsAlyssum=true] {\n  font-size: 39px;\n}\nSearchBox[qApp_deviceIsDaylight=true] {\n  font-size: 47px;\n}\n`. `\nSearchBox {\n  border: %1px solid black;\n  background-color: white;\n  margin: %2px;\n}\nSearchBox[qApp_deviceIsTrilogy=true] {\n  font-size: 29px;\n}\nSearchBox[qApp_deviceIsTrilogy=true][qApp_localeName="tr_TR"] {\n  font-size: 26px;\n}\nSearchBox[qApp_deviceIsPhoenix=true] {\n  font-size: 34px;\n}\nSearchBox[qApp_deviceIsDragon=true] {\n  font-size: 45px;\n}\nSearchBox[qApp_deviceIsAlyssum=true] {\n  font-size: 48px;\n}\nSearchBox[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}`
find_base_address = `#label[qApp_deviceIsTrilogy`
replace_string = 0000, `#label[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n  min-width: 264px;\n  max-width: 264px;\n  min-height: 60px;\n  max-height: 60px;\n}\n#label[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n  min-width: 331px;\n  max-width: 331px;\n  min-height: 72px;\n  max-height: 72px;\n}\n#label[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n  min-width: 480px;\n  max-width: 480px;\n  min-height: 110px;\n  max-height: 110px;\n}\n#label[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n  min-width: 624px;\n  max-width: 624px;\n  min-height: 140px;\n  max-height: 140px;\n}\n`, `\n#label[qApp_deviceIsTrilogy=true] {\n  font-size: 39px;\n  min-width: 264px;\n  max-width: 264px;\n  min-height: 60px;\n  max-height: 60px;\n}\n#label[qApp_deviceIsPhoenix=true] {\n  font-size: 45px;\n  min-width: 331px;\n  max-width: 331px;\n  min-height: 72px;\n  max-height: 72px;\n}\n#label[qApp_deviceIsDragon=true] {\n  font-size: 58px;\n  min-width: 480px;\n  max-width: 480px;\n  min-height: 110px;\n  max-height: 110px;\n}\n#label[qApp_deviceIsDaylight=true] {\n  font-size: 78px;\n  min-width: 624px;\n  max-width: 624px;\n  min-height: 140px;\n  max-height: 140px;\n}`
find_base_address = `#QFrame`
replace_string = 0000, `#QFrame {\n  color: #000000;\n}\n#container {\n  background-color: #D0D0D0;\n}\n#container[colorTheme="LightTheme"] {\n  background-color: white;\n}\n#textEdit {\n  font-size: 20px;\n  border: 0px;\n  color: #000000;\n  font-family: Georgia;\n}\n#textEdit[qApp_deviceIsPhoenix=true] {\n  font-size: 24px;\n}\n#textEdit[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n#textEdit[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n#textEdit[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}\n#textEdit[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#characterCount {\n  padding: 10px;\n  color: #4d4d4d;\n}\n`, `\n#QFrame {\n  color: #000000;\n}\n#container {\n  background-color: #D0D0D0;\n}\n#container[colorTheme="LightTheme"] {\n  background-color: white;\n}\n#textEdit {\n  font-size: 26px;\n  border: 0px;\n  color: #000000;\n  font-family: Georgia;\n}\n#textEdit[qApp_deviceIsPhoenix=true] {\n  font-size: 30px;\n}\n#textEdit[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\n#textEdit[qApp_deviceIsAlyssum=true] {\n  font-size: 41px;\n}\n#textEdit[qApp_deviceIsDaylight=true] {\n  font-size: 48px;\n}\n#textEdit[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#characterCount {\n  padding: 10px;\n  color: #4d4d4d;\n}`
find_base_address = `#titleContainer[qApp_deviceIsTrilogy=true]`
replace_string = 0000, `#titleContainer[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 20;\n  min-height: 46px;\n  max-height: 46px;\n}\n#titleContainer[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 26;\n  min-height: 56px;\n  max-height: 56px;\n}\n#titleContainer[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 36;\n  min-height: 70px;\n  max-height: 70px;\n}\n#titleContainer[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 46;\n  min-height: 90px;\n  max-height: 90px;\n}\n#title {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#title[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#title[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n#title[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n#title[qApp_deviceIsPhoenix=true] {\n  font-size: 20px;\n}\n#title[qApp_deviceIsDragon=true] {\n  font-size: 28px;\n}\n#title[qApp_deviceIsDaylight=true] {\n  font-size: 36px;\n}\n#title[qApp_localeName="ja_JP"] {\n  text-transform: none;\n}\n#link {\n  font-style: italic;\n}\n#link[qApp_localeName="ja_JP"] {\n  font-style: normal;\n}\n`, `#titleContainer[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 20;\n  min-height: 46px;\n  max-height: 46px;\n}\n#titleContainer[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 26;\n  min-height: 56px;\n  max-height: 56px;\n}\n#titleContainer[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 36;\n  min-height: 70px;\n  max-height: 70px;\n}\n#titleContainer[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 46;\n  min-height: 90px;\n  max-height: 90px;\n}\n#title {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#title[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n#title[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n#title[qApp_deviceIsTrilogy=true] {\n  font-size: 21px;\n}\n#title[qApp_deviceIsPhoenix=true] {\n  font-size: 26px;\n}\n#title[qApp_deviceIsDragon=true] {\n  font-size: 34px;\n}\n#title[qApp_deviceIsDaylight=true] {\n  font-size: 45px;\n}\n#title[qApp_localeName="ja_JP"] {\n  text-transform: none;\n}\n#link {\n  font-style: italic;\n}\n#link[qApp_localeName="ja_JP"] {\n  font-style: normal;\n}\n`
find_base_address = `#container[qApp_deviceIsTrilogy=true]`
replace_string = 0000, `#container[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 12px;\n}\n#container[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 16px;\n}\n#container[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 22px;\n}\n#container[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 28px;\n}\n#text {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#text[qApp_deviceIsTrilogy=true] {\n  font-size: 13px;\n}\n#text[qApp_deviceIsPhoenix=true] {\n  font-size: 16px;\n}\n#text[qApp_deviceIsDragon=true] {\n  font-size: 21px;\n}\n#text[qApp_deviceIsAlyssum=true] {\n  font-size: 23px;\n}\n#text[qApp_deviceIsDaylight=true] {\n  font-size: 27px;\n}\n#text[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n  text-transform: none;\n}\n#text[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n`, `#container[qApp_deviceIsTrilogy=true] {\n  qproperty-spacing: 12px;\n}\n#container[qApp_deviceIsPhoenix=true] {\n  qproperty-spacing: 16px;\n}\n#container[qApp_deviceIsDragon=true] {\n  qproperty-spacing: 22px;\n}\n#container[qApp_deviceIsDaylight=true] {\n  qproperty-spacing: 36px;\n}\n#text {\n  font-family: Avenir;\n  text-transform: uppercase;\n}\n#text[qApp_deviceIsTrilogy=true] {\n  font-size: 16px;\n}\n#text[qApp_deviceIsPhoenix=true] {\n  font-size: 19px;\n}\n#text[qApp_deviceIsDragon=true] {\n  font-size: 27px;\n}\n#text[qApp_deviceIsAlyssum=true] {\n  font-size: 30px;\n}\n#text[qApp_deviceIsDaylight=true] {\n  font-size: 39px;\n}\n#text[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n  text-transform: none;\n}\n#text[qApp_localeName="tr_TR"] {\n  font-family: Georgia;\n}\n`
find_base_address = `#N3ToastView`
replace_string = 0000, `#N3ToastView {\n  background-color: transparent;\n  border-width: 8px;\n  border-image: url(:/images/dialogs/toast_background_simple.png) 8 8 8 8;\n}\n#primaryText[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n#primaryText[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n#primaryText[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n#primaryText[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n#primaryText[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}\n#primaryText[qApp_localeName="ja_JP"] {\n  qproperty-leading: 0;\n}\n`, `#N3ToastView {\n  background-color: transparent;\n  border-width: 8px;\n  border-image: url(:/images/dialogs/toast_background_simple.png) 8 8 8 8;\n}\n#primaryText[qApp_deviceIsTrilogy=true] {\n  font-size: 22px;\n}\n#primaryText[qApp_deviceIsPhoenix=true] {\n  font-size: 29px;\n}\n#primaryText[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\n#primaryText[qApp_deviceIsAlyssum=true] {\n  font-size: 41px;\n}\n#primaryText[qApp_deviceIsDaylight=true] {\n  font-size: 48px;\n}\n#primaryText[qApp_localeName="ja_JP"] {\n  qproperty-leading: 0;\n}\n`
find_base_address = `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding`
replace_string = 0000, `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding: 0px;\n  margin: 0px;\n  line-height: 150%;\n  text-align: justify;\n}\nbody[qApp_deviceIsTrilogy=true] {\n  font-size: 20px;\n}\nbody[qApp_deviceIsPhoenix=true] {\n  font-size: 24px;\n}\nbody[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\nbody[qApp_deviceIsDaylight=true] {\n  font-size: 38px;\n}`, `* {\n  font-family: Georgia;\n}\n*[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\nbody {\n  padding: 0px;\n  margin: 0px;\n  line-height: 1.2em;\n text-align: justify;\n}\nbody[qApp_deviceIsTrilogy=true] {\n  font-size: 26px;\n}\nbody[qApp_deviceIsPhoenix=true] {\n  font-size: 30px;\n}\nbody[qApp_deviceIsDragon=true] {\n  font-size: 35px;\n}\nbody[qApp_deviceIsDaylight=true] {\n  font-size: 49px;\n}`
find_base_address = `YTouchLabel`
replace_string = 0000, `YTouchLabel {\n  border-top: 1px solid black;\n  qproperty-indent: 0;\n  qproperty-forceRepaintOnInvert: true;\n  qproperty-highQualityInvert: false;\n  font-family: Georgia;\n  font-style: italic;\n}\nTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 23px;\n}\nTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 26px;\n}\nTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 32px;\n}\nTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 35px;\n}\nTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 42px;\n}\nTouchLabel[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}`, `YTouchLabel {\n  border-top: 1px solid black;\n  qproperty-indent: 0;\n  qproperty-forceRepaintOnInvert: true;\n  qproperty-highQualityInvert: true; \n  font-family: Georgia;\n  font-style: italic;\n}\nTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 29px;\n}\nTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 32px;\n}\nTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 41px;\n}\nTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 44px;\n}\nTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 54px;\n}\nTouchLabel[qApp_localeName="ja_JP"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}`
</Patch>

libnickel.so.1.0.0.patch
Spoiler:
Code:
#__________________________ tshering's  BAD EYES __________________________


<Patch>
patch_name = `Dictionary, remove long winded closest match notification`
patch_enable = `yes`
# Version patch: 4.5.9587
#note=Idea by pakoe
#note=cf. https://www.mobileread.com/forums/showpost.php?p=3043631&postcount=111
find_base_address = `Your search`
replace_string = 0000, `Your search for &ldquo;%1&rdquo; did not match any words in the dictionary. The closest match was &ldquo;%2&rdquo;.`, `\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0`
</Patch>

<Patch>
patch_name = `tshering's BAD EYES unclassified, increased by 30% (ADAPTATION - libnickel)`
patch_enable = `yes`
# Version patch: 4.5.9587
find_base_address = `font-size: 20px;`
replace_string = 0000, `font-size: 20px;`, `font-size: 32px;`
find_base_address = `font-size: 48px;`
replace_string = 0000, `font-size: 48px;`, `font-size: 62px;`
find_base_address = `font-size: 26px;\nfont-family: Georgia;`
replace_string = 0000, `font-size: 26px;`, `font-size: 44px;`
find_base_address = `body {font`
replace_string = 0000, `body {font: %1px %3; line-height: 1.775em;}h1 {font: %2px %3; line-height: 1.775em; font-weight:bold;}h2 {font: %1px %3; line-height: 1.775em; font-weight:bold;}`, `body {font: 1em %3; line-height: 1.25em;}h1 {font: 1.6em %3; line-height: 1.750em; font-weight:bold;}h2 {font: 1.4em %3; line-height: 1.500em; font-weight:bold;}`
</Patch>
jcn363 is offline   Reply With Quote