From 3863be7ec9d8a6d4e61ba4092aba97e20c02bb59 Mon Sep 17 00:00:00 2001 From: MIRIMIRIM <59959583+MIRIMIRIM@users.noreply.github.com> Date: Fri, 25 Oct 2024 23:55:56 +0800 Subject: [PATCH] afs.core: fix change ass font name tag value --- AssFontSubset.Core/src/SubsetByPyFT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AssFontSubset.Core/src/SubsetByPyFT.cs b/AssFontSubset.Core/src/SubsetByPyFT.cs index 4efc19e..4b7f7c3 100644 --- a/AssFontSubset.Core/src/SubsetByPyFT.cs +++ b/AssFontSubset.Core/src/SubsetByPyFT.cs @@ -251,7 +251,7 @@ where kv2.Key.FamilyNames.ContainsValue(kv.Key) foreach (var range in evt.TextRanges) { var block = text[range]; - if (AssEvent.IsOverrideBlock(block) && ReplaceFontName(block, nameMap, sb)) + if (AssEvent.IsOverrideBlock(block) && ReplaceFontName(block, assFontNameMapSort, sb)) { lineChanged = true; }