We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b3c34 commit 6007029Copy full SHA for 6007029
font.lua
@@ -100,12 +100,10 @@ end
100
function FONT.set(size,name)
101
if not name then name=defaultFont end
102
103
- local f=fontCache[name]
104
- if not f then return FONT.rawset(size) end
105
- f=f[size]
+ local f=FONT.get(size,name)
106
107
if f~=curFont then
108
- curFont=f or FONT.get(size,name)
+ curFont=f
109
set(curFont)
110
end
111
init.lua
@@ -637,8 +637,7 @@ function love.errorhandler(msg)
637
GC.scale(k)
638
setFont(100,'_norm') gc_print(":(",100,0,0,1.2)
639
setFont(40,'_norm') gc.printf(errorMsg,100,160,SCR.w/k-200)
640
- setFont(25,'_norm') gc.printf(err[1],100,380,SCR.w/k-200)
641
- setFont(20,'_norm')
+ setFont(20,'_norm') gc.printf(err[1],100,380,SCR.w/k-200)
642
GC.print(love.system.getOS().."-"..versionText.."\nScene stack:"..sceneStack,100,640)
643
GC.print("TRACEBACK",100,430)
644
for i=4,#err-2 do
@@ -786,8 +785,8 @@ function love.run()
786
785
gc_replaceTransform(SCR.xOy_d)
787
-- Version string
788
gc_setColor(.9,.9,.9,.42)
789
790
- gc_printf(versionText,-2600,-30,5200,'center')
+ setFont(15,'_norm')
+ gc_printf(versionText,-2600,-20,5200,'center')
791
gc_replaceTransform(SCR.xOy_dl)
792
local safeX=SCR.safeX/SCR.k
793
0 commit comments