mirror of
https://github.com/nicoverbruggen/kobo-font-fix.git
synced 2025-11-05 09:30:08 +01:00
Add option to skip line adjustment
This commit is contained in:
10
kobofix.py
10
kobofix.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user