From 84ec9516129dca059156d0303185ca8040e2a557 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Thu, 18 Jul 2019 13:48:47 -0400 Subject: [PATCH] Fix padding if there is no kerning section on save --- File_Format_Library/FileFormats/Font/BFFNT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File_Format_Library/FileFormats/Font/BFFNT.cs b/File_Format_Library/FileFormats/Font/BFFNT.cs index 54a103c3..ce987c8f 100644 --- a/File_Format_Library/FileFormats/Font/BFFNT.cs +++ b/File_Format_Library/FileFormats/Font/BFFNT.cs @@ -1007,7 +1007,7 @@ namespace FirstPlugin { writer.Write((uint)((CMAPScanMapping)MappingData).Codes[i]); writer.Write(((CMAPScanMapping)MappingData).Indexes[i]); - writer.Seek(2); //Padding + writer.Write((ushort)0); //Padding } else {