mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Replacing font, to avoid license issue
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
-- SIMPLE-BUTTON.lua
|
||||
-- A simple module that aims to help you quickly create buttons
|
||||
-- It is can be used as a base class to help you quickly creating button
|
||||
-- This module has type notations so IntelliSense should give you some suggestions
|
||||
-- SIMPLE-BUTTON.lua<br>
|
||||
-- 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<br>
|
||||
-- This module has type notations so IntelliSense should give you some suggestions<br>
|
||||
local BUTTON = {}
|
||||
|
||||
-- MIT License
|
||||
|
||||
@@ -174,9 +175,6 @@ function button:release(x, y, touchID)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
local BUTTON = {}
|
||||
|
||||
---@param D BUTTON.button|BUTTON.newData
|
||||
---@param safe? boolean @ Creating widget? If not then ignore accept missing important parameters
|
||||
---@return nil
|
||||
|
||||
8
load.lua
8
load.lua
@@ -1,9 +1,9 @@
|
||||
-- Fonts
|
||||
FONT_tromi = love.graphics.newFont('res/fonts/monofonto rg.otf', 28)
|
||||
FONT_big = love.graphics.newFont('res/fonts/monofonto rg.otf', 56)
|
||||
FONT_tromi = love.graphics.newFont('res/fonts/MplusCodeLatin50-Regular.otf', 28)
|
||||
FONT_big = love.graphics.newFont('res/fonts/MplusCodeLatin50-Bold.otf', 56)
|
||||
|
||||
FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 28))
|
||||
FONT_big :setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 56))
|
||||
FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 28))
|
||||
FONT_big :setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 56))
|
||||
CHAR = require("char")
|
||||
|
||||
local font_height = FONT_tromi:getHeight() * 0.5
|
||||
|
||||
BIN
res/fonts/MplusCodeLatin50-Bold.otf
Normal file
BIN
res/fonts/MplusCodeLatin50-Bold.otf
Normal file
Binary file not shown.
BIN
res/fonts/MplusCodeLatin50-Regular.otf
Normal file
BIN
res/fonts/MplusCodeLatin50-Regular.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/fonts/techmino_proportional.otf
Normal file
BIN
res/fonts/techmino_proportional.otf
Normal file
Binary file not shown.
Reference in New Issue
Block a user