Quote:
Originally Posted by Jellby
So, it looks like the selected font is being used "as if" in a p or * CSS rule. Does anyone have further information on how exactly this works? Could a patch be created to make the custom font apply to body only (I'm interested in chosing my default font, but not overriding document-defined fonts)?
|
If you don't have "Document Default" selected, then the internal epub stylesheet will include this entry:
Code:
body, p { font-family: -ua-default !important; }
where "-ua-default" is the font selected from the device.
This hasn't changed in 3.5.0. It is easy enough to create a patch to alter this entry, provided the length of the replacement line does not exceed the original.