bell notificationshomepageloginedit profileclubsdmBox

10.04% popularity   0 Reactions

I am using Calibre 2.49 on an Ubuntu machine and I noticed that in eBook viewer preferences, whatever font I set, calibre just displays the default font. I tried this on many ePub books. Here is a screenshot of my preferences dialog:

I tried reloading book, exiting calibre, but it didn't work.(The font size setting works fine, though).


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (4)

Login to follow story

More posts by @Jennifer

4 Comments

Sorted by latest first Latest Oldest Best

 

@Annie

10% popularity   0 Reactions

A workaround is to convert to .azw3. Then, font size changes work as expected.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

@Nancy

10% popularity   0 Reactions

The most canonical way to set styles globally is to set them in the Styles section.
The basic set of styles for changing fonts are simply:
body {
font-family: Crimson;
}
h1, h2, h3, h4, h5, h6 {
color:white;
text-align:center;
font-style:italic;
font-weight:bold;
}

Open a book
Right click

Go to the Styles section

Set styles


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

@Nanci

10% popularity   0 Reactions

Some EPUBs may have font information specified directly as inline CSS. It will have preference over more generic options. In that case you can convert eBook and strip font-related styling:


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

@Steve

10% popularity   0 Reactions

If the ebook contains some definitions about the fonts to use, it takes the precedence over the default Calibre settings.

Maybe the ebook you are reading has some CSS rules that define the default font to use on the book itself (and probably the ebook even includes the said fonts).

You can try this yourself: this version of Treasure Island from MobileRead include font definitions for the text, and it keep using it even if you change the standard one on the Calibre settings.
This version of Dr Jekyll and Mr Hyde, always from MobileRead, doesn't contain any font definition in its CSS and it uses the default one as defined by Calibre.

It just works like that. You should look at the default settings in Calibre as a fall-back in case the book doesn't provide any information in this sense.

If you really want to change the font used during reading, you should edit the CSS file(s) inside the epub and remove all references to any defined font.

Calibre also has a plugin called Modify Epub that, amongst other things, let you remove internal font settings from an epub file. Once you have installed it, select the epub files you want to modify this way, click the Modify Epub icon on the toolbar, and select the corresponding option, as shown on the picture. It will remove both the custom fonts inside the book and the references to them on the CSS.

Please note that if you process many ebooks at once it may require some time to complete this task.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

Back to top