Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Silver, a font for games

A free* pixel font for Latin, Chinese, Korean, Japanese, Cherokee, Runic, Cyrillic, and other character sets. · By Poppy Works

Is there a reason the spacing between lines is the way that it is?

A topic by TailaBlu created Dec 07, 2020 Views: 893 Replies: 6
Viewing posts 1 to 4
(1 edit) (+1)

My sincerest apologies if this is something you've heard before or have addressed before, but it really does confuse me. Do some of the characters cause the font to have such large spacing gaps? I don't mean between words, I mean between lines of text. This paragraph looks as if I wrote it while spacing between each line, but this is all on the same 'line' of text. I haven't hit Enter yet.


When I do hit enter twice to make a more visible paragraph break, there is a very large gap. I understand that this is a video game font, and respect all of the hard work put into it. But what if I want to use it for something that doesn't have the option of changing the spacing, like this game here?

I would try to mess around with the spacing myself, but I don't understand how I would do that on a program like Fontforge. Is it possible this will be fixed in a future, 'final' release, after you've done everything you want to with the font and the characters it will have? If so, I'm always willing to wait and encourage you to work on your font! But it's a curiosity I have, and I'm sorry if this is brought up often.

(+2)

This is an extremely late reply, but I ran into the same thing - until I saw this thread I thought it was an issue with my text rendering code :p

I was able to get the spacing looking a bit more like what I'd expect by following these steps:

  • Open the font in FontForge
  • Go to Element -> Font Info -> OS/2 -> Metrics
  • Lower the descent values to your personal taste (0 - 200 looks okay in my opinion), paying attention to which ones are positive/negative
  • Go to File -> Generate Fonts
  • Select TrueType for the file format, and generate it

I have no idea if this is the 'right' way to change the line height (I know absolutely nothing about fonts...) but it seemed to work for me!

Hopefully this helps if someone else has the same question.

(+1)

OMG, thank you so so much! I'll put this to the test and see how it works out, but I appreciate the help so much! <3

(+1)

It worked 100%!! Thank you so so much!!


(+2)

No problem :)

(2 edits)

Glad you were able to fix it with the above!

For future reference, here's some stats

(3 edits) (+1)

I think the stats might have gotten stripped out of this reply by Itch - I can see `img` tags in the HTML but there's no `src` on them:

Funnily enough, the same thing happened when I tried to paste the above screenshot directly into the text box - I had to use the 'image' button on the toolbar to get it to work. Maybe the same issue?

moved this topic to General