Skip to content

Commit

Permalink
BmpCuter.exe тоже не нужон
Browse files Browse the repository at this point in the history
  • Loading branch information
joye-ramone committed Dec 20, 2023
1 parent f64c935 commit 21afb9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sources/FontGen/FontGenForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public static void SaveFont(IEnumerable<IGlyph> Glyphs, string TargetPath, int P
{
var Size = ga.GetPreferredSize(gl);
PicWidth = Size.Width;
PicHeight = Size.Height;
PicHeight = ga.GetPreferredHeight(gl, Size.Width);
}

if (Multiple)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 21afb9a

Please sign in to comment.