Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2018, 12:42 PM   #241
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
Test this
Good luck.
Many thanks, everything works on ka1, it what so long wasn't enough for me. I hope in the following patch it will be included.
P.S. The following step - change of a font ))

Last edited by konstantinus; 10-08-2018 at 12:44 PM.
konstantinus is offline   Reply With Quote
Old 10-08-2018, 04:43 PM   #242
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
Quote:
Originally Posted by konstantinus View Post
P.S. The following step - change of a font ))
You can do right now
Code:
      Replace: "RegularTouchLabel{font-family:Georgia;font-style:italic;font-weight:bold;font-size:37px;}"
Change as needed.
Good luck.
jcn363 is offline   Reply With Quote
Advert
Old 10-08-2018, 05:15 PM   #243
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,171
Karma: 16228536
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by jcn363 View Post
You can do right now
Code:
      Replace: "RegularTouchLabel{font-family:Georgia;font-style:italic;font-weight:bold;font-size:37px;}"
Change as needed.
Good luck.
Have you actually got this font-family patch to work in practice?

The unpatched CSS for RegularTouchLabel suggests that pop-up footnote text will display as Georgia italic by default. My footnote text displays in a non-italic sans-serif font (probably Avenir possibly the built-in Japanese sans-serif font, Kakugo seems an odd choice???). Doesn't this suggest that there must be some other CSS elsewhere which is overriding the CSS stream you have identified here.

Last edited by jackie_w; 10-21-2018 at 07:09 PM. Reason: possibly got default font-family wrong
jackie_w is offline   Reply With Quote
Old 10-09-2018, 03:42 AM   #244
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
Quote:
Originally Posted by jackie_w View Post
Have you actually got this font-family patch to work in practice?

The unpatched CSS for RegularTouchLabel suggests that pop-up footnote text will display as Georgia italic by default. My footnote text displays in a non-italic sans-serif font (probably Avenir). Doesn't this suggest that there must be some other CSS elsewhere which is overriding the CSS stream you have identified here.
Not really, this was just an example (and a supposition).

I think so, a must check.
Good luck.
jcn363 is offline   Reply With Quote
Old 10-09-2018, 08:54 AM   #245
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
You can do right now
...
Inserted a row without changes, except for the size. The font became bold, but not italic, the font family has not changed.
P.S. I tried to change the font family - does not work.

Last edited by konstantinus; 10-09-2018 at 08:58 AM.
konstantinus is offline   Reply With Quote
Advert
Old 10-09-2018, 12:29 PM   #246
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
Quote:
Originally Posted by konstantinus View Post
Inserted a row without changes, except for the size. The font became bold, but not italic, the font family has not changed.
P.S. I tried to change the font family - does not work.
I can't test this right now. Take it easy. It can change much more things than you want.
Spoiler:
Code:
Footnotes and alike:
  - Enabled: no
  - Description: |
      Change footnotes and alike font-size
#        - Touch # Trilogy
#        - Touch2 # Pika
#        - Mini # Pixie
#        - AuraHD # Dragon
#        - Aura # Phoenix
#        - Aura2 # Star
#        - Glo # Kraken - uses the values of Phoenix
#        - H2O # Dahlia - uses the values of Dragon
#        - H2O2 # Snow
#        - GloHD # Alyssum
#        - ClaraHD # Nova
#        - AuraOne # Daylight
  - FindZlib:  "QWidget[small"
# Pop-up header (footnotes and alike)
  - ReplaceZlib:
      Find:    "HeaderMediumElidedLabel,\n\
                HeaderMediumTouchLabel,\n\
                HeaderMediumLabel {\n  font-family: Georgia;\n  qproperty-alignment: 'AlignLeft|AlignVCenter';\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumLabel[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumLabel[qApp_deviceIsNova=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumLabel[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}"
      Replace: "HeaderMediumElidedLabel,HeaderMediumTouchLabel,HeaderMediumLabel{font-family:Georgia;qproperty-alignment:'AlignLeft|AlignVCenter';font-size:60px;}"
# Pop-up text (footnotes and alike)
  - ReplaceZlib:
      Find:    "RegularTouchLabel {\n  font-family: Georgia;\n  font-style: italic;\n}\n\
                RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
      Replace: "RegularTouchLabel{font-family:Georgia;font-style:italic;font-size:37px;}"
  - FindZlib: "TouchLabel[imeStyle=\"kanji\"]"
  - ReplaceZlib:
      Find:    "TouchLabel {\n  font-family: Avenir;\n  font-style: normal;\n  background-color: white;\n  qproperty-alignment: AlignCenter;\n}\n\
                TouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                TouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                TouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                TouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                TouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                TouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
      Replace: "TouchLabel{font-family:Georgia;font-style:italic;background-color:white;qproperty-alignment:AlignCenter;font-size:37px;}"

