|
|
#1 |
|
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Dec 2016
Location: Groningen, Netherlands
Device: Calibre, Kobo Aura H2O
|
Unwanted spaces between letters of a word
When converting pdf files through Calibre it sometimes happens that some words receive unwanted spaces between the letters of the words. For instance, the word Although becomes A l t h o u g h in the conversion, everything becomes e v e r y t h i n g, BATTLE becomes B A T T L E, formed a triad of becomes f o r m e d a triad of, etcetera. In some books that I converted thousands of words become messed-up like this, making it futile to try to correct the errors.
Is it possible to prevent Calibre from wrecking words this way? Most probably the problem originates from the fact that in the original pdf file the text is aligned justified. This has the effect that on some lines the letter-spacing becomes somewhat wider. Nevertheless the word-spacing always remains wider than the letter-spacing. Is it possible to define a minimum value for word-spacing in Calibre so that it will not add unwanted spaces within words when the letter-spacing is smaller than the word-spacing value? I have not found this option in Calibre, but I think something like this could be the solution for this problem. Any help will be greatly appreciated. Last edited by abecedarian; 05-27-2019 at 07:08 AM. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,659
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The initial conversion of text is performed by pdftohtml from the poppler project, not calibre. calibre converts the HTML output by that tool. As far as I know there is no such knob for pdftohtml.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Dec 2016
Location: Groningen, Netherlands
Device: Calibre, Kobo Aura H2O
|
Thanks for the reply, Kovid. You always seem to be in the front line
Last edited by abecedarian; 05-27-2019 at 07:02 AM. |
|
|
|
![]() |
| Tags |
| calibre, conversion, letter-spacing, unwanted free spaces, word-spacing |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to remove blank spaces in a word with RegEx? | RbnJrg | Sigil | 12 | 12-19-2018 07:58 AM |
| Random spaces between letters | pjfarr | Calibre | 3 | 02-15-2015 11:01 AM |
| HTML to ePub creating unwanted white spaces | newbie35 | Conversion | 2 | 02-11-2012 04:38 PM |
| [Old Thread] PDF to Epub conversion (spaces between letters) | mastroalex | Conversion | 8 | 10-09-2011 11:39 PM |
| PRS-650 Setting for highlighting whole word not just letters | diddy | Sony Reader | 9 | 03-04-2011 08:41 AM |