Skip to content

Commit 0f3d33f

Browse files
authored
Change max_pages to zero
Fixes #1149 and #1508
1 parent 068d43d commit 0f3d33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

training/tesstrain_utils.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ generate_font_image() {
212212
common_args+=" --fonts_dir=${FONTS_DIR} --strip_unrenderable_words"
213213
common_args+=" --leading=${LEADING}"
214214
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE}"
215-
common_args+=" --outputbase=${outbase} --max_pages=3"
215+
common_args+=" --outputbase=${outbase} --max_pages=0"
216216

217217
# add --writing_mode=vertical-upright to common_args if the font is
218218
# specified to be rendered vertically.

0 commit comments

Comments
 (0)