From 21afb9ab6de4a9edb0bd16fdeb460c5be78446fd Mon Sep 17 00:00:00 2001 From: Sergii T <5493488+joye-ramone@users.noreply.github.com> Date: Wed, 20 Dec 2023 18:00:25 +0200 Subject: [PATCH] =?UTF-8?q?BmpCuter.exe=20=D1=82=D0=BE=D0=B6=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B5=20=D0=BD=D1=83=D0=B6=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sources/FontGen/FontGenForm.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_sources/FontGen/FontGenForm.cs b/_sources/FontGen/FontGenForm.cs index fe406ca..c8de6df 100644 --- a/_sources/FontGen/FontGenForm.cs +++ b/_sources/FontGen/FontGenForm.cs @@ -210,7 +210,7 @@ public static void SaveFont(IEnumerable Glyphs, string TargetPath, int P { var Size = ga.GetPreferredSize(gl); PicWidth = Size.Width; - PicHeight = Size.Height; + PicHeight = ga.GetPreferredHeight(gl, Size.Width); } if (Multiple) @@ -650,10 +650,10 @@ private void Button_Generate_Click(object sender, EventArgs e) dds_format += " "; dds_format += cop_mode ? "A8" : "u8888"; - //RunAndWait(wortDir, Path.Combine(toolDir, "FD2INI.exe"), $"\"{Path.GetFileName(fd_filePath)}\""); FbToIni(wortDir, fd_filePath); - RunAndWait(wortDir, Path.Combine(toolDir, "BmpCuter.exe"), Path.GetFileName(bmp_filePath)); + //RunAndWait(wortDir, Path.Combine(toolDir, "FD2INI.exe"), $"\"{Path.GetFileName(fd_filePath)}\""); + //RunAndWait(wortDir, Path.Combine(toolDir, "BmpCuter.exe"), Path.GetFileName(bmp_filePath)); RunAndWait(wortDir, Path.Combine(toolDir, "nvdxt.exe"), $"-file \"{Path.GetFileName(bmp_filePath)}\" -outdir \"{wortDir}\" -nomipmap {dds_format}"); if (chkDelTemp.Checked)