View Single Post
Old 03-17-2023, 07:29 AM   #3
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,250
Karma: 105299897
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
You might get it to work while using the Viewer, but it will fail on any other device.
Translation: This is a really bad idea.

The proper way to use default system fonts on anything (even old mobi supports 3) is to use a generic family name:
Serif
Sans-serif
monospace (like typewriter, telex, telegram or terminal/console)
cursive (fake handwriting)
fantasy

Ancient kindles only have:
Serif
Sans-serif
monospace


Each ought to also support Normal, Bold, Italic, Bold+Italic.

CSS
font-family:serif;

Oblique, italic and cursive are different:
oblique is making a font slant if there is no italic, but oblique families exist.
Italic fonts don't exactly match the Normal version and are not just merely slanted as in oblique. Called Italic because they were invented or popularised in Italy in typeset books.
Cursive fonts might not be slanted like oblique or italic, though they might be. They give a closer to joined up script style. Clue in name.
Quoth is offline   Reply With Quote