mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-13 07:59:04 +08:00
Merge pull request #1808 from stweil/fix
Revert "Change default width for images output by text2image"
This commit is contained in:
commit
18787ea12b
@ -219,7 +219,7 @@ generate_font_image() {
|
|||||||
|
|
||||||
local common_args="--fontconfig_tmpdir=${FONT_CONFIG_CACHE}"
|
local common_args="--fontconfig_tmpdir=${FONT_CONFIG_CACHE}"
|
||||||
common_args+=" --fonts_dir=${FONTS_DIR} --strip_unrenderable_words"
|
common_args+=" --fonts_dir=${FONTS_DIR} --strip_unrenderable_words"
|
||||||
common_args+=" --leading=${LEADING} --xsize 2560"
|
common_args+=" --leading=${LEADING}"
|
||||||
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE}"
|
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE}"
|
||||||
common_args+=" --outputbase=${outbase} --max_pages=0"
|
common_args+=" --outputbase=${outbase} --max_pages=0"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user