Good luck.
jcn363 is offline   Reply With Quote
Old 10-10-2018, 10:28 AM   #247
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
I can't test this right now. Take it easy. It can change much more things than you want.
...
Good luck.
It only works to change the font size, so I will keep the very first option for myself )
konstantinus is offline   Reply With Quote
Old 10-10-2018, 03:11 PM   #248
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 for feedback. I'll try again.
Good luck.
jcn363 is offline   Reply With Quote
Old 11-08-2018, 05:14 AM   #249
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
geek1011 has post a solution: Change pop-up footnote font-family.
If you want to have the same font-type for header, title and text remove the red line into repalace statement.
This is only an example, you can improve it as you like.
Spoiler:
Code:
Same font all over the pop-up:
  - FindZlib: "#ConfirmationDialog"
  - ReplaceZlib:
      Find:    "#ConfirmationDialog {\n  background-color: transparent;\n}\n\
                #ConfirmationDialog[isSansSerifDialog=true][qApp_deviceIsTrilogy=true] {\n  qproperty-widgetSpacing: 0;\n}\n\
                TouchLabel {\n  qproperty-forceRepaintOnInvert: true;\n  qproperty-highQualityInvert: true;\n}\n\
                #frame {\n  background-color: #FFFFFF;\n}\n\
                #header,\n#title,\n#text {\n  padding: 0px;\n  font-family: Georgia;\n  font-style: normal;\n}\n\
                #header[qApp_localeName=\"ja_JP\"],\n#title[qApp_localeName=\"ja_JP\"],\n#text[qApp_localeName=\"ja_JP\"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n\
                #header[qApp_localeName=\"ja_JP\"],\n#title[qApp_localeName=\"ja_JP\"],\n#text[qApp_localeName=\"ja_JP\"] {\n  qproperty-leading: 5;\n}\n\
                #title[qApp_deviceIsTrilogy=true] {\n  margin-bottom: 15px;\n}\n\
                #title[qApp_deviceIsPhoenix=true] {\n  margin-bottom: 20px;\n}\n\
                #title[qApp_deviceIsDragon=true] {\n  margin-bottom: 28px;\n}\n\
                #title[qApp_deviceIsDaylight=true] {\n  margin-bottom: 36px;\n}\n\
                #text {\n  font-family: Avenir;\n}\n\
                #text[qApp_localeName=\"ja_JP\"] {\n  font-family: Sans-SerifJP, sans-serif;\n  font-style: normal;\n}\n\
                #text[qApp_localeName=\"tr_TR\"] {\n  font-family: Georgia;\n}\n\
                #text[isTextEditDialog=true] {\n  qproperty-visible: false;\n}\n\
                #text[isSansSerifDialog=true] {\n  font-family: Avenir;\n  padding: 0px;\n}\n\
                #text[isSansSerifDialog=true][qApp_deviceIsDaylight=true] {\n  padding-bottom: 12;\n}\n\
                #text[isSansSerifDialog=true][qApp_deviceIsDragon=true] {\n  padding-bottom: 8;\n}\n\
                #rejectButton,\n#acceptButton {\n  qproperty-primaryButton: true;\n}\n\
                #pixmapContainerLayout[qApp_deviceIsTrilogy=true] {\n  margin-bottom: 38px;\n}\n\
                #pixmapContainerLayout[qApp_deviceIsPhoenix=true] {\n  margin-bottom: 45px;\n}\n\
                #pixmapContainerLayout[qApp_deviceIsDragon=true] {\n  margin-bottom: 54px;\n}\n\
                #pixmapContainerLayout[qApp_deviceIsDaylight=true] {\n  margin-bottom: 70px;\n}\n\
                #keyboardStatusContainer,\n#keyboardStatusContainer * {\n  background: #000000;\n  color: #FFFFFF;\n}\n\
                #keyboardStatusText {\n  background-color: solid black;\n  font-family: Georgia;\n  padding: 0px;\n}\n\
                #keyboardFrame {\n  qproperty-visible: false;\n}\n\
                #keyboardFrame[isTextEditDialog=true],\n#keyboardFrame[isPasswordDialog=true] {\n  qproperty-visible: true;\n}\n\
                #closeButton {\n  background-color: transparent;\n}\n\
                #contentContainer {\n  qproperty-topMargin: 0px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsTrilogy=true] {\n  font-size: 17px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsPhoenix=true] {\n  font-size: 22px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsDragon=true] {\n  font-size: 26px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsAlyssum=true] {\n  font-size: 30px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsNova=true] {\n  font-size: 30px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text[qApp_deviceIsDaylight=true] {\n  font-size: 34px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
