![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 5935030
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?
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,187
Karma: 27110894
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,119
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 5935030
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 5935030
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,187
Karma: 27110894
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Determine font and font size on incoming epub? | peaceridge | Calibre | 4 | 01-30-2012 03:35 PM |
How to control the font size during conversion? | Japes | Conversion | 9 | 07-11-2011 03:16 PM |
Font size after conversion | draghetto | Calibre | 1 | 06-30-2010 11:57 AM |
DOC to PDF conversion - font size issues | icebattle | 4 | 02-15-2009 03:32 AM | |
Bulk file font size conversion | Greg Rosler | Sony Reader | 5 | 08-07-2007 07:57 AM |