From 241db4a52e1d7896d8aec1453806112d9a3d38b2 Mon Sep 17 00:00:00 2001 From: syimyuzya Date: Sat, 4 Dec 2021 19:10:04 +0800 Subject: [PATCH] Rename texture file Now the file name has the correct `_` prefix. --- unifont/init.lua | 2 +- .../{font_unifont_sheet.png => unifont_sheet.png} | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename unifont/textures/{font_unifont_sheet.png => unifont_sheet.png} (100%) diff --git a/unifont/init.lua b/unifont/init.lua index e6296d2..533714e 100644 --- a/unifont/init.lua +++ b/unifont/init.lua @@ -36,7 +36,7 @@ local function get_glyph(codepoint) end local x = codepoint % 256 local y = math.floor(codepoint / 256) - return string.format("font_unifont_sheet.png^[sheet:256x256:%d,%d", x, y) + return string.format("unifont_sheet.png^[sheet:256x256:%d,%d", x, y) end font_api.register_font( diff --git a/unifont/textures/font_unifont_sheet.png b/unifont/textures/unifont_sheet.png similarity index 100% rename from unifont/textures/font_unifont_sheet.png rename to unifont/textures/unifont_sheet.png