Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixel Font Converter!

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

Extra character width

A topic by Edu Garcia created Sep 24, 2021 Views: 224 Replies: 2
Viewing posts 1 to 2

Hi! I really love what you’ve created here, it’s really nice to use!

I was wondering if there was a way to change the width of specific characters, as I’m trying to reproduce a font that has extra whitespace in some of them (on the right side).

If there is no way, might I suggest adding something like a special color that always add extra space, like if adding red pixels to the right of the font that’s what will finally be used for the width.

Thanks again!

Developer

Is the suggestion same as this more or less? I’ve not gotten around to it yet

Hi, thanks for your answer!

It’s actually not the same, that request is probably more complex. I’m just suggesting a way of providing width for each character: Right now, width is being set as the maximum horizontal pixel of the “active” color (black, white or opaque) plus one. So if I have a letter ‘l’ which is just 1 pixel wide, the width on the TTF will end up being 2 units.

I think it will be really useful to add some pixel of some color (red, etc) to the character that will actually be used to set the width of the character instead. So continuing with my example, if I add 2 red pixels anywhere on the right of my ‘l’ character, the final width will end up being 4 units (1 from the black/white pixel, plus 2 from the red one, plus 1 for the margin added to all characters)

I hope this makes more sense, and if it doesn’t, I can provide some visual aids, I understand it might be difficult to visualize :).

Thanks again!