Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2013, 10:19 PM   #1
rashkae
Addict
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 284
Karma: 261602
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Conversion to Epub destroys font-size keywords:

I've noticed that in current versions of calibre, when I convert to Epub (from Epub or from Mobi), with font size scaling disabled, Calibre converts all font fixed size keywords (font size: medium, font-size: normal, font-size: small) etc into a fixed value in pt. This is very undesireable behaviour, and forces me to apply complete font-size scalling on all convreted books so I at least get sane values in em. Is there any way to prevent this?
rashkae is offline   Reply With Quote
Old 01-03-2013, 11:31 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: 26,450
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a bug report, and I will look into it, though it may not be possible to change that behavior.
kovidgoyal is online now   Reply With Quote
 
Advertisement
Old 01-03-2013, 11:51 PM   #3
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: 38,689
Karma: 19643753
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by rashkae View Post
I've noticed that in current versions of calibre, when I convert to Epub (from Epub or from Mobi), with font size scaling disabled, Calibre converts all font fixed size keywords (font size: medium, font-size: normal, font-size: small) etc into a fixed value in pt. This is very undesireable behaviour, and forces me to apply complete font-size scalling on all convreted books so I at least get sane values in em. Is there any way to prevent this?
We (well a number of us) keep saying on MR that doing an ePub > ePub conversion is a very bad idea. What is it you need done that the conversion is doing for you? There is the Modify ePub plugin that changes/fixes a number of things in an ePub without doing any sort of conversion. I use it all the time as it works very well.
JSWolf is offline   Reply With Quote
Old 01-04-2013, 12:03 AM   #4
rashkae
Addict
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 284
Karma: 261602
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
Quote:
Originally Posted by kovidgoyal View Post
Open a bug report, and I will look into it, though it may not be possible to change that behavior.
I will do so.... though I know 8.9 did not do this. (That was the version I was using before updating to 9.5 then 9.12)
rashkae is offline   Reply With Quote
Old 01-06-2013, 09:01 PM   #5
rashkae
Addict
rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.rashkae ought to be getting tired of karma fortunes by now.
 
rashkae's Avatar
 
Posts: 284
Karma: 261602
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
You may have noticed I never did file the promised bug report. After doing a bit more research to determine the proper behaviour of the font-size keywords (or more specifically in this case, the complete lack of any standardized deffinition) and doing a little experimentation with the Font Size Key, I find that using the Key to get a good result is by far the superior way to go.
rashkae is offline   Reply With Quote
Old 01-07-2013, 02:21 AM   #6
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: 26,450
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Indeed, mapping the "standard" font size names to actual sizes in a manner that takes into account the screen characteristics of the target device was one of the motivations of the font size key in the first place. That is why many output profiles in calibre define their own font size key.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine font and font size on incoming epub? peaceridge Calibre 4 01-30-2012 04:35 PM
How to control the font size during conversion? Japes Conversion 9 07-11-2011 04:16 PM
Font size after conversion draghetto Calibre 1 06-30-2010 12:57 PM
DOC to PDF conversion - font size issues icebattle PDF 4 02-15-2009 04:32 AM
Bulk file font size conversion Greg Rosler Sony Reader 5 08-07-2007 08:57 AM


All times are GMT -4. The time now is 08:24 AM.


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