|
|
#1 |
|
Addict
![]() Posts: 234
Karma: 40
Join Date: Apr 2010
Device: The Nook, iPad
|
Add xml in META-INF
The example epub I was given (when unzipped) contains a com.apple.ibooks.display-options.xml file in the META-INF folder which only contains basically one line as <option name="specified-fonts">true</true> However when I open this example epub in Sigil, there is no such thing as META-INF, and I do not see that xml file, nor the container.xml file. When I open my own epub file that already had fonts embedded, I don't see that META-INF folder either. I was told all I have to do to make embedded fonts work is just to add that com.apple.ibooks.display-options.xml file to my epub's META-INF folder, but as I cannot even see that folder in Sigil, how can I add a new xml to that folder? Any suggestions? BTW, I am using 0.3.4 if it matters. Thanks a lot. |
|
|
|
|
|
#2 |
|
Addict
![]() Posts: 234
Karma: 40
Join Date: Apr 2010
Device: The Nook, iPad
|
OK, I upgraded to version 0.4, still no luck, the online Sigil documentation I found has the following: EPUB files also must have a META-INF folder with a container.xml file pointing to the OPF file of the publication. Sigil takes care of all of this for you.
Could someone explain to me what "takes care of all" mean, does that mean I cannot add anything to the META-INF folder in Sigil? if that's the case, any application external to Sigil that I can use to add that xml file to the META-INF folder? Many thanks. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 12096
Join Date: Sep 2010
Location: Tasmania
Device: Sony PRS 650
|
If you still have the unzipped version with the XML file, try opening the epub version in Sigil then right click any folder in the left panel and select 'Add Existing Item...'.
Locate and open the XML file in question and see what happens. It may say it's already present or it may accept it. Sorry, couldn't be more helpful, but don't have Apple - too expensive for me. |
|
|
|
|
|
#4 |
|
Addict
![]() Posts: 234
Karma: 40
Join Date: Apr 2010
Device: The Nook, iPad
|
Thanks for the tip, it didn't work, the file was added that way but added to a wrong folder. I did figure out that I can unzip the epub and manually add the file to the right folder and then re-zip everything and rename it to epub, but iPad still does not show the embedded font. I guess it only works with English fonts, mine is Chinese font, ibooks just keeps on crashing on me.
|
|
|
|
|
|
#5 |
|
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 422
Karma: 22676
Join Date: Feb 2010
Device: none
|
Sigil doesn't mess with the META-INF folder. iTunes does, in contradiction to the epub standard. That's how Apple rolls.
|
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,095
Karma: 924917
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
|
There are better readers than iBooks which follow the standard better. Use those instead.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Creator and maintainer of the Clean HTML macro for MS Word. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing meta data from xml file exported from Google "My Library" | net-buoy | Library Management | 0 | 03-14-2011 06:17 PM |
| How do I edit/add Meta Data | 4jacks | Mobi | 4 | 10-07-2010 04:33 AM |
| Add books - Meta Data format | wwaldo | Calibre | 2 | 03-17-2010 07:38 PM |
| Add HTML with meta tags | Pixelmagic | Calibre | 3 | 03-03-2010 07:54 PM |
| Add the Commments in meta data to an existing LRF file | mgrunk | Calibre | 3 | 07-26-2009 12:35 PM |