Nothing Special   »   [go: up one dir, main page]

Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Pixel Font Converter!

Lets you create your own TTF fonts out of pixel font images! · By YellowAfterlife

Can I adjust whitespace widths?

A topic by marioshouse2010 created 97 days ago Views: 97 Replies: 4
Viewing posts 1 to 5
(2 edits)

I have used the converter and it is very good! I just have one problem, that is I can't find an option to change the width of my spaces. I want the spaces in my font to have a width of 3 pixels, but the converter defaults it to 4.

Also, it seems that the space characters are also taller, this is not too much of a problem but it's quite weird that I can't find an option to change how spaces work. I use this font in Aseprite. If you can imagine, all my characters are 5 pixels tall, and the "tiles" I made are 7 pixels tall. When I use the font in Aseprite, it maintains it's 5 high size without spaces, but with spaces it becomes 6 high with an added top part.

Is there an option which I just missed so I can edit spaces?

Edit: also I've noticed I need an 8 font size in Aseprite for it to work, maybe it's just depends on software but it's just weird to see an 8 out of nowhere

Developer

Whitespace width is the width of whatever you’ve put in your space character. If your font does not have a space character, it’s up to software to decide what to do with that (it’s probably taking a taller space from Arial/whatever)

Oh, so you mean I can add a blank tile for space width? How will the converter determine the size then if there is no glyph color? I just tried using a blank tile and adding a space character in the  "Glyphs in image" section, but it turned the space into a one pixel wide character, which should help, I just need to use double spaces.

I also just realized that each character already has a 1 pixel space in front of it, adjusted by the "Spacing" option. So my previous comment actually means "I want the spaces in my font to have a width of 2 pixels, but the converter defaults it to 3."

If there are no other options, then it's fine, because at least I can resort to using double spaces which is more manageable than wider spaces.

Developer

The number of pixels in your space character will be the width of the space - see the example font.

(1 edit)

Ohh! I get it now. I genuinely thought that was just a full stop. Thank you so much for your website, it's the only thing that worked for me!