Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2021, 10:29 PM   #1
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 446
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Font-sizes don't convert accurately (ePub to azw3)

Hi all,

When I try to convert ePub files to azw3, the css gets modified, apparently rejecting any font-size values greater than 1.5em. For example, the following original css

Code:
.titlepage {
	font-size: 3em;
	margin-top: 0.75em;
	margin-bottom: 0.3em;
	text-align: center
	}
is converted to

Code:
.titlepage {
    display: block;
    font-size: 1.5em;
    line-height: 1.2;
    text-align: center;
    margin: 0.75em 0 0.3em
    }
Any guidance on this?
ElMiko is offline   Reply With Quote
Old 06-14-2021, 10:34 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,344
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/conversion.html#fonts
kovidgoyal is offline   Reply With Quote
Advert
Old 06-14-2021, 10:43 PM   #3
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 446
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Soooo, what you're saying this is a feature not a bug, and you included a handy little check box in the conversion dialogue that's explicitly labeled "Disable font-size rescaling", and maybe ElMiko should try learning how to read some time...

Thanks, Kovid! Honestly don't know what I'd do without this program.
ElMiko is offline   Reply With Quote
Reply

Tags
font-size


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub / KePub font sizes experiments GeoffR Kobo Developer's Corner 8 08-28-2022 12:22 PM
Different epub books are showing different font sizes Larla Editor 15 02-16-2021 04:02 PM
EPUB to AZW3: font sizes changed -- AGAIN! Phssthpok Conversion 17 12-24-2018 12:53 PM
EPUB to AZW3: font sizes changed Phssthpok Conversion 3 11-29-2018 11:42 AM
Can't convert one epub to azw3 jkeidan Conversion 3 07-05-2018 03:19 PM


All times are GMT -4. The time now is 03:17 AM.


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