This adds love.graphics.newFont as a loader for .fnt files. As the image file path won't be passed it must be set properly in the .fnt file. I did try doing something similar to makeFont, returning a function that take the image file path, however it seems counter-productive having to set a file path in the code when using a file loader.
This adds
love.graphics.newFont
as a loader for.fnt
files. As the image file path won't be passed it must be set properly in the.fnt
file. I did try doing something similar tomakeFont
, returning a function that take the image file path, however it seems counter-productive having to set a file path in the code when using a file loader.