Quote:
Originally Posted by AliceWonder
LiberationMono (weird but it seems monospace doesn't work in many ereaders ??), some hand-written fonts
|
It should work.
Code:
<p class="monospace">This is a monospace test.</p>
CSS:
Code:
p.monospace {
font-family: "Liberation Mono", monospace;
}
Quote:
Originally Posted by AliceWonder
It would be nice for a span around "Alice's Ice Cream Points" to cause it to use a font designed to look like human printed text.
|
You could do that too:
Code:
<p>She wrote: <span class="cursive">This is a cursive test.</span></p>
CSS:
Code:
span.cursive {
font-family: "NameOfCursiveFont", cursive;
}
But note, anything outside of
font-family: serif, sans-serif, monospace are probably not well supported at all... and many devices do not have fallbacks.
https://developer.mozilla.org/en-US/...SS/font-family
Note: And like jhowell said, many times these "cursive" fonts are designed for large font sizes and/or Print. They are not designed well for e-ink, low-DPI devices, or small font sizes. So when reading on these devices with your preferred settings, it becomes infuriating/unreadable. This is one of the reasons why people tend towards the poor Android readers discussed below.
Quote:
Originally Posted by AliceWonder
It's odd though, I just tried a bunch of Android ePub readers and they reminded me why I hate smart phones - seems like underneath these ePub apps are all the same engine [...].
|
Most Android EPUB apps are garbage, and don't follow the standards at all. They focus on being able "read every format under the sun plus the kitchen sink", and force everything into their own poor rendering... which most of the time means throwing away all publisher CSS and overriding it with their own.
This breaks many formatting choices such as:
- centering asterisks for scene breaks
- poetry formatting
- table alignment
- [...]
On Android, what you want to do is read using ones that follow the standards: PocketBook, Gitden, Bookari... or any of the official apps (Kobo, B&N, etc.).
And it's also a good idea to have an actual physical ereader to test on.
Quote:
Originally Posted by jhowell
This reminds me of something I read recently in another forum about a self-published author who had the bright idea of having each character’s viewpoint be represented by a different font. Yikes!
|
That sounds... abysmal.