Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2013, 08:22 PM   #1
MrPjax
Junior Member
MrPjax began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Tab 7 Plus
Embedded fonts

I have retail epubs that have embedded fonts. I added some fonts to my book I made and they show up fine in Calibre and the Aldiko app on my tablet. But I found that they don't always show on different ereaders.

Could this be because I am using the .ttf format and not .otf??

Thanks.
MrPjax is offline   Reply With Quote
Old 10-04-2013, 03:41 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,190
Karma: 7422141
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
No, that should not matter. There could be various reasons:
1. Wrong reference to the fonts in either CSS, XHTML or OPF
2. Font is obfuscated in a non-standard manner
3. the font is not included in the ePUB
4. the OS/2 Version property of the font is not 3 but higher or auto.

Number 4 is the most tricky one. You can check (and adapt) the OS/2 version property via FontForge.
Toxaris is offline   Reply With Quote
Old 10-04-2013, 06:39 AM   #3
MrPjax
Junior Member
MrPjax began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Tab 7 Plus
I think my problem is in the opf. How do you add the info there for the fonts?
MrPjax is offline   Reply With Quote
Old 10-04-2013, 06:44 AM   #4
MrPjax
Junior Member
MrPjax began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Tab 7 Plus
I get this error:

Quote:
The <item> element's "media-type" attribute has value "application/vnd-ms-opentype", but the file's media type is "application/x-font-ttf"
and

Quote:
The <item> element's "media-type" attribute has value "application/vnd-ms-opentype", but the file's media type is "application/vnd.ms-opentype"
MrPjax is offline   Reply With Quote
Old 10-04-2013, 08:25 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,190
Karma: 7422141
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Change the media type would suffice. It is saying what should be there...
Toxaris is offline   Reply With Quote
Old 10-04-2013, 11:11 AM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,306
Karma: 6022735
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by MrPjax View Post
I get this error:



and
Weird The quote won't show

Look close at #2
one has a period, the other a dash after vnd
theducks is offline   Reply With Quote
Old 10-04-2013, 11:17 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,834
Karma: 19656443
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
That is a possibly incorrect error message. Check with epubcheck 3.x because FCis wrong in this case saying what needs to be there.
JSWolf is online now   Reply With Quote
Old 10-05-2013, 08:15 AM   #8
MrPjax
Junior Member
MrPjax began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2013
Device: Samsung Galaxy Tab 7 Plus
If the font is done properly, it should show in ALL ereaders, correct? My main use for a custom font is chapter titles and section dividers on the story. The story main text should be the Times font.
MrPjax is offline   Reply With Quote
Old 10-05-2013, 09:22 AM   #9
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,143
Karma: 4966637
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by MrPjax View Post
If the font is done properly, it should show in ALL ereaders, correct?
Yes, but some ePub reading apps ignore styles and/or don't support embedded fonts. Also some incorrectly designed fonts may cause rendering errors.

BTW, since the error message that you got seems to have come from FlightCrew you also may want to check your ePub with EpubCheck Online. It also couldn't hurt to test it with ADE.

If neither FlightCrew nor EpubCheck report any errors and the book looks OK in ADE, it's definitely the apps fault. I.e. there's nothing you can do, except maybe defining sans-serif as the fallback font for your heading styles.
Doitsu is offline   Reply With Quote
Old 10-08-2013, 10:30 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,733
Karma: 15513561
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Doitsu View Post
Yes, but some ePub reading apps ignore styles and/or don't support embedded fonts. Also some incorrectly designed fonts may cause rendering errors.
Even Nook's HD's will ignore the publisher styling--even when the file is directly side-loaded. Be aware and prepared for that. Many devices are moving closer to total user controls over the fonts, even those that are embedded.

Hitch
Hitch is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Kobo fonts naming conventions and embedded fonts roger64 Kobo Reader 0 05-09-2013 07:30 AM
Troubleshooting PW embedded fonts? morrow Amazon Kindle 12 11-15-2012 08:17 PM
Embedded fonts dicknskip Sigil 27 12-01-2011 10:24 AM
Embedded fonts, Calibre, and choice of fonts AlexBell ePub 8 05-30-2010 07:00 AM
iPad Embedded Fonts JSWolf Apple Devices 24 04-26-2010 03:41 PM


All times are GMT -4. The time now is 09:15 PM.


MobileRead.com is a privately owned, operated and funded community.