Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: dbuske on Fri 10/08/2012 11:59:15

Title: Fonts
Post by: dbuske on Fri 10/08/2012 11:59:15
Does anyone know of a font that has black outlines?
My Game "Science Fiction" is in 1024x768 resolution.
The colors are bright and colorful. I need a font that
is scalable (larger) and with the black outline for visibility.
The SCI fonts are not scalable.
Also can the Narrator font be changed?
Thanks
Title: Re: Fonts
Post by: Khris on Fri 10/08/2012 13:31:05
There aren't any fonts that come with outlines.
You either create a second outline font yourself using Radiant's FontEdit, or you set the font to have an automatic outline in AGS (the easiest way).
Didn't it occur to you to try "OutlineStyle: Automatic" in the font's properties...?

Edit:
If you want a big font, just import a ttf font and enter a large size, like 32. Just test different sizes.
To change the narrator font, setting Game.NormalFont to the desired font should do the trick.
Title: Re: Fonts
Post by: Lewis on Mon 27/08/2012 12:15:52
The narrator font, by default, is 'Normal'. Just change that.

As for outlines, you can set it to auto-outline any font. There are loads of free font databases on the internet. Do some searchin'.
Title: Re: Fonts
Post by: Eric on Mon 27/08/2012 17:43:01
Quote from: Khris on Fri 10/08/2012 13:31:05
There aren't any fonts that come with outlines.

Not totally true, but I've tried using font systems that come with both outlines and fill faces in AGS, and I've never managed to make it work / line up / appear satisfactorily.
Title: Re: Fonts
Post by: Khris on Mon 27/08/2012 18:45:39
Sure, I was talking about bitmap fonts that can be directly imported into the project tree.
Title: Re: Fonts
Post by: Eric on Tue 28/08/2012 00:24:17
Oh, I didn't know that you could only import bitmaps for those. That might explain it. I was trying to import the outline and fill of Cassanet (http://cassanet), which was surely TrueType, for the speech dialogue. The outline font seemed to be off to the right about 4 pixels or so.
Title: Re: Fonts
Post by: Khris on Tue 28/08/2012 10:58:19
We're still talking past each other it seems, but it's entirely my fault, sorry :)
You can import ttf fonts, and "bitmap" was the wrong word; what I wanted to say is that a single font file cannot contain the actual characters and their outlines.
dbuske had the automatic outline option turned off and didn't realize that the black outlines he saw in other games are generated by AGS, so he was looking for a different type of font instead of the outline option.

Regarding the Cassanet font, it looks like the outline version is meant to be used instead of the normal version, not as outline to it.
Title: Re: Fonts
Post by: Eric on Tue 28/08/2012 19:15:17
Oh! Well, that's foolish. I'll have to try another type system then. Thanks for the clarification, and sorry for the miscommunication on my end.