(No) TrueType Fonts in Love2D

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Tiago059
Prole
Posts: 5
Joined: Fri Nov 03, 2017 9:34 pm

(No) TrueType Fonts in Love2D

Post by Tiago059 »

Hi, good evening! :ultrahappy:

About fonts... exist a way in Love2D what i can to insert fonts what don't be a TrueType font? (Like a font what be in format .ttf, i wants to insert a font with .fon extension)
User avatar
Sir_Silver
Party member
Posts: 286
Joined: Mon Aug 22, 2016 2:25 pm
Contact:

Re: (No) TrueType Fonts in Love2D

Post by Sir_Silver »

https://love2d.org/wiki/love.graphics.newFont
"Creates a new Font from a TrueType Font or BMFont file."
User avatar
zorg
Party member
Posts: 3436
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: (No) TrueType Fonts in Love2D

Post by zorg »

The .fon extension may stand for a number of file types; most probably not supported by löve; you'd need to either convert them with some other program, or code a parser yourself.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 44 guests