AmusementClub / AssFontSubset

使用 fonttools 生成 ASS 字幕文件的字体子集,并自动修改字体名称及 ASS 文件中对应的字体名称
185 stars 4 forks source link

Fix incorrect path handling when ass file on command line is in the cwd #1

Closed AkarinVS closed 3 years ago

AkarinVS commented 3 years ago

Path.GetDirectoryName("file.ass") will return "", and then the generated path for fonts and output directory will become "\fonts" and "\output".