Replacing font, to avoid license issue

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-29 09:56:59 +07:00
parent 6beacc51f5
commit dd55171204
7 changed files with 9 additions and 11 deletions

View File

@@ -1,7 +1,8 @@
-- SIMPLE-BUTTON.lua -- SIMPLE-BUTTON.lua<br>
-- A simple module that aims to help you quickly create buttons -- A simple module that aims to help you quickly create buttons<br>
-- It is can be used as a base class to help you quickly creating button -- It is can be used as a base class to help you quickly creating button<br>
-- This module has type notations so IntelliSense should give you some suggestions -- This module has type notations so IntelliSense should give you some suggestions<br>
local BUTTON = {}
-- MIT License -- MIT License
@@ -174,9 +175,6 @@ function button:release(x, y, touchID)
end end
end end
local BUTTON = {}
---@param D BUTTON.button|BUTTON.newData ---@param D BUTTON.button|BUTTON.newData
---@param safe? boolean @ Creating widget? If not then ignore accept missing important parameters ---@param safe? boolean @ Creating widget? If not then ignore accept missing important parameters
---@return nil ---@return nil

View File

@@ -1,9 +1,9 @@
-- Fonts -- Fonts
FONT_tromi = love.graphics.newFont('res/fonts/monofonto rg.otf', 28) FONT_tromi = love.graphics.newFont('res/fonts/MplusCodeLatin50-Regular.otf', 28)
FONT_big = love.graphics.newFont('res/fonts/monofonto rg.otf', 56) FONT_big = love.graphics.newFont('res/fonts/MplusCodeLatin50-Bold.otf', 56)
FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 28)) FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 28))
FONT_big :setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 56)) FONT_big :setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 56))
CHAR = require("char") CHAR = require("char")
local font_height = FONT_tromi:getHeight() * 0.5 local font_height = FONT_tromi:getHeight() * 0.5

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.