View Single Post
Old 02-17-2024, 08:57 AM   #9
sdothum
Enthusiast
sdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it issdothum knows what time it is
 
Posts: 36
Karma: 2062
Join Date: Oct 2021
Device: Kobo Libra 2
Quote:
Originally Posted by hius07 View Post
Since 02.2024 release it will be enough to set "header_font" in settings.reader.lua to change the font face in alt status bar.
Thanks for confirming this. My original post above actually had this simple user patch..

Code:
local CreDocument = require("document/credocument")
CreDocument.header_font = "yourfont"
and for some reason it stopped working (across all my devices.. Kobo, Kindle, Android). Drove me nuts, so i editted the post with my old hacky solution above.

Long story short, i replaced the hacky user patch with the above and it is working now. Again. Have no idea what i did in the interim to have the NotoSans font reappear in the alt-statusbar.

PLEASE correct my above user patch if it is not properly referencing the "header_font" in "settings.reader.lua". (i had come across a G_reader_settings reference to it but could not decipher its construction and relationship to luasettings).

Last edited by sdothum; 02-17-2024 at 09:08 AM. Reason: Expand remark
sdothum is offline   Reply With Quote