I need use the weight 100, but the Löve sets only Normal style (400)
i try it
Code: Select all
local http = require("socket.http")
function love.load()
fontfile = http.request("https://fonts.gstatic.com/s/materialsymbolsoutlined/v121/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2")
fontfile = love.filesystem.newFileData(fontfile, "material.woff2")
size = 48
fontfile=love.graphics.setNewFont(fontfile, size )
end
function love.draw()
love.graphics.setFont( fontfile )
love.graphics.print("Teste WOFF2",0,0)
end