Add option to skip line adjustment

This commit is contained in:
2025-08-21 16:18:03 +02:00
parent 17c3846f0f
commit 0450a22c4a

View File

@@ -471,10 +471,12 @@ class FontProcessor:
# Save modified font
font.save(output_path)
logger.info(f" Saved: {output_path}")
# Apply line adjustments
self.apply_line_adjustment(output_path)
if self.line_percent != 0:
# Apply line adjustments
self.apply_line_adjustment(output_path)
else:
logger.info(" Skipping line adjustment step")
return True
except Exception as e: