Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2025, 04:59 PM   #16
Slevin#7
Member
Slevin#7 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2025
Device: iPad
That's pretty the way it should look like, thanks for checking.

So I think, since nobody seems to have stumbled across a similar issue during their eBook coding time, I will leave it at that - although I have to confess, I'd still prefer to know the reason why^^.

Thanks to everyone for helping.

And for documentation's sake, the issue visually as attachment.
Attached Thumbnails
Click image for larger version

Name:	weird.png
Views:	20
Size:	52.7 KB
ID:	216099  

Last edited by Slevin#7; 06-08-2025 at 05:03 PM.
Slevin#7 is offline   Reply With Quote
Old 06-08-2025, 05:50 PM   #17
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Slevin#7 View Post
Italic was never the problem, it is that regular text (font-style: normal) is displayed as pseudo-italic, not even showing the proper italic font but skewing the text somehow.
All is ok with the epub you uploaded; this is how it looks in Calibre Viewer 8.4.0 under Linux:

Click image for larger version

Name:	One1.jpg
Views:	24
Size:	32.5 KB
ID:	216101
RbnJrg is offline   Reply With Quote
Old 06-08-2025, 07:11 PM   #18
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: 45,439
Karma: 168808777
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Slevin#7 View Post
Thank you for your effort, I really appreciate that. Your attached eBook unfortunately doesn't have embedded fonts, maybe you've mixed them up?

Because of that, Calibre displays your eBook font-wise correctly, since it uses the Literata font system wide installed.

I've taken the liberty of embedding the Literata (3.103) fonts to your book, with the usual weird outcome of skewed chars for regular style (normal and bold-normal).

Maybe you wanna take a quick look? Many thanks again.
My screwup. I imported the ePub into calibre to add the cover and the embedded fonts got removed. I've re-added the fonts and uploaded it here. Just a bit bigger file.
Attached Files
File Type: epub Literata_Embedded.epub (601.5 KB, 8 views)
DNSB is offline   Reply With Quote
Old 06-09-2025, 04:13 PM   #19
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,448
Karma: 145491800
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 Slevin#7 View Post
That's pretty the way it should look like, thanks for checking.

So I think, since nobody seems to have stumbled across a similar issue during their eBook coding time, I will leave it at that - although I have to confess, I'd still prefer to know the reason why^^.

Thanks to everyone for helping.

And for documentation's sake, the issue visually as attachment.
I have an idea for something you can try. QT sometimes has problems with your video driver. There is a way around it that may work. Set the following code as an environment variable in Windows and then reboot and see what happens.

Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
If it still fails and the view shows the font incorrectly, try booting into safe mode and try the viewer again. If it then works, then it's something that runs on startup that's the problem.
JSWolf is offline   Reply With Quote
Old 06-10-2025, 10:20 AM   #20
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,545
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Forgive me if this has been discussed already, but have you ruled out some user-specific config? Have you tried on a new user account? Does it only happen with the calibre viewer? What about the calibre ebook editor's preview?
Jellby is offline   Reply With Quote
Old Yesterday, 01:08 AM   #21
Slevin#7
Member
Slevin#7 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2025
Device: iPad
Quote:
Originally Posted by JSWolf View Post
Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu"
Thanks for the tip, I've tried but without any change in the result. Anyhow, at least I now know this specific flag and can rule out QT using GPU as a culprit.

Quote:
Originally Posted by Jellby View Post
Forgive me if this has been discussed already, but have you ruled out some user-specific config? Have you tried on a new user account? Does it only happen with the calibre viewer? What about the calibre ebook editor's preview?
I don't know what you mean with new user account. Regarding the other questions:

I haven't set any specific user flags, and it only affects fonts loaded from Google Fonts.

Yes, it only shows this issue with Calibre 3.48, I havent tested other Calibre versions, but will do when I have the chance to. It also shows the issue in the ebook-edit preview, so both tools are affected, the regular viewer and the editor's previewer.

My best guess is, that Google adds/changes/manipulates the meta data of the fonts they provide - maybe to being able to track/recognize them as coming from them - and maybe these specific off-standard settings are responsible for Calibre's weird behavior. Just a guess, but sometimes some bugs only occur in specific combinations of specific things which usually work well all day long in everybody's normal world...
Slevin#7 is offline   Reply With Quote
Old Yesterday, 04:02 PM   #22
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,448
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Try viewing your ePub in the calibre viewer in safe mode.
JSWolf is offline   Reply With Quote
Old Yesterday, 08:36 PM   #23
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: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
you have a URL( ..\fonts

I think it should just be URL(\fonts

In calibre, you can select the book and tap 'U' to unpack, then explode and look at the top level structure .
I think yoy backed up (the ..) too far and the font was not found, thus default
Attached Thumbnails
Click image for larger version

Name:	bookstructure.JPG
Views:	6
Size:	16.7 KB
ID:	216171  
theducks is offline   Reply With Quote
Old Today, 12:26 AM   #24
Slevin#7
Member
Slevin#7 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2025
Device: iPad
Quote:
Originally Posted by JSWolf View Post
Try viewing your ePub in the calibre viewer in safe mode.
I'll give it a try and report back.

Quote:
Originally Posted by theducks View Post
you have a URL( ..\fonts

I think it should just be URL(\fonts

In calibre, you can select the book and tap 'U' to unpack, then explode and look at the top level structure .
I think yoy backed up (the ..) too far and the font was not found, thus default
I don't know which eBook's structure you've attatched to your post, but it doesn't seem to be mine nor DNSB's. However, the issue is not, that Calibre won't find the font, it does and displays the correct font as well, the issue is, that Calibre skews the regular fonts by itself for whatever reason. And this affects, at least as far as I could find out, only fonts downloaded from Google Fonts. If there were a structural problem, Calibre would not only not find the Google Fonts (and magically materializes them somehow skewed), it would also not find Liberation, which it does and displays it as expected.
Slevin#7 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change italic font to regular? butterbeer Editor 2 12-24-2019 07:03 PM
What Custom Columns do you use in your Calibre Media Library(movies, tv shows, anime) Inukami Library Management 1 07-17-2018 12:24 PM
Custom fonts - naming for bold, italic, etc gers1978 Amazon Kindle 1 07-17-2018 06:24 AM
Aura How not to use an italic font? ohho Kobo Reader 2 03-07-2017 06:17 AM
Embeded Italic font not rendered theducks Sigil 6 11-07-2012 07:25 AM


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


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