View Single Post
Old 04-22-2022, 03:31 PM   #318
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
In fw 4.32 it changed to:
Code:
body { -kobo-font-sharpness: %1; -kobo-font-thickness: %2; text-rendering: %3; }
Parameters like %1, %2, %3 are usually (always???) read from the Kobo config file (.kobo/Kobo/Kobo eReader.conf) which the user can directly update, either via the GUI, or sometimes only via a manual text edit.

I wonder, is it possible that Kobo are planning to add a new feature for users to control ligatures/kerning in kepub via the text-rendering style? Unfortunately I don't have the necessary tech skills to do a deep dive into the firmware to investigate further.
If it follows convention, it might be something like readingTextRendering under the Reading Settings (since font sharpness is readingFontSharpness), but I don't know what value it would take or what the expected result should look like. Fascinating, though.

EDIT: Oh wait, if it's css, then I think the value would be whatever the css option can be. So maybe one of these:

Code:
/* Keyword values */
text-rendering: auto;
text-rendering: optimizeSpeed;
text-rendering: optimizeLegibility;
text-rendering: geometricPrecision;

/* Global values */
text-rendering: inherit;
text-rendering: initial;
text-rendering: revert;
text-rendering: revert-layer;
text-rendering: unset;

Last edited by rtiangha; 04-22-2022 at 03:37 PM.
rtiangha is offline   Reply With Quote