![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Sep 2013
Device: none
|
![]()
Hi everyone,
I am using embedded fonts in my ebook using the @font-face declaration in my linked css file. In Sigil everything looks good (all fonts display, correct size, formatting etc) but when I view the epub on the iPad the font works for some of my xhtml files but not all. It does pick up the rest of the formatting (size, alignment, colour) just not the font. Has anyone encountered this problem before / can shed any light on what this might be caused by? I've combed through the code and everything looks good - css linked, paragraph styles correct, nothing amiss - but maybe I am missing something. I have attached the epub file if anyone would be kind enough to take a look. At the minute the xhtml files 00-title, 01-preface and 02-contents are displaying custom fonts ok on my iPad but 03-introduction is not. Thanks in advance! Rosa |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I assume you mean iBooks and not iPad in general...
You need to add the file com.apple.ibooks.display-options.xml in the META-INF folder with the following content: Code:
<?xml version="1.0" encoding="UTF-8"?> <display_options> <platform name="*"> <option name="specified-fonts">true</option> </platform> </display_options> |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 10
Join Date: Sep 2013
Device: none
|
Ah, brilliant! Sorted. I presumed that lots of people would have had this problem, sorry for clogging up the forum with repeated threads, I had a look but I obviously wasn't searching the right terms. Thanks Toxaris
![]() |
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2014
Device: iPhone 5S, iPad Air
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
@font-face, custom, font embedding, ipad, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I use custom xhtml tags in Sigil? | Doitsu | Sigil | 2 | 09-21-2012 07:51 AM |
Custom code in ePub titlepage.xhtml | Mrs_Often | Conversion | 6 | 07-24-2012 12:36 PM |
PRS-350 PRS-350 only partially displays embedded font | baliantas | Sony Reader | 6 | 11-07-2011 07:49 AM |
EPUB files formatted okay XHTML not so much | condor | Nook Color & Nook Tablet | 13 | 04-29-2011 10:31 AM |
Merge multiple XHTML files at once | gmw | Sigil | 1 | 12-28-2010 02:35 AM |