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 12-11-2009, 07:51 PM   #1
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Baffled again - css, san serif sometimes

I'm really givin' this my ever-lovin-best, here, and know no more of what to make of it. Perhaps the kindly folks can tell me (once again) what the hay-el I am doing wrong:

Built me a demo typeface page, for eventual font embedding. Epub-ified it in Calibre.
However, despite Valid XHTML and Valid CSS, and it all looking like it should just work, I am seeing Serifed Fonts being displayed in ADE for the H1 and H2. In fact, anywhere I call SanSerif fonts (outside of the Title), it always comes out Serifed.

I'm not expecting the actual font to be called; but having it call a SanSerif font would be nice.

It's not like I've royally hosed it, either (as usual). Calibre Viewer, Dreamweaver, Firefox, Browser, and (ack)Word all show it working just fine. ADE, tho, is determined to make it not happen.

And just because I think it's funny, I've built a version with Indesign and full font embedding. THEN it works in ADE, but is funny looking in Calibre - the headings and titles are fairly non-bold-like. I'm sure there's reason (like not using a real bold version of Frutiger in my calls).

Attached are the usual suspects: source, calibre source, epub(s), pic.

Despite all my relentless earlier criticisms of InDesign, it does do this font rendering thing pretty well - should I revisit it?

-bjc
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	173
Size:	1.02 MB
ID:	41089  
Attached Files
File Type: zip CenturySchoolBook-Frutiger.zip (3.3 KB, 99 views)
File Type: zip BasicSet-v9century - me.zip (4.3 KB, 124 views)
File Type: epub BasicSet-v9century - me.epub (4.6 KB, 111 views)
File Type: epub Century-Frutiger.epub (895.9 KB, 124 views)

Last edited by brewt; 12-11-2009 at 07:57 PM.
brewt is offline   Reply With Quote
Advert
Old 12-11-2009, 08:14 PM   #2
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Hey, never mind, I figured it out!

ADE doesn't like Small Caps, which I had my h1 and h2 are set to do. Removerating that, and it's sans serif ahoy.

Indesign wouldn't export them as small caps, so, ergo, it worked there.

Does this mean that small caps don't work on a reader?

-bjc
Attached Files
File Type: epub BasicSet-v9acentury - Unknown.epub (121.9 KB, 108 views)
brewt is offline   Reply With Quote
Old 12-11-2009, 08:43 PM   #3
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by brewt View Post
And just because I think it's funny, I've built a version with Indesign and full font embedding. THEN it works in ADE, but is funny looking in Calibre - the headings and titles are fairly non-bold-like. I'm sure there's reason (like not using a real bold version of Frutiger in my calls).
Calibre uses the QWebView component from Qt, and it has problems with embedded font variants. It doesn't display them. So if your book has an embedded font in several variants--normal, bold, italic--it will only ever display the normal version.

Sigil uses the same Qt component and therefore has this issue as well. It's the main reason why font embedding is still absent from Sigil... there's little point trying to embed a font if you can't preview all the font variants.

ADE is (sadly) your best benchmark for embedded fonts.

Last edited by Valloric; 12-11-2009 at 08:46 PM.
Valloric is offline   Reply With Quote
Old 12-12-2009, 11:35 AM   #4
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
Yeah, but gosh, if the font is NOT embedded, and the small-caps text transform is called, it seems to me that ADE should simply ignore the call, and not change the font to something else (to default from SansSerif) AND ignore the call.

Indesign solves the problem by ignoring the call on export (small-caps looks right in ID4), so, to have that come out, one would need a real SC font.

Can anybody pronounce b-u-g-(s)?

Has anyone started a catalog of what works on what epub-display-mechanism and what doesn't? (no, not volunteering, here. Lazy, you know).

-bjc
brewt is offline   Reply With Quote
Old 12-12-2009, 12:30 PM   #5
brewt
Boo-Frickety-Hoo-Erizer
brewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enoughbrewt will become famous soon enough
 
brewt's Avatar
 
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
And, as a point of order, text-variant:smallcaps; doesn't work in Mobi, either. they come out lower case.

In Dreamweaver, they look like all caps.

So, despite them showing up just fine in Word and Indesign, an electro-book don't do them so well.

-bjc
brewt is offline   Reply With Quote
Advert
Old 12-13-2009, 09:38 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: 46,873
Karma: 35378407
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by brewt View Post
Hey, never mind, I figured it out!

ADE doesn't like Small Caps, which I had my h1 and h2 are set to do. Removerating that, and it's sans serif ahoy.

Indesign wouldn't export them as small caps, so, ergo, it worked there.

Does this mean that small caps don't work on a reader?

-bjc
I use Fontin most of the time with ePub and there is a smallcap veriation of the font that I've used to replace the "let's make the uppercase smaller but not quite get the size correct to simulate smallcaps" that is used.
JSWolf 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
Which typeface should use for ebook, Serif or Sans-serif droople Workshop 8 06-13-2010 07:20 AM
Baffled AGAIN! damnyankeeuk Sony Reader 10 01-11-2010 04:24 PM
Serif or Sans Serif for readability? kilofox Amazon Kindle 19 02-20-2009 02:22 PM
Serif and Sans-Serif fonts in Libprs500 benong Calibre 1 02-06-2008 04:43 AM
Do you prefer the Reader's serif or its sans serif font? (poll) Alexander Turcic Sony Reader 9 11-25-2006 12:15 PM


All times are GMT -4. The time now is 07:30 PM.


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