Scriv 3 beta Compile STILL not preserving font in ePub??

Yeah, you definitely do not want to be overriding body text font family settings, and many readers won’t even let you try (you should be previewing your book formatting in end-user tools, rather than Calibre or Sigil, both of which use rather stock web rendering previews that are way more permissive, and powerful, than typical eInk or applet readers in phones and such). It’s in the guidelines for most vendors I’m sure, to never do that.

As for chapter headings, epigraphs and other special text, sure, it’s fine to embed fonts and in most readers that will work. We could add code that makes it possible to do that, but we don’t because this is the sort of thing that should have a little friction in it. The legal issues of embedding fonts are real, and it’s really expensive to do things legally, which is something the large majority are unaware of (even professional designers are often ignorant). For example, in our own user manual PDF we have a few fonts we selected, and we spent thousands for the rights to use them in the distributed PDF. That’s the kind of money you will be spending if you wish to embed fonts in your books, too.

So we’d either need to implement a lot of very complicated code to handle encryption (as is often your obligation) on a per vendor basis, and somehow verifying licensing rights, etc. It’s a mess, or we could just do the more sensible thing and deliberately strip out font family declarations (which are useless without embedding the fonts).

Yes, that is what we are doing. :slight_smile: We have many lines of code that, on purpose, remove your font assignments from the automatically generated HTML that the text engine outputs. We do this on the Mac as well, so stating we haven’t “given Windows user this” is a misnomer as well.

If you really want to though, and you know what you are doing and have the right to distribute the font in your books—then go for it. There are tools for doing that. It’s a few seconds of effort after you’ve compiled. It’s really hardly worth talking about. I could have set up fifteen books in the time it took me to write this response.