Page 1 of 1

bitmap font renderer

Posted: Fri Jan 15, 2016 5:07 am
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.

Re: bitmap font renderer

Posted: Fri Jan 15, 2016 7:32 am
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

Re: bitmap font renderer

Posted: Mon Jan 18, 2016 4:48 am
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

Re: bitmap font renderer

Posted: Wed Jan 20, 2016 12:45 am
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?