![]() |
#1 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
Why do different books render differently in the viewer?
Different books in my library render differently in the viewer. For example in the two attached images the font weight and line spacing are different with these two books; why is that when I have chosen the same font size in settings? I prefer the heavier weight font and tighter line spacing. Is there a way I can force all books to display the same font, font weight, line spacing, etc.? I have experimented a little with style-sheets but must not have been doing something properly because I could not affect the viewer display. Thank you.
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,128
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Books have their own internal styles. You need to give your stylesheet rules enoughr priority to override those, which you can do by using !important. But in general if you want to harmonise the look and feel of books then best way to do so is via conversion.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,847
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
Thank you Kovid and JSWolf
In the editor, I copied the CSS from the book that looked good to me, and pasted it in place of the CSS in the book I didn't like the look of. It worked! I don't know if this was the right thing to do but it worked; and was easy. Was that the wrong way to go about standardizing a look and feel? Could it mess something up? Is there a tutorial to accomplish a standard look and feel using conversion? Thank you for helping me this far. What a powerful program this is. |
![]() |
![]() |
![]() |
#5 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,241
Karma: 165616549
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Basically, take a backup copy of your epub, edit the stylesheet and see what it looks like (I'd suggest either Sigil or calibre' editor -- I use both). It won't blowup your computer and it's a great way to learn. I was going to suggest Liz Castro's Pigs, Gourds and Wikis site which was one of my favourites years back for information on editing ebooks but it seems she has moved on to Catalan independence and that site is pretty much moribund though much of the content is still available through searching. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,861
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Style sheets are paired (matched) to the book that they were made for. Even, the ones used by major publishers get misused (because the book formatting person does not understand how to apply the listed styles or there are custom additions for that book). Toss in, users like us, who clean unused styles. apply the cleaned one to a book that has custom additions and ![]() |
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 752
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
|
I can assure that it is not so difficult to learn a bit of css/html so You can edit Your books in the way You like. I bought my Kindle when I was 50 years old and I knew nothing about css/html, now I am able to do some basic changes in my books, so seldom I am unsatisfied with them.
And preferences in book formatting are pretty individual: this is the reason way in this forum there are some people (like me) the reformat the books they buy. |
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,847
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Garry if you attach an ePub to a post in this thread that you would like to have modified to look better, I'll do it for you. Then you can take the original and the one I modified and using the Calibre editor, you can do a compare and see what sort of changes I made. That's one way to start learning HTML/CSS.
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
Thank you all! I'll respond shortly after I work more on this.
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,242
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Just be careful with what content you do post. Public Domain only
|
![]() |
![]() |
![]() |
#11 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,847
Karma: 143095300
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
Oops. I got lucky on that one; they were two simple books with simple style sheets.
Thanks. I'm doing this. Very cool. I'm finding sometimes items are nested and applying a font size to one element can have unexpected results depending on prior definitions. Cool anyway. |
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() Posts: 46
Karma: 10
Join Date: Feb 2017
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does ebook-viewer (of calibre) render fonts msbm correctly and how? | SuiVu1fa | Calibre | 4 | 11-28-2018 06:03 PM |
Why publishers format ebooks differently than paper books? | greenapple | General Discussions | 117 | 01-15-2014 07:48 AM |
My ePubs render differently on Android, Apple and Aldiko | Themus | ePub | 9 | 09-26-2012 01:41 AM |
Which methods render and draw pages for viewer? | foosion | Development | 1 | 10-29-2011 03:30 PM |
Calibre E-Book Viewer and ADE render ePub TD font-size differently | Agama | Devices | 5 | 06-17-2011 02:44 AM |