![]() |
#16 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Can someone please attach an ePub that works to show us more fonts in iBooks? Thanks.
|
![]() |
![]() |
![]() |
#17 | |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Quote:
edit: ok, fixed some crap. Last edited by kjk; 05-24-2010 at 10:07 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Thank you kjk. I'll give this a go when the iPad is available later on tonight.
|
![]() |
![]() |
![]() |
#19 | |
Member
![]() ![]() Posts: 16
Karma: 148
Join Date: Apr 2010
Device: iPad, NOOK, Kindle, Kobo
|
Quote:
Some fonts are applied automatically by iBooks when you use a particular character. So if you can write a document in, say, Arabic and save it in an XHTML file and compress it in an ePub, iBooks will use the Geeza font to display it. It doesn't matter if you apply Palatino to it, or Bradley Hand, or whatever. Because those characters are from a given range of Unicode, they'll trigger the Geeza font in iBooks. (This system also applies to Hebrew, Chinese, Japanese, and Thai, as well as Zapf Dingbats, and all of the (X)HTML entities like ñ, ç, and even ♥ (of which you can find a full table here.) I imagine that's what's happening with your Sanskrit, though I'm not familiar with those particular characters. I'd be curious to see your ePub doc if you feel like sharing it. There are a number of font-related posts on my site you might find useful: Palatino bug in iBooks on iPad Text Size in ePubs-- Points? Pixels? or Ems? Oh my... More fonts for eBooks on iBooks on the iPad Choosing Fonts for iBooks on iPad hope that's helpful, Liz |
|
![]() |
![]() |
![]() |
#20 |
Member
![]() ![]() Posts: 16
Karma: 148
Join Date: Apr 2010
Device: iPad, NOOK, Kindle, Kobo
|
As far as embedding goes, if your ePub doesn't include the font file (and you can tell because it would be in the fonts folder inside the OPS or OEBPS folder), then you haven't embedded it and you don't have to worry about licensing.
If the font file is in that font folder, you definitely have to check the licensing information to see if you're allowed to distribute it. (There are some fonts that allow such distribution and many that do not.) That said, iBooks currently does not support ANY font embedding at all, though the iPad itself does support only SVG (scalable vector graphics) font embedding, say, for web sites viewed with Safari. best, Liz |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 614
Karma: 73700
Join Date: Oct 2009
Location: WA, USA
Device: Android, Kindle Paperwhite, lots of ancient readers
|
The new B&N has a toggle setting for "use publisher's settings" or use your own. I'm not sure which B&N books have embedded fonts, so I can't tell you for sure if it is supporting them, but it's the best shot I've seen so far.
|
![]() |
![]() |
![]() |
#22 | |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#24 |
Enthusiast
![]() Posts: 27
Karma: 52
Join Date: Mar 2009
Device: Sony PRS-700
|
>I think the <p class="palatino"> </p> thing has to be put in every XML document in the ePub.
I've successfully made two ePub files (so far) that display in iBooks using fonts available on the iPad and adapting bits from the Typefaces in iBooks 1.0 ePub file. The files don't display with the @font-face font unless the initial paragraph tag has class="palatino" included (see post above). I couldn't get it to work with a simple space, but it did work when I used a non-breaking space or something like a period that actually displays (though you can always make it white so it's not visible). The bigger problem I'm having is constructing the ePub archive. I finally found that Springy makes it simpler not to compress the mimetype file within the archive, but I wish there were a utility specifically for making and working with ePub archives. |
![]() |
![]() |
![]() |
#25 |
.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,408
Karma: 5647231
Join Date: Oct 2008
Device: never enough
|
I'm not familiar with Springy-but I've used pdurrant's excellent little Applescript for re-zipping up ePubs.
|
![]() |
![]() |
![]() |
#26 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2010
Device: iPad
|
Quote:
As KJK noticed (sorry I didn't thank you earlier for pointing this out, KJK) the Tahoma, a sans serif font, was replaced by a serif font, perhaps Palatino. So the ePub conversion software did indeed substitute a font, but keep the unicode for the extended character set, thus keeping the Sanskrit transliteration (we aren't displaying the actual Sanskrit, just the pronunciation markings for the "transliteration," and those markings are NOT found on every font, just a few, Tahoma being one of the more common ones found on both Mac and PC. That was the main reason behind using it. A problem remains with the spacing: lines are broken willy-nilly, and chapters which should have a hard page break in the original documents do not break, with the headings and text mixed together with the previous chapter. I will try manually editing thet ePub using Sigil. |
|
![]() |
![]() |
![]() |
#27 |
Member
![]() ![]() Posts: 16
Karma: 148
Join Date: Apr 2010
Device: iPad, NOOK, Kindle, Kobo
|
I unzip and rezip with Terminal (on Mac). Heard that Zip on Windows works fine too.
|
![]() |
![]() |
![]() |
#28 |
Member
![]() ![]() Posts: 16
Karma: 148
Join Date: Apr 2010
Device: iPad, NOOK, Kindle, Kobo
|
The only way currently to have a page break in an ePub is by starting a new XHTML file. Anybody finds an alternative, and I want to hear about it!
![]() Not sure what you mean about lines being broken willy-nilly... perhaps you have line breaks within paragraphs? best, Liz |
![]() |
![]() |
![]() |
#29 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,028
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
page-break-after: always or the style you want a page break before include page-break-before: always That should do it. |
|
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 27
Karma: 52
Join Date: Mar 2009
Device: Sony PRS-700
|
>I'm not familiar with Springy-but I've used pdurrant's excellent little Applescript for re-zipping up ePubs.
Thanks. I'll check it out. >I unzip and rezip with Terminal (on Mac). Heard that Zip on Windows works fine too. I'm too lazy to use Terminal. I gave up the command line back the in the days of the Amiga. :-) I found Springy a couple of months ago. Unlike most other Mac archive utilities, it will open an archive without extracting the contents and you can also extract individual files. I've had some success editing files directly within the ePub archive, but I've also had a few archives go corrupt after doing that. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
fontencrypt.py - Add Adobe encryption to fonts in ePub | pdurrant | ePub | 14 | 10-15-2013 09:16 AM |
HTML -> EPUB with no embedded fonts | doremifaso | Calibre | 10 | 09-25-2010 05:56 AM |
Embedded fonts in epub | erik5000 | ePub | 7 | 12-08-2009 11:55 AM |
ePub embedded fonts | JSWolf | Ectaco jetBook | 9 | 09-14-2009 08:43 PM |
ePub + Embedded Fonts | Cygfrydd | ePub | 11 | 03-02-2009 05:56 PM |