Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-29-2011, 12:46 PM   #16
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by theducks View Post
all you need is to add a 'fall-back' name(s) to the list. If the font is not on your device, the next will be tried (Ariel is a sans-serif family of fonts)
as a learning point can you give an example chunk of css for that please, I'm OK with just deleting the explicit font names but am open to learning smarter tricks.

I am suprised that sony reader can't make an intelligent substitution for ariel italic , unaided, as that's a common microsoft font
cybmole is offline   Reply With Quote
Old 03-29-2011, 12:59 PM   #17
theducks
Well trained by Cats
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: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by cybmole View Post
as a learning point can you give an example chunk of css for that please, I'm OK with just deleting the explicit font names but am open to learning smarter tricks.

I am suprised that sony reader can't make an intelligent substitution for ariel italic , unaided, as that's a common microsoft font
Code:
  font-family: "Century Schoolbook", "Times New Roman", serif;
the device would have to 'guess' a lot

Note the last is a "generic" family that should have worked on your device if it was set in the style.
theducks is offline   Reply With Quote
Advert
Old 01-13-2012, 04:01 PM   #18
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: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
That is how you got 'Many styles' in the first place
Word processors tend to make trashy conversions

There is no reason a simple book should have more than 10 styles.

Body
cover style
titlepage style
Chapter title block style
First Paragraph (optional), dropcap (optional)
regular paragraphs (can be default body stle. so redundent
scene break style
fine-print style (copyright, raves)
Most CSS I see in publisher ePub is basically a catchall. They just toss in everything so they can use the same CSS for all their books and it is a mess.
JSWolf is offline   Reply With Quote
Old 09-06-2013, 09:48 AM   #19
Matt Butts
Junior Member
Matt Butts began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2013
Device: Kindle Touch
I find it's best to just default to the e-reader's fonts, which you can do by using generic font names (serif, sans-serif, and monospace) and relative point sizes.
Matt Butts is offline   Reply With Quote
Old 09-06-2013, 10:11 AM   #20
theducks
Well trained by Cats
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: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
Most CSS I see in publisher ePub is basically a catchall. They just toss in everything so they can use the same CSS for all their books and it is a mess.
That is why there is the 'Delete Unused Styles' feature; 2500 lines => 300 (which is still overkill, since many really duplicate others in attributes. It must be the KISfS thinking: 'You must use the Copyright styles only on the copyright page'.
theducks is offline   Reply With Quote
Advert
Old 09-06-2013, 08:22 PM   #21
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: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by theducks View Post
That is why there is the 'Delete Unused Styles' feature; 2500 lines => 300 (which is still overkill, since many really duplicate others in attributes. It must be the KISfS thinking: 'You must use the Copyright styles only on the copyright page'.
Ducks:

Usually, it's something minor in the reader's view--for example, vertical space before or after, or a paragraph that's flush left, but needs space before/after, like a Copyright page. The usual "no-indent" style paragraph used in the body of the book generally won't have vertical space after, for example--so you can do it the lazy way (blank/empty paragraphs with an nbsp) or you can do it with a style.

At our shop, we do use named styles for these types of instances, because it's simply cleaner coding. It's not really OCD...it's just easier. If the client comes back and says, "oh, gosh, I meant to say, I wanted all those lines on the copyright page centered," and you've used a style that was used for the first para of each chapter, plus an empty para, you can't simply edit the style--you have to make a new one, regex the copyright page, etc. Simply saves time in the long run, and of course, we do have a House stylesheet.

Have I ever used a perceptibly-empty paragraph, due to tiredness, frustration, whatever? Oh, yes. More than I'd like to admit. (And I live in dread of getting caught by my Crews, who have had the lecture often!). But seriously, it's not "correctness" thinking...it's just faster in the long term. It's decidedly not faster in the original coding, but I can truthfully say we get a lot (a lotta lotta) books with formatting elements strewn liberally throughout--emails, facebook posts, Tweets, notes to friends, newspaper clippings...those can really drive up your CSS style count.

Hitch
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change .article_description font size? tfeld Recipes 0 12-30-2010 05:32 PM
Can't change font or font size in ereaders jmacg Sigil 30 10-23-2010 09:21 PM
Change font size? Jabby Sigil 1 10-23-2010 05:59 PM
Font Size Change Phonella Calibre 10 01-28-2009 12:46 PM
LRF Font Size Change Brandon202000 Sony Reader 5 12-04-2007 05:53 PM


All times are GMT -4. The time now is 03:25 PM.


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