bitmap font renderer

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
josepedrodias
Prole
Posts: 7
Joined: Sat Jan 02, 2016 3:13 pm

bitmap font renderer

Post by josepedrodias »

It's still very crude and only works in Firefox.

example: http://josepedrodias.github.io/love2d-b ... -renderer/
repos: https://github.com/JosePedroDias/love2d ... t-renderer

It's 5am, must sleep now.
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: bitmap font renderer

Post by zorg »

From the test page, i see that the lowercase "f" has its top go into the g glyph; other than that, this seems like a nice thing :3
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.
josepedrodias
Prole
Posts: 7
Joined: Sat Jan 02, 2016 3:13 pm

Re: bitmap font renderer

Post by josepedrodias »

Updated the code a little bit. Should work well with Chrome and Safari now.

demo:
http://josepedrodias.github.io/love2d-b ... -renderer/

source font:
https://www.behance.net/gallery/3126885 ... rtale-Font

result:
Image
josepedrodias
Prole
Posts: 7
Joined: Sat Jan 02, 2016 3:13 pm

Re: bitmap font renderer

Post by josepedrodias »

I'm not sure you got the purpose of this.
This script generates a canvas from the config you define. One can get save the canvas as a png and use as a love2d bitmap font.

I can improve this with a form, support file input for customising fonts used, even a native app via electron. But with no feedback whatsoever I assume no one found it useful. Is that the case?
Post Reply

Who is online

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