View Single Post
Old 11-10-2022, 09:52 AM   #2
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Bluesteel83 View Post

Hi, I've been editing books for my iPad Airs in Calibre for several years now. Up until iOS 16, if I included com.apple.ibooks.display-options.xml and embedded fonts, I could set the preferred fonts I wanted for body and headings in my Calibre file, export the epub, and then set the font to "Original" in iBooks and everything would display accurately.

However, since the latest iOS/iPadOS 16 updates, the font in "original" now displays as Times New Roman. No matter what I do, I can't get my ebooks/ePub files to display properly/in their installed fonts.

I checked the books on another iPad running iPadOS 15.6 and they displayed properly, it's just the new OS that is the issue.

Does anybody know of a fix/way around it? Is there a new version of that xml file that's needed for the new OS? I have read several websites and forums, but haven't been able to find a solution. Any help appreciated.
I don't know which version of EPUB you have. But try editing the OPF file like below. That's meant for EPUB3, but I think it might work on EPUB2 as well.
Code:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="pt-BR" unique-identifier="isbn-id" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">
    <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
        <!--Metadados embutidos-->
        <meta name="generator" content="Adobe InDesign 13.0.1"/>
        <meta name="cover" content="cover.jpg"/>
        <meta property="ibooks:specified-fonts">true</meta>
...
P.S.: Pay attention to the prefix attribute on the <package> element.
thiago.eec is offline   Reply With Quote