Love2d Cant Find Font File
Posted: Tue Feb 09, 2016 3:07 pm
I am trying to import a custom font into love to use it later. I am using the following code:
I have my main folder, inside there is my main.lua. In that folder is a folder named "fonts" which contains "pixelmix.tff". The error I get is the following error message:
"Error: Could not open file fonts/pixelmix.tff. Does not exist."
Thanks in advance
Code: Select all
local font = love.graphics.newFont("fonts/pixelmix.tff", 15)
"Error: Could not open file fonts/pixelmix.tff. Does not exist."
Thanks in advance