Exporting a 900+-page whole book to fixed ePUB layout through book flyout menu. No option to embed/not embed fonts. One style is exporting as half regular and half italic (see screenshot). No overrides. All other header styles export fine. Thoughts? Thanks.
This is (almost) invariably caused by a mix of fonts installed on the system., for Macs in particular. Something about how fonts are managed both by the system and CC/InDesign... and there my understanding of it runs out.
If you're on Windows, uninstall or deactivate the whole font family and then do a clean reinstall from a 'best' source like Adobe or Google if you don't have original, uncorrupted font files from some other source.
Making sure the system has one and one only set of that font is usually enough. But you might need to do the IDML to INDD save/purge step after the fonts are cleaned up, as well.
I found 1 additional instance of the font and deleted it, but the problem remains. I have discovered that a PDF of the whole book does not have this issue, nor do ePUB exports of individual chapters - it seems to be tied to exporting the whole book to an ePUB. On a critical deadline, hoping someone has previously dealt with this issue.
Having been in these very shoes myself, on a client's Mac, having not touched a Mac since before 2020, let me say that you are going to be best served here by spending some time cooking up variants on the search string "clean Mac font cache". Adobe has some instructions posted, but if you have any Extensis products installed, you're going to want to look at their font cache cleaning instructions as well. Any other font tools installed? Be really thorough.
My client had an app installed that was, I think, exclusively meant for cleaning one's font caches on a Mac, and the way we got the epub to export successfully was to use all three (app, Extensis instructions, Adobe instructions, I think in that order).
I wouldn't mind working this through (this time or some future event) with someone who knows the nuts and bolts, so that I can document it a little more thoroughly and with less helpless handwaving. 🙂