Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2020, 01:36 PM   #1
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Ebook viewer Header cuts font's descenders

When using Calibre e-book viewer with epub books I see that the heading showing author and title uses a font that do not show properly the descenders of some letters (lowercase g, j, p, q and y) under the baseline of the font.
How can I fix this?
I am using Calibre 14.5 64 bit.

PS) Sorry for my English.
Attached Thumbnails
Click image for larger version

Name:	test.jpg
Views:	170
Size:	41.0 KB
ID:	179011  

Last edited by giododa; 05-02-2020 at 02:28 PM.
giododa is offline   Reply With Quote
Old 05-02-2020, 02:12 PM   #2
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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Your English is good enough for this


The current version is 4.15.0

Descenders can get cut off if Line-height does not leave enough space for the next line. 1.2 is standard.

The font could be defective in design by not indicating decender space
theducks is offline   Reply With Quote
Advert
Old 05-02-2020, 02:13 PM   #3
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Sorry, I made a mistake. I am running 4.15.0.
I don't know where I can fix the line-height.
giododa is offline   Reply With Quote
Old 05-02-2020, 02:28 PM   #4
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: 31,047
Karma: 60358908
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 giododa View Post
Sorry, I made a mistake. I am running 4.15.0.
I don't know where I can fix the line-height.
Typically in the CSS class assigned to either the header class or the following Paragraph class.

This assumes there WAS a line-height entry (overrides the defaults). Ususlly, there is no entry.
theducks is offline   Reply With Quote
Old 05-02-2020, 02:32 PM   #5
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thanks for your answer.
I mean the header of the viewer.
I edited the image in the first post, you can see the arrows.
giododa is offline   Reply With Quote
Advert
Old 05-02-2020, 03:20 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by giododa View Post
Thanks for your answer.
I mean the header of the viewer.
I edited the image in the first post, you can see the arrows.
You do not have a large enough top margin. Go to viewer preferences--page layout, increase the size of your top margin until it is ok--I use 20.

bernie
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2020-05-02 15-15-36.png
Views:	149
Size:	48.2 KB
ID:	179012   Click image for larger version

Name:	Screenshot from 2020-05-02 15-16-19.png
Views:	161
Size:	97.7 KB
ID:	179013   Click image for larger version

Name:	Screenshot from 2020-05-02 15-19-13.png
Views:	141
Size:	48.2 KB
ID:	179014  
gbm is offline   Reply With Quote
Old 05-03-2020, 03:01 AM   #7
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thanks for your reply.
I used the same options you gave me but unfortunately it doesn't works for me.
Attached Thumbnails
Click image for larger version

Name:	Immagine.png
Views:	140
Size:	20.5 KB
ID:	179030  
giododa is offline   Reply With Quote
Old 05-03-2020, 12:19 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by gbm View Post
You do not have a large enough top margin. Go to viewer preferences--page layout, increase the size of your top margin until it is ok--I use 20.

bernie
Quote:
Originally Posted by giododa View Post
Thanks for your reply.
I used the same options you gave me but unfortunately it doesn't works for me.
Did you follow the suggestion to increase the size of your top margin until it is okay? If 20 did not work for you, try going to 50. If that keeps your descenders from being cut off, reduce the top margin until you see cutoff and then increase by, perhaps, 5. If 50 doesn't keep them from being cut off, you have a different issue.
DNSB is offline   Reply With Quote
Old 05-03-2020, 12:43 PM   #9
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Yes I tried until 50 and 100 but nothing changes.
I noted that reducing the font size from 12 px to 10 px in the "inspector" works but I don't know how to save the modification
Attached Thumbnails
Click image for larger version

Name:	10.png
Views:	143
Size:	298.5 KB
ID:	179042   Click image for larger version

Name:	12.png
Views:	137
Size:	299.4 KB
ID:	179043  

Last edited by giododa; 05-03-2020 at 12:54 PM. Reason: Adding images
giododa is offline   Reply With Quote
Old 05-03-2020, 03:02 PM   #10
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: 79,743
Karma: 145864619
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
Your English is good enough for this


The current version is 4.15.0

Descenders can get cut off if Line-height does not leave enough space for the next line. 1.2 is standard.

The font could be defective in design by not indicating decender space
I find 1.2em to be too big. My suggestion is to set the line hight to what you like. Start smaller then 1.2em.

Last edited by JSWolf; 05-03-2020 at 03:11 PM.
JSWolf is offline   Reply With Quote
Old 05-03-2020, 05:46 PM   #11
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,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by giododa View Post
Yes I tried until 50 and 100 but nothing changes.
I noted that reducing the font size from 12 px to 10 px in the "inspector" works but I don't know how to save the modification
Did you press the OK 'button' (bottom right) after changing it?

BR
BetterRed is offline   Reply With Quote
Old 05-04-2020, 05:24 AM   #12
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Yes, but when you close the viewer and open a new book the modifications are Lost.
giododa is offline   Reply With Quote
Old 05-04-2020, 05:24 PM   #13
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,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by giododa View Post
Yes, but when you close the viewer and open a new book the modifications are Lost.
that's odd.

The margin settings are stored in the viewer.py.json file, which is in the location that opens when you click the Preferences (library manager)->Miscellaneous->Open calibre configuration directory button, viz:

Click image for larger version

Name:	Annotation 2020-05-05 071714.jpg
Views:	145
Size:	114.9 KB
ID:	179087

If you want to try changing it manually, then you should close calibre and the viewer before doing it, and then do whatever you've been doing to start the viewer.

BR
BetterRed is offline   Reply With Quote
Old 05-05-2020, 06:09 AM   #14
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
Thank you. That's what I was looking for.
giododa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serif font in Browser Viewer? nqk Calibre 30 01-17-2018 11:12 PM
Problem with font & background colors on the Ebook Viewer darthktulu Calibre 3 10-27-2013 11:24 PM
Font smoothing in the viewer JackGruff Library Management 0 10-10-2012 08:09 AM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
# user css for viewer.py/ ebook-viewer/ prs-650 tscamera Calibre 0 01-02-2011 06:28 PM


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


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