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 06-15-2013, 09:42 AM   #1
krausj
Enthusiast
krausj began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
When I put two different fonts on one page, they don't show up on the iPad.

I installed Cambro and Woodprint fonts into my epub, and created two different text classes. When I look at the xhtml document in my web browser everything looks fine, but when I look at the epub on my iPad, both texts have turned into another font. below are pictures. Anyone know what's going on?

My css setup


how it looks in web browser


how it looks on iPad

Last edited by krausj; 06-15-2013 at 09:48 AM.
krausj is offline   Reply With Quote
Old 06-15-2013, 11:02 AM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Are the two fonts resident in your ipad? They probably are on your computer which is why they show up in the browser. If they are not in your ipad, then it will do its best to find something similar.

You can embed the fonts, but it bloats the file. I am not familiar with the font names, but if they are not open source, you may have to pay an arm and a leg for the right to embed them in an epub.
mrmikel is offline   Reply With Quote
Old 06-15-2013, 11:45 AM   #3
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,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
What are the corresponding @font entries
and as mrmikel points out $$ (for every font-face used. could be <=4.)
theducks is offline   Reply With Quote
Old 06-15-2013, 01:50 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,782
Karma: 5072196
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
For iBooks you have to include a special file for it to recognize embedded fonts. See iBooks in our wiki. I have no idea if this is your problem as you don't say what eBook reader you are using on your iPad.

Dale
DaleDe is offline   Reply With Quote
Old 06-19-2013, 11:12 AM   #5
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,530
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by krausj View Post
I installed Cambro and Woodprint fonts into my epub, and created two different text classes. When I look at the xhtml document in my web browser everything looks fine, but when I look at the epub on my iPad, both texts have turned into another font. below are pictures. Anyone know what's going on?
You have to stop saying iPad when you mean a specific app. The iPad does work with ePub. But, you do need to learn that iPad is the device and not the app. So please don't use iPad when you mean the name of an app.
JSWolf is online now   Reply With Quote
Old 06-19-2013, 11:13 AM   #6
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,530
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by DaleDe View Post
For iBooks you have to include a special file for it to recognize embedded fonts. See iBooks in our wiki. I have no idea if this is your problem as you don't say what eBook reader you are using on your iPad.

Dale
That poor partial screen grab is from iBooks.

However, if Bluefire Reader was used, then things would work as is if the fonts are properly embedded.
JSWolf is online now   Reply With Quote
Old 06-19-2013, 11:37 AM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,782
Karma: 5072196
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by JSWolf View Post
That poor partial screen grab is from iBooks.

However, if Bluefire Reader was used, then things would work as is if the fonts are properly embedded.
Yes, I saw from the screen grab that iBooks was the likely device. Like many users the OP equates iPad and iBooks even though they are not the same. However, I was trying to fix the problem based on his symptoms.

Dale
DaleDe is offline   Reply With Quote
Old 06-20-2013, 10:26 PM   #8
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,530
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by DaleDe View Post
Yes, I saw from the screen grab that iBooks was the likely device. Like many users the OP equates iPad and iBooks even though they are not the same. However, I was trying to fix the problem based on his symptoms.

Dale
And I was pointing out that it's a really bad idea to use iPad interchangeably with iBooks as they are not the same.

Also, given that we don't see the rest of the code (in the CSS) needed for embedding fonts, there's nothing we can do until we do.
JSWolf is online now   Reply With Quote
Old 06-21-2013, 06:20 AM   #9
krausj
Enthusiast
krausj began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
Yep I'm using iBooks. Sorry to equate the two. So there is a way to make these fonts show up in iBooks?
krausj is offline   Reply With Quote
Old 06-21-2013, 10:57 AM   #10
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,183
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Do you have the @font-face in the stylesheet? Do you have the special iBooks file in the ePUB?
Toxaris is offline   Reply With Quote
Old 06-22-2013, 08:49 AM   #11
krausj
Enthusiast
krausj began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
I do have the @font-face in all the stylesheets and I also have the com.apple.ibooks file
krausj is offline   Reply With Quote
Old 06-23-2013, 12:08 AM   #12
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,259
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by krausj View Post
I do have the @font-face in all the stylesheets and I also have the com.apple.ibooks file
You used the word the, 2 fonts...2 @fonts
remember case sensitive file names (and extensions)
theducks is offline   Reply With Quote
Old 06-23-2013, 02:50 AM   #13
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,183
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Can you show us the @font-face declaration you have in your stylesheet? We need all relevant info.
Toxaris 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
Embedded fonts don't show up consistently in iBooks writerkit Conversion 6 02-27-2014 08:45 AM
Epub on IPad: SVG-graphics don't show. georg3200 Apple Devices 19 07-10-2013 03:41 PM
it don't show more than 4 pages psyghost Onyx Boox 2 06-11-2013 07:37 PM
Why put out an eBook you don't know what to do with? JSWolf General Discussions 11 08-21-2012 01:31 AM
I don't know what to put on my homescreen. SCION Nook Developer's Corner 3 01-16-2011 02:09 AM


All times are GMT -4. The time now is 08:53 AM.


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