zdenop / qt-box-editor

QT Box Editor of tesseract-ocr box files
https://zdenop.github.io/qt-box-editor/
Apache License 2.0
173 stars 65 forks source link

enhancement: add threshold for space in line-by-line export #39

Closed jan-ruzicka closed 10 years ago

jan-ruzicka commented 10 years ago

The line-by-line export has too many spaces between exported characters. Is there a way to insert space character only when the space between boxes exceeds certain threshold? Setting default to threshold 'n' dimension would be probably hard to implement, as not all texts may contain character 'n' or be a uniform font size.

zdenop commented 10 years ago

Did you tried to change Edit->Settings...->Text settings->Word space?

jan-ruzicka commented 10 years ago

Oh. No I did not. Will try it tonight. Sorry, for the noise. Thanks for the pointer. Jan On May 18, 2014 6:30 AM, "zdenop" notifications@github.com wrote:

Did you tried to change Edit->Settings...->Text settings->Word space?

— Reply to this email directly or view it on GitHubhttps://github.com/zdenop/qt-box-editor/issues/39#issuecomment-43436387 .

jan-ruzicka commented 10 years ago

Thanks that works. Can the word space dialog appear during export?

When there are multiple font sizes the single spacing value doesn't work. Lines with bigger fonts have spaces between letters in words while small text runs together. What about option to switch to percents of en? (relative to box size)

zdenop commented 10 years ago

fixed in 5af6b908119f315c0eb68f1399db750b733b9c39