View Single Post
Old 05-27-2014, 08:27 AM   #128
violent23
Connoisseur
violent23 will become famous soon enoughviolent23 will become famous soon enoughviolent23 will become famous soon enoughviolent23 will become famous soon enoughviolent23 will become famous soon enoughviolent23 will become famous soon enough
 
violent23's Avatar
 
Posts: 83
Karma: 674
Join Date: Oct 2010
Device: Kindle Oasis 2017, Kindle Voyage, Kindle Paperwhite, Kindle Keyboard
Quote:
Originally Posted by GeoffR View Post
Here is the Glo/Aura footer example for firmware 3.3.0, but with font-family set to Avenir:
Spoiler:
Code:
# Decrease footer example for Glo/Aura
replace_string = DAAC44, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[qApp_deviceCodeName="kraken"], \nReadingFooter[qApp_deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[qApp_deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[qApp_deviceCodeName="kraken"], \n[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[qApp_deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 15;\n}\n\n* {\n\tfont-size: 20px;\n\tpadding-bottom: 5px;\n\tfont-family: Avenir;\n}\n\n`
Okay so with this custom footer and the custom header from post #122 I will have Avenir set as the Document Default (which does not suffer from a cut off footer), is there a way to now remove or hide the few fonts like Gothic/Ryumin that do have a cut off footer? I see you say in post #124 that you found a way but that it hid some custom fonts as well. If this is the only way to remove the fonts that do not work correctly on the Aura with your custom footer I am willing to test and see if it hides any of my custom fonts. Of course I would need a way to keep Avenir for the Document Default.

*edit - Okay I think I misunderstood. With the new footer and header patches that set them to Avenir, they now just stay at Avenir no matter what font is selected, resulting in the footer never getting cut off. So the caveat is that they do not change but it does fix my footer problem so thank you.

I am wondering though if there is a way to completely remove/hide Document Default and the other fonts while only listing custom fonts or setting a custom font to Document Default and just hiding all the other system fonts, thus allowing the footer and header to change with whatever font is selected without having to run into the cut off footer problem with the Custom reading footer style patch.

Last edited by violent23; 05-27-2014 at 08:46 AM.
violent23 is offline   Reply With Quote