View Single Post
Old 08-31-2019, 04:44 AM   #42
AliceWonder
Connoisseur
AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.AliceWonder ought to be getting tired of karma fortunes by now.
 
Posts: 97
Karma: 200000
Join Date: Aug 2019
Device: none
Quote:
Originally Posted by Hitch View Post
Right. And your point is? Of course it's for special purposes. What are you saying???
I'm sorry.

I was referencing why I chose Intel Clear Sans as my main font, it's a good readable general font that also works better than serif fonts for dyslexia - which is what brought Amazon's dyslexia font into the discussion.

So the context to me was font to use in the eBook itself.

Of course users should always be able to switch the fonts to whatever works best for them. I wish ePub allowed specification of main text font in the *.opf file so that readers could over-ride it with a GUI but they don't.

But anyway, I was under the impression that you were suggesting that if dyslexia was my concern I should use something other than Clear Sans in my ePub archive.

-=-

My basic philosophy is to use fonts that match the purpose and are as friendly as possible while clearly commenting the .css file to make it easy for the end user who needs to change them to do so.

e.g.

Code:
/* This color emulates the classic pulps - feel free to nuke
 * this if it bothers you...*/ 
body {
	background-color: #EBE8D9;
}

/* This is the font used for most of the content. If you need
   to change it to make the book readable for YOUR eyes, this
   is where. Just removing the font-family line should result
   in your reader default font being used instead, or you can
   specify an alternate font installed on your system. */
article p {
  font-family: 'Clear Sans', sans-serif;
  widows: 2;
  orphans: 2;
}

/* Definition lists - the font used for the definition. If you
 * are changing the default font above, you probably should do
 * so here as well. */
dl dd {
	font-family: 'Clear Sans', sans-serif;
	font-style: normal;
}
etc.

(btw OT I don't know what widows and orphans options actually do, was just suggested I should have them - but in my limited testing the readers I usef seem to ignore them as I still had widows and orphans so I may remove them)

Whatever font works best for someone, comment the CSS so that it is easy for those who want to modify it to do so. That's my philosophy. Everyone has different reading preferences. Some may want Times just because they like Times, for example.
AliceWonder is offline   Reply With Quote