# Font in pop-up text (footnotes and alike) -> #header,#title,#text
      Replace: "#ConfirmationDialog{background-color:transparent;}\n\
                TouchLabel{qproperty-forceRepaintOnInvert:true;qproperty-highQualityInvert:true;}\n\
                #frame{background-color:#FFFFFF;}\n\
                #header,#title,#text{padding:0px;font-family:Georgia;font-style:normal;}\n\
                #title{margin-bottom:36px;}\n\
                #text[isTextEditDialog=true]{qproperty-visible:false;}\n\
                #text[isSansSerifDialog=true]{font-family:Avenir;padding:0px;padding-bottom:12;}\n\
                #rejectButton,#acceptButton{qproperty-primaryButton:true;}\n\
                #pixmapContainerLayout{margin-bottom:70px;}\n\
                #keyboardStatusContainer,#keyboardStatusContainer *{background:#000000;color:#FFFFFF;}\n\
                #keyboardStatusText{font-family:Georgia;padding:0px;background-color:solid black;}\n\
                #keyboardFrame{qproperty-visible:false;}\n\
                #keyboardFrame[isTextEditDialog=true],#keyboardFrame[isPasswordDialog=true]{qproperty-visible:true;}\n\
                #closeButton{background-color:transparent;}\n\
                #contentContainer{qproperty-topMargin:0px;}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #text{font-size:40px;}\n\
                #ConfirmationDialog[longTextDialog=true][qApp_isFontScaleLarge=true] #title{font-size:43px;}"

Good luck.
Attached Thumbnails
Click image for larger version

Name:	screen_002.png
Views:	483
Size:	195.0 KB
ID:	167523  

Last edited by jcn363; 11-08-2018 at 07:05 AM. Reason: image
jcn363 is offline   Reply With Quote
Old 11-09-2018, 05:26 AM   #250
AlanNL
Junior Member
AlanNL began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2016
Device: Kobo glo hd
Text flow in (two) columns, can you make this functional? Right now only kepub supports it, but it is shown on the first page only and doesn't distribute over the next pages. .
AlanNL is offline   Reply With Quote
Old 11-10-2018, 11:25 AM   #251
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
geek1011 has post a solution:...
Please explain, is your patch for resizing font pop-ups still working?
konstantinus is offline   Reply With Quote
Old 11-10-2018, 06:43 PM   #252
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
Quote:
Originally Posted by konstantinus View Post
Please explain, is your patch for resizing font pop-ups still working?
I think so.
Why not?
This only affects the font-family and it's in another place.
Good luck.
jcn363 is offline   Reply With Quote
Old 11-10-2018, 10:59 PM   #253
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
Why not?
I do not know, there are new versions of the software, there is no patch in Instructions for patching firmware 4.11.11980. I myself have not checked, so I asked.
konstantinus is offline   Reply With Quote
Old 11-11-2018, 05:45 AM   #254
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
Quote:
Originally Posted by konstantinus View Post
I do not know, there are new versions of the software, there is no patch in Instructions for patching firmware 4.11.11980. I myself have not checked, so I asked.
Sorry. In fact, this was a rhetorical question with its answer: there isn't any problem because each patch (this and this one) applies to a different property of font.
Good luck.
jcn363 is offline   Reply With Quote
Old 11-26-2018, 11:09 AM   #255
konstantinus
Connoisseur
konstantinus began at the beginning.
 
Posts: 54
Karma: 10
Join Date: May 2018
Device: Kobo Glo HD, Kobo Forma
Quote:
Originally Posted by jcn363 View Post
...Good luck.
Unfortunately I could not make a patch for kobo forma 4.11.11982
Spoiler:
Code:
Footnotes and alike:
  - Enabled: no
  - Description: |
      Change footnotes and alike font-size
#        - Touch # Trilogy
#        - Touch2 # Pika
#        - Mini # Pixie
#        - AuraHD # Dragon
#        - Aura # Phoenix
#        - Aura2 # Star
#        - Glo # Kraken - uses the values of Phoenix
#        - H2O # Dahlia - uses the values of Dragon
#        - H2O2 # Snow
#        - GloHD # Alyssum
#        - ClaraHD # Nova
#        - AuraOne # Daylight
  - FindZlib:  "QWidget[small"
# Pop-up header (footnotes and alike)
  - ReplaceZlib:
      Find:    "HeaderMediumElidedLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumLabel[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumLabel[qApp_deviceIsNova=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumLabel[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsFrost=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsFrost=true],\n\
                HeaderMediumLabel[qApp_deviceIsFrost=true] {\n  font-size: 60px;\n}"
      Replace: "HeaderMediumElidedLabel,HeaderMediumTouchLabel,HeaderMediumLabel{font-size:60px;}"
# Pop-up text (footnotes and alike)
  - ReplaceZlib:
      Find:    "RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}\n\
                RegularTouchLabel[qApp_deviceIsFrost=true] {\n  font-size: 37px;\n}"
      Replace: "RegularTouchLabel{font-size:46px;}"

ReplaceZlib: find string not found in stream
konstantinus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unofficial Sigil patches varlog Sigil 8 11-12-2014 06:14 PM
Index: Making a linked index in epub virtual_ink ePub 21 10-19-2011 11:23 PM
DR800 Long time to index files after upgrading firmware? Albyr iRex 29 06-18-2011 05:23 PM
How to apply the enhancements/patches ? nubbol Calibre 2 09-04-2010 11:42 PM
iLiad Applying DR GTK+ patches to iLiad ericshliao iRex Developer's Corner 16 03-14-2010 05:39 AM


All times are GMT -4. The time now is 03:58 AM.


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