wyzdwdz / assfonts

Subset fonts and embed them into an ASS subtitle
GNU General Public License v3.0
136 stars 2 forks source link

[Feature request] Add an option to force process even font missing warning. #16

Open boydaihungst opened 1 month ago

boydaihungst commented 1 month ago

Hi! Thanks for creating such an awesome tool. I have a small request to improve it, if possible. I hope it doesn’t take too much of your time. Recently, I encounter subtitle files with missing fonts. Could you add an option to force processing even when the font has warnings? If a font is missing, the media player will use a fallback font anyway, so no problem. I have a huge library with over 1,000 subtitle files have missing fonts warning, this would help me a lot.

wyzdwdz commented 1 week ago

This tool initially focused on producing a font-embedded ass subtitle script which can be displayed on any device. It ensures the consistency on different devices. To achieve that, it must ask that every font the script used is embedded. Therefore, it doesn't allow missing fonts.

But I will try to provide an option to allow font missing in one of the next few releases.

boydaihungst commented 1 week ago

Thanks for replying. I totally understand, but unfortunately, some fonts are too old or perhaps customzied font I can't find anywhere. If it's ok, maybe a fallback font option to replace missing fonts with it. 🥺