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 02-22-2013, 06:41 AM   #1
fxx
Junior Member
fxx began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2013
Device: none
Adjust character spacing (azw3 to pdf)

Converting azw3 to pdf using input profile 'kindle' and output profile 'default' worked quite well except the characters in pdf are too condensed. How do I increase character spacing? And how do I view/change the settings stored in profiles or create my own?
fxx is offline   Reply With Quote
Old 02-22-2013, 07:29 AM   #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: 25,419
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the letter-spacing css property.And if you want to control pdf page size look under pdf output in the conversion dialog.
kovidgoyal is offline   Reply With Quote
Old 02-22-2013, 01:29 PM   #3
fxx
Junior Member
fxx began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2013
Device: none
Thank you, Kovid.

After quite a bit of time debugging, I finally managed to adjust letter-spacing. Although it behaves very strangely, for example:
Code:
.s { letter-spacing: 1 }
does nothing, but:
Code:
.s1 { letter-spacing: 1 }
sets spacing for classes 's' and 's1' to 's10', although:
Code:
.s2 { letter-spacing: 1 }
does not affect anything but 's2'.

Unfortunately, 'normal' or '0' produces too condensed text, and '1' or '0.1em' too much expanded, and '0.5' or '0.05em' get rounded to '0' and '0.6' to '1'

Last edited by fxx; 02-22-2013 at 01:35 PM.
fxx is offline   Reply With Quote
Old 02-22-2013, 01:36 PM   #4
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: 25,419
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use body { letter-spacing: whatever !important}

as long as your book doesn't specify its own letter spacing styles, that should work for all text. As for the correct value, I cant help with that, as what looks "right" s entirely subjective.
kovidgoyal is offline   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
Converting azw3 to epub: character encoding issue. meunierd Conversion 3 01-10-2013 10:11 AM
Can't adjust line spacing in book bought from Kobo mumbletop Kobo Reader 1 11-06-2012 08:57 PM
How to adjust table spacing/lines in Calibre conversion? mischko Calibre 5 03-02-2012 09:43 AM
Touch Can't adjust line spacing biscuitbear Kobo Reader 10 02-17-2012 01:59 PM
PDF -> AZW conversion, weird character spacing beacher Amazon Kindle 7 08-17-2010 09:54 PM


All times are GMT -4. The time now is 12:41 AM.


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