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.
bitmap font renderer
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: bitmap font renderer
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
Me and my stuff True 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.
-
- Prole
- Posts: 7
- Joined: Sat Jan 02, 2016 3:13 pm
Re: bitmap font renderer
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:
demo:
http://josepedrodias.github.io/love2d-b ... -renderer/
source font:
https://www.behance.net/gallery/3126885 ... rtale-Font
result:
-
- Prole
- Posts: 7
- Joined: Sat Jan 02, 2016 3:13 pm
Re: bitmap font renderer
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?
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?
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests