File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ parse_flags() {
164
164
--my_boxtiff_dir)
165
165
parse_value " MY_BOXTIFF_DIR" ${ARGV[$j]:- }
166
166
i=$j ;;
167
+ --distort_image)
168
+ parse_value " DISTORT_IMAGE" " ${ARGV[$j]:- } "
169
+ i=$j ;;
167
170
--output_dir)
168
171
parse_value " OUTPUT_DIR" ${ARGV[$j]:- }
169
172
i=$j ;;
@@ -264,7 +267,8 @@ generate_font_image() {
264
267
common_args+=" --leading=${LEADING} --xsize=${X_SIZE} "
265
268
common_args+=" --char_spacing=${CHAR_SPACING} --exposure=${EXPOSURE} "
266
269
common_args+=" --outputbase=${outbase} --max_pages=${MAX_PAGES} "
267
-
270
+ common_args+=" --distort_image=${DISTORT_IMAGE} "
271
+
268
272
# add --writing_mode=vertical-upright to common_args if the font is
269
273
# specified to be rendered vertically.
270
274
for vfont in " ${VERTICAL_FONTS[@]} " ; do
You can’t perform that action at this time.
0 commit comments