View Single Post
Old 08-16-2021, 09:38 AM   #22
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by alehel View Post
I used the ScambleEbook plugin, and tested it. Same behaviour.

https://www.dropbox.com/s/uk6chgz63d...sues.epub?dl=0

The first 3 pages or so respect the chosen font. After that my choice of font is ignored.
The problem is that in the stylesheet, most of the styles have:

Code:
	font-family: serif;
It appears that this isn't being overridden when choosing a font. OpenDyslexic is a sans serif font. If I choose a font with serifs, the font does get applied everywhere. And the reason that the first few pages do change, is that they do not use the stylesheet. The styles are defined in the head section of the file.

This is only happening for epubs. It must be the way that the RMSDK works. You would probably see the same if you opened the book with ADE. The kepub renderer use the selected font everywhere.

In my mind, this is a fault in the design of the book. There is no reason to specify the font-family for the body text. It should mainly be done in places where having the text different to the rest of the text is useful. Headings or in a quote or something like that. But, not for the main body text.
davidfor is offline   Reply With Quote