Another Plugin: SpriteFont Renderer. Native Bitmap Fonts.

Started by Calin Leafshade, Fri 02/09/2011 21:30:53

Previous topic - Next topic

shaun9991

Sorry to dredge up this ancient post! I'm trying to get my head around this plugin but have reached a roadblock with SpriteFont 2.0.

In the list of available fonts, the font I want doesn't actually appear on the list, despite being installed on my computer. (The font I want to use is called Munro Regular)



Long shot, but does anyone have any idea why SpriteFont doesn't show all the fonts installed on your computer and if there is any way around this?

Thanks!
Shaun
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

fernewelten

Quote from: shaun9991 on Sat 19/02/2022 18:23:04
Long shot, but does anyone have any idea why SpriteFont doesn't show all the fonts installed on your computer and if there is any way around this?

Inkscape may have had just this problem, or used to have:

See to it that your font is"installed  for all users", not only "installed". (Right-click on the font, choose "Install for all users"). I think in the olden times there wasn't any other way of installing fonts than installing them for all users. The option to install a font only for the current user is new. So programs that predate this innovation will only read the fonts that are installed "for all users" and not know about the others.

shaun9991

That worked! Thank you so much :)

I would never have thought of that!
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

fernewelten

AFAICS, there are ways to download SpriteFont although the company that produced it doesn't have it on their homepage anymore. I found the following download location via Bing: https://download.freedownloadmanager.org/Windows-PC/SpriteFont/FREE-2.0.1.html

But the old download address of the AGS plugin has become unavailable. And I haven't been able to turn up a download location for the executable "AGSSpriteFontGen.exe" either.

So, where can you download the plugin now? Are there perhaps even sources available somewhere?



shaun9991

#106
Thanks everyone.

I've got it all up and running nicely, but have one issue left. No matter how much I seem to adjust the glyph settings manually, there is always slightly too much space between words. See below.



I'd like this gap to be two pixels less, as it with a normal font in AGS (below).



To get this correctly, would I have to adjust settings in SpriteFont 2.0 before generating the template/metrics file?

I'm using a font called Munro - generating the template and metric file, then manually adding a black outline to the text using Aseprite. I then manually adjust the the glyph code generated in AGSSpriteFontGen to get things aligned properly, but the "slightly too big" spacing remains.

I hope that makes sense. I can paste the code here if that helps.

Many thanks,
Shaun
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

shaun9991

Please ignore my ramblings above, I worked it out!

Didn't realise I could still use OutlineStyle - Automatic with the spritefont!!
Support Cloak and Dagger Games on Patreon: https://www.patreon.com/user?u=460039

AndreasBlack


Dualnames

Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Dualnames

Has anyone used this with a lot of characters? I'm trying to do 1238 individual glyphs, no errors but I'm quite sure this is not correct either.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk