diff --git a/AssFontSubset.Core/src/AssFont.cs b/AssFontSubset.Core/src/AssFont.cs index 9b22cf6..b6bf296 100644 --- a/AssFontSubset.Core/src/AssFont.cs +++ b/AssFontSubset.Core/src/AssFont.cs @@ -22,7 +22,7 @@ public static Dictionary> GetAssFonts(string file, out A var undefinedStyles = new HashSet(); foreach (var und in undefinedStylesTemp) { - var usedUndStylesEvents = ass.Events.Collection.Where(e => e.Style == und); + var usedUndStylesEvents = ass.Events.Collection.Where(e => e.Style == und && e.IsDialogue); var notUsed = true; foreach (var evt in usedUndStylesEvents) {