Loading ui/mainwindow.py +1 −1 Original line number Diff line number Diff line Loading @@ -963,7 +963,7 @@ class MainWindow(mainwindow_cls): blk.line_spacing = gf.line_spacing blk.letter_spacing = gf.letter_spacing sw = blk.stroke_width if sw > 0 and pcfg.module.enable_ocr and pcfg.module.enable_detect: if sw > 0 and pcfg.module.enable_ocr and pcfg.module.enable_detect and not override_fnt_size: blk.font_size = int(blk.font_size / (1 + sw)) self.st_manager.auto_textlayout_flag = pcfg.let_autolayout_flag and \ Loading Loading
ui/mainwindow.py +1 −1 Original line number Diff line number Diff line Loading @@ -963,7 +963,7 @@ class MainWindow(mainwindow_cls): blk.line_spacing = gf.line_spacing blk.letter_spacing = gf.letter_spacing sw = blk.stroke_width if sw > 0 and pcfg.module.enable_ocr and pcfg.module.enable_detect: if sw > 0 and pcfg.module.enable_ocr and pcfg.module.enable_detect and not override_fnt_size: blk.font_size = int(blk.font_size / (1 + sw)) self.st_manager.auto_textlayout_flag = pcfg.let_autolayout_flag and \ Loading