Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: aussie on Mon 26/05/2003 18:41:42

Title: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: aussie on Mon 26/05/2003 18:41:42
Does anyone round have Spanish fonts?

(that is, with the following extension characters ñ, á, é, í, ó, ú, ¡, ¿)

If so, could you let me know?

Thanks.

It's just I'm translating NIAR into Spanish, and the fonts I've made are giving me plenty of trouble.
Title: Re:Spanish fonts anyone?
Post by: Synthetique on Mon 26/05/2003 18:53:32
download a spanish game and rip the fonts
Title: Re:Spanish fonts anyone?
Post by: aussie on Mon 26/05/2003 18:54:55
How do I do that?
Title: Re:Spanish fonts anyone?
Post by: Synthetique on Mon 26/05/2003 19:01:10
how to rip u mean? i dont know... but people here do..
Title: Re:Spanish fonts anyone?
Post by: Ben on Mon 26/05/2003 19:37:09
Are you using TrueType fonts or SCI fonts? If you're using TTF fonts, then any western font should have the characters you need. If you're using SCI fonts, then you'll need to export your fonts, then edit them in SCI Graphics Studio and replace existing characters that you don't need with the spanish characters.
Title: Re:Spanish fonts anyone?
Post by: Proskrito on Mon 26/05/2003 20:03:57
Which characters are free to replace??
i mean, i replaced some like [ or %, and then, when i used them, they did "strange" things. ([ beaks line and %d make the variable stuff, logically)
Is there a way for override (english?) that?? or i just have to assign my special charaters to different slots?? if so, what characters should i avoid??
thanks
Title: Re:Spanish fonts anyone?
Post by: Synthetique on Mon 26/05/2003 23:15:23
i've made a spanish font with outline to go..
Title: Re:Spanish fonts anyone?
Post by: Scorpiorus on Mon 26/05/2003 23:56:44
QuoteWhich characters are free to replace??
i mean, i replaced some like [ or %, and then, when i used them, they did "strange" things. ([ beaks line and %d make the variable stuff, logically)
Is there a way for override (english?) that?? or i just have to assign my special charaters to different slots?? if so, what characters should i avoid??
thanks
Familiar problem ([). Well, the best way is to use TTF instead.

-Cheers
Title: Re:Spanish fonts anyone?
Post by: aussie on Tue 27/05/2003 07:14:39
Yep,

I had the same problem as Proskrito, I made % mean ó, and when I tried to display a word that had an ó in it, the engine crashed.

I'll try the stuff synthetique was talking about.

Also, I'll have a look at the ttf possibility.

I'll keep you posted.
Title: Re:Spanish fonts anyone?
Post by: aussie on Tue 27/05/2003 07:37:15
Sorry to pester you all again.

Does anyone know about outline .ttf fonts with extension characters?
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Jaime37 on Sat 28/03/2009 12:35:50
I have the same problem, I need to use spanish fonts in my game (á,ó,etc.) and I read the forum but I´m not sure how can I do it. Is there anyone who can help me with this??

Thanks! ! ;)
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: GarageGothic on Sat 28/03/2009 13:06:37
Doesn't setting the font OutlineStyle property to "Automatic" work with extended characters? If not it should be considered a bug in the engine, if it does you just need a normal .ttf font with Spanish characters and AGS will outline them for you.
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Jaime37 on Sat 28/03/2009 13:23:29
Thanks but, where is the font OutlineStyle property ?? ???
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: GarageGothic on Sat 28/03/2009 19:15:25
Go to the "Fonts" pane in the editor and double click an imported .ttf font. In its properties menu under "Appearance" should be a property called "OutlineStyle".
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Jaime37 on Tue 31/03/2009 22:00:59
I tried this, but I´m not able to print messages in the game with the special characters like á,ó,ñ,.... Please, help !!!  :'(
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: JpSoft on Tue 31/03/2009 22:29:19
I have a lot of SCI fonts i modified to include spanish characters.

ñ, Ã', á, é, í, ó, ú

Just send me your email via PM and i will be happy to send it to you. Also, if you need anything else about deseign AGS games in spanish just let me know.

Jp
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: OneDollar on Wed 01/04/2009 12:59:47
Just to clear things up, the three standard fonts in a new AGS game are SCI fonts - they only have 255 128 characters in them (i.e. they don't include á,ó,ñ etc). To get the full range of characters you will need to import a new True Type Font (a font with a .ttf file extension), either replacing one of the build-in fonts or creating a new font. Set the OutlineStyle property to automatic to outline the font, then make sure your game is set to use the new font by setting either the Game.NormalFont and Game.SpeechFont properties in, for example the game_start function.
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: JpSoft on Wed 01/04/2009 18:20:00
I have SCI fonts modified to work properly. Of course, i do not replaced [, % or any other symbol wich could give troubles. As far as i remember, i replaced #, <, >, ·, and others. I used this fonts before and i dont have any problem until now.

Jp
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Jaime37 on Wed 01/04/2009 18:28:58
Thanks to everyone !! I finally make the special characters appear in the game! Now I´m just trying to put the same font tah AGS use by default because it´s perfect (I put other fonts but it can´t be read so easy) but with the special characters. How can I do it ??

Thanks Again !

Ps: JpSoft  Thanks, I just put your email on my msn messenger so I can ask you about the fonts, ¿ok?
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: OneDollar on Wed 01/04/2009 20:14:48
I don't think there's a way to export fonts, so you'd have to find it somewhere for download. I think the default font comes from Space Quest IV, and you might be able to download it with SCI Studio. Alternatively get another similar SCI font (there's several resources linked from the main website, here's one (http://www.americangirlscouts.org/agsresources/fonts.html)), then download Radiant's Font Edit (http://www.americangirlscouts.org/agsresources/AGS%20resources/Programs/fontedit.zip) program (from the program's section of that same website), open up the font and replace any characters you don't need (like # or @ etc) with Spanish characters.

However, I'd check out what JpSoft has to offer first, because it sounds like he's done the hard work for you.
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Pumaman on Wed 01/04/2009 20:48:34
Quote from: OneDollar on Wed 01/04/2009 12:59:47
Just to clear things up, the three standard fonts in a new AGS game are SCI fonts - they only have 255 characters in them (i.e. they don't include á,ó,ñ etc).

To clarify, the SCI fonts only have 128 characters, which excludes accented characters since in standard ASCII they come in the 128-255 range. A normal TTF font should support these without any problem.
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: OneDollar on Wed 01/04/2009 21:20:14
Oops, sorry!
Title: Re: Outline .ttf fonts anyone (Spanish extension characters)?
Post by: Edgar_España on Wed 31/08/2011 16:59:15
Friendly, I am a little clumsy. Nobody can send a connection with some place in which font in Spanish can be unloaded?