dmMaze / BallonsTranslator

深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
GNU General Public License v3.0
2.48k stars 172 forks source link

Add independent font style settings for each project. #522

Closed sadzxctv21 closed 1 month ago

sadzxctv21 commented 1 month ago

I want each project to have its own font style settings, rather than having just one font style setting for all projects.

dmMaze commented 1 month ago

I don't think it should be the vanilla setting, it would change current behavior and I doubt it meets more common needs. I'd add a checkbox in the config panel to decide whether the textstyles.json should be saved/loaded from the default or project-specific path.

dmMaze commented 1 month ago

I'd add a checkbox in the config panel to decide whether the textstyles.json should be saved/loaded from the default or project-specific path.

I have added this option below Typesetting in the config panel. Note if there is no project_dir/textstyles.json exists, current textstyles will be cloned and saved to it.