Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2013, 06:12 PM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Question Viewer Fonts

On some epubs I can change the the Fonts in the viewer and the change takes effect. On other epubs a change to font in viewer has no effect - the font remains as Times Roman.

What do I need to do to the ones that I can't change font in viewer

The epubs were created from ODT and DOCX conversions - but that's not the common factor, some 'problem' epubs came from ODT's others from DOCX's and visa versa - its something I have/haven't done.

Added : The difference is that 'problem' books have this in stylesheet.css

Code:
.calibre {
    color: black;
    display: block;
    font-family: "Times New Roman", serif;
    font-size: 1em;
    padding-left: 0;
    padding-right: 0;
    margin: 0 5pt
    }
Whilst the 'good' books have this

Code:
.calibre {
    display: block;
    font-size: 1em;
    margin-bottom: 0;
    margin-left: 5pt;
    margin-right: 5pt;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0
    }
I just reconverted a 'book' that didn't have the Times Roman font in its stylesheet, now it does

I discovered Conversion->Look and Feel->Filter Style Information->Select what style information you want completely removed->Fonts - ticked it - that fixed it

But can't recall ever having ticked before, in fact I don't even think I ever looked in the Filter Style Information tab.

Looks like I'm up for a mass re conversion - is there a 'quicker' way?

BR

Last edited by BetterRed; 12-31-2013 at 07:24 PM.
BetterRed is offline   Reply With Quote
Old 12-31-2013, 08:59 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Viewer fonts will only take effect if the book does not define its own fonts. Therefore you need to do a conversion and remove font definitions, as you discovered.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-31-2013, 09:20 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I figured out why some books were OK and others weren't, the ones I converted were not OK the ones my colleague converted were OK - why didn't she tell me

And I should have looked at the Similar Threads

BR
BetterRed is offline   Reply With Quote
Old 01-01-2014, 02:29 PM   #4
AnotherCat
....
AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.AnotherCat ought to be getting tired of karma fortunes by now.
 
Posts: 1,547
Karma: 18068960
Join Date: May 2012
Device: ....
Quote:
Originally Posted by BetterRed View Post
... - why didn't she tell me
The reasons have been often popularised in song, some examples being:

http://www.metrolyrics.com/never-tru...s-bb-king.html
http://www.songlyrics.com/red-foley/...-woman-lyrics/

I won't post a link to the Grateful Dead's lyrics on the subject because they contain some "naughty" words .

AnotherCat is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing fonts for books in e-book viewer rulet Calibre 4 07-03-2013 03:28 AM
Calibre's ebook-viewer and embedded fonts in EPUB books gentoosiast Calibre 1 03-20-2013 07:53 AM
[Kindle Touch] No Image viewer and pdf viewer with white margins MaxPowerITA Kindle Developer's Corner 7 04-24-2012 05:27 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
Fonts not respected in Viewer mistersquid Calibre 3 04-18-2010 11:10 PM


All times are GMT -4. The time now is 09:59 AM.


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