Hey lovers! I've spent way too long on converting from ttf to image font manually, but it's more worthwhile if others can use them.
Here's Free Pixel:
ttf: http://www.dafont.com/free-pixel.font
image font:
glyph string: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789#.!?: "
And here's Open Sans PX:
ttf: http://codewitchgamedev.blogspot.de/p/o ... oject.html
image font:
glyph string: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~?\"\" "
Image font sharing thread
- georgeprosser
- Citizen
- Posts: 68
- Joined: Fri Mar 28, 2014 5:55 pm
Re: Image font sharing thread
Here's a tiny one I made:
Glyphs: " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
I also have a few more that I made that aren't in Love2D format yet, but I can convert them if anyone is interested:
"Dark Future"
"Dark Future Bold"
"TI83"
"Telex 2 Narrow"
"Toroko"
All of those will have a particularly "retro" look to them because they're fixed-width. I'm thinking about redoing "Toroko" in variable-width though, especially if anyone else wants to use it.
Glyphs: " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
I also have a few more that I made that aren't in Love2D format yet, but I can convert them if anyone is interested:
"Dark Future"
"Dark Future Bold"
"TI83"
"Telex 2 Narrow"
"Toroko"
All of those will have a particularly "retro" look to them because they're fixed-width. I'm thinking about redoing "Toroko" in variable-width though, especially if anyone else wants to use it.
Last edited by nkorth on Sat Jul 25, 2015 4:08 pm, edited 1 time in total.
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Image font sharing thread
I'll edit this post later to include two fonts myself, but also, i think 0.10 or later will have a more advanced image font solution, last i heard.
Edit: Here are the two fonts i got:
Some symbols are mapped to different ones purely because i didn't want to use unicode characters.
Edit: Here are the two fonts i got:
Code: Select all
string = "0123456789-&E"
Code: Select all
string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ _().<>!?:0123456789&*@/#"
Last edited by zorg on Sat Jul 25, 2015 5:54 am, edited 3 times in total.
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.
- georgeprosser
- Citizen
- Posts: 68
- Joined: Fri Mar 28, 2014 5:55 pm
Re: Image font sharing thread
I don't know much about image fonts, but I think the format used by XNA is fairly standard: http://blogs.msdn.com/b/shawnhar/archiv ... n-xna.aspxzorg wrote:I'll edit this post later to include two fonts myself, but also, i think 0.10 or later will have a more advanced image font solution, last i heard.
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: Image font sharing thread
This is one I got from the internet and edited myself, It's really low res thought.
Glyph string: " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-=[]\\,./;')!@#$%^&*(+{}!<>?:\""
Bigger Preview:
Glyph string: " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-=[]\\,./;')!@#$%^&*(+{}!<>?:\""
Bigger Preview:
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Image font sharing thread
Indeed, LÖVE 0.10.0 will support the AngelCode BMFont format, which is relatively standard these days. There are a number of programs out there which generate BMFont files – this page lists a few.zorg wrote:i think 0.10 or later will have a more advanced image font solution, last i heard.
0.10.0 will also slightly improve the old LÖVE ImageFont format. The colored separator pixels won't be treated as spacing anymore, and you'll be able to add a constant (positive or negative) spacing value for all glyphs in an ImageFont via an optional third parameter to love.graphics.newImageFont.
Re: Image font sharing thread
Hooray!slime wrote:Indeed, LÖVE 0.10.0 will support the AngelCode BMFont format, which is relatively standard these days. There are a number of programs out there which generate BMFont files – this page lists a few.
And Lovelas library someday will help to create such fonts, I hope.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Image font sharing thread
Just a note: If you post a font, please don't forget to include the string required to use it too. No one wants to have to retype out the entire set of characters.
Also, letter spacing is all I've ever wanted from them. Glad to see it'll be in a future version.
Also, letter spacing is all I've ever wanted from them. Glad to see it'll be in a future version.
Re: Image font sharing thread
What of kerning?Jasoco wrote:...letter spacing is all I've ever wanted from them...
Without it text can look amateur with non-monospaced font.
BMFont support kerning pairs as they tell.
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Image font sharing thread
Drawn text will automatically use kerning from BMFont files and TrueType fonts in LÖVE 0.10.0. ImageFonts don't have it, though.
Who is online
Users browsing this forum: Bing [Bot] and 4 guests