Skip to content

Commit

Permalink
afs.core: update submodules\Mobsub
Browse files Browse the repository at this point in the history
fix parsing when tag don’t have value
  • Loading branch information
MIRIMIRIM committed Aug 5, 2024
1 parent 7f30305 commit 3fdd7ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AssFontSubset.Core/src/AssFont.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static Dictionary<AssFontInfo, List<Rune>> GetAssFonts(string file, out A
}
}

return AssFontParse.GetUsedFontInfos(ass.Events.Collection, ass.Styles.Collection, logger);
return new AssFontParse(ass.Events.Collection, ass.Styles.Collection, logger).GetUsedFontInfos();
}

public static bool IsMatch(AssFontInfo afi, FontInfo fi, bool single, int? minimalWeight = null, bool? hadItalic = null, ILogger? logger = null)
Expand Down

0 comments on commit 3fdd7ce

Please sign in to comment.