View Single Post
Old 01-29-2017, 02:18 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,431
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Does not work in the calibre viewer. Does not work in Adobe Digital Editions 1.7.

When a font is missing bold/italic variants, there is no guarantee that the fallback font will be bold/italic, that's upto the vagaries of the font selection system of the OS in question. So if you want to embed a font and use its bold/italic faces, then embed all the faces.

For example, on a linux system, do

fc-match 'some family with no bold:weight=bold'

and font config will return the regular face for that font. You absolutely must not rely on rendering systems substituting a bold face for a font with no bold face of its own.
kovidgoyal is offline   Reply With Quote