View Single Post
Old 06-23-2023, 10:27 AM   #1038
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,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Aleron Ives View Post
A screenshot of the script output is attached below.
Thanks for your sample code. My own shell script skills are practically non-existent, but a bit of grep/cut googling helped me understand what you did.

I just thought I'd mention that you may need to revisit the code for FontWeight. The .conf file can contain many of these lines, one per font-family that you've ever adjusted the weight for. e.g.
Code:
[Reading]
readingFontWeight\Georgia=0.19
readingFontWeight\IBM%20Plex%20Serif=0.63
readingFontWeight\Kobo%20Nickel=0.48
readingFontWeight\Libre%20Baskerville=0.8
readingFontWeight\LinuxLibertineG=0.65
So if you only want to show the weight of the currently selected font family then you'd need to include the current value of readingFontFamily in your search term.

P.S. Weight isn't a value I'm particularly interested in seeing, so please don't do any extra work on my behalf.
jackie_w is offline   Reply With Quote