Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: Radiant on Mon 19/04/2004 13:47:45

Title: TOOL: Radiant FontEdit
Post by: Radiant on Mon 19/04/2004 13:47:45
Do you want to pixel-edit your own fonts or need a special accented character for Icelandic dialogue?
Try this small FontEdit utility I wrote!

Supports reading and writing of SCI font files (font.*), AGS font files (*.wfn) and bitmaps (*.bmp), with regular editing tools and an outline generator. It's freeware, by the way. Enjoy! And bug reports welcomed, of course. I'll add TTF support if I have the time to figure out FreeType.

Note that I am well aware that SCI studio can edit fonts, but it's a lot bigger and crashes frequently, at least on my computer. As to which one is more userfriendly, ymmv.

Download here (http://crystalshard.net/zip/FONTEDIT.ZIP) (40 kb Windows executable*)
Mirror (http://www.tdrdesign.net/downloads/fontedit.exe) (Thanks SSH!)

*Also works under Linux with WINE if you put a mfc42.dll in its directory
Title: Re:NEW: font editor tool
Post by: Kweepa on Mon 19/04/2004 17:34:50
Looks like a great utility!
Will it allow me to edit any size of letter? The font overview seemed to be a fixed layout...

How are you supposed to change from black to white?
Is it the right mouse button to erase?

(I was just editing a font at the weekend, and experienced the horror of sci studio first hand. How can a program that has been "stable" for over a year still be so bad? I did manage to make my changes... eventually.)

* Steve suspects that release of this utility will see a renaissance of AGS games with custom fonts.
Title: Re:NEW: font editor tool
Post by: Radiant on Tue 20/04/2004 13:00:27
You can change any letter's size from 1x1 up to 64x64; if people really need bigger letters I suppose I could change that.
You switch a pixel's color by clicking on it (black to white or back), and can drag to make a group of pixels the same color; it's pretty intuitive (I think).
Title: Re:NEW: font editor tool
Post by: SSH on Tue 20/04/2004 13:18:20
Great, it works for me now... and I'm playing with hitting the "outline" button 5 times  :)

This should be added to the resources page and referred to in the help file and faqs ASAP!
Title: Re:NEW: font editor tool
Post by: Kweepa on Tue 20/04/2004 14:00:06
Great!
I'm sure 64x64 is enough, even for an 800x600 game.

One suggestion:
If the font is large enough to make the window exceed the screen width when in the font overview (quite easy to do on my 1600x1200 monitor) as a fix you could *not* zoom the letters.

Or implement a scrollbar :)

Outline is cool, but kind of unnecessary I think. Particularly when there's no way of undoing it!

Nice tool!
Steve
Title: Re:NEW: font editor tool
Post by: Pumaman on Tue 20/04/2004 23:11:59
Looks good :)

Remind me tomorrow and I'll add it to the Resources page.
Title: Re:NEW: font editor tool
Post by: LordHart on Wed 21/04/2004 03:17:44
Heres another mirror:

http://www.tdrdesign.net/downloads/fontedit.exe
Title: Re:NEW: font editor tool
Post by: Fritos on Wed 21/04/2004 07:12:39
Hmmm.. It won't let me paste from a outside editor (i.e. Photoshop, Paint), it just sizes the font to 0x0 whenever I paste something into a character. I guess it is only an internal copy and paste feature?
Title: Re:NEW: font editor tool
Post by: Gilbert on Wed 21/04/2004 07:18:06
Yeah, and since you design only simple b/w fonts, you don't really need to use other tools like M$Pain or PSP or PS or whatever, just draw it with given tools.

And I just see that if you copy a character, the copied content would be displayed as well, real handy!

/me decides he should uninstall SCI Graphics Studio now.
(And no, SCI Graphics Studio never crashed for me, but the save button never worked tricked me that I often lost changes)
Title: Re:NEW: font editor tool
Post by: Radiant on Wed 21/04/2004 17:17:47
Fritos -> correct, it's internal only. If you really need to, save a font as BMP, edit it to your heart's content with whatever program, and import it back. And no, I'm not considering JPEG support :)
(hm, I could probably write a dos version in 2 kb, just to prove a point... <grin> )

Pumaman -> Thank you!
Title: Re: NEW: font editor tool
Post by: SSH on Thu 13/05/2004 16:37:10
Oh, just to remind peopel of this, and also to ask Sir Radiant of Helpfullville if his "maybe adding Truetype support " might become reality in the near future? I'm using TTFs in my game now but would like to edit them a bit and change them to SCI. Does anyone know of a TTF->SCI renderer? Anyway... I live in hope!
Title: Re: NEW: font editor tool
Post by: Radiant on Thu 13/05/2004 16:57:16
Thank thee...

actually I did download FreeType but haven't done much fiddling around with it. It's under consideration, time permitting.
But I have several game projects to worry about.
Title: Re: NEW: font editor tool
Post by: Ishmael on Fri 14/05/2004 14:29:18
I think this utility will come in handy, I can finally get rid of my .fon renamed to .ttf font I'm using for dialog titles... MRC2 credit list just keeps getting bigger, which is good. I'll be waiting for the TTF support too, but it's not vital to me.

SSH, if you look of a program called "Softy", try it out. It can render TTF to bitmap fonts, which you can save as .fnt or .fon files atleast... I'm not sure if it helps you, but it's made of bitmap and TTF font editing...
Title: Re: NEW: font editor tool
Post by: SSH on Fri 14/05/2004 15:32:23
Ah yes, I've tried Softy now, thanks. Would it be easier to add .FON support, Radiant? Becuase Softy does TTF->FON, so FON->SCI would complete the chain!

Title: Re: NEW: font editor tool
Post by: Radiant on Fri 14/05/2004 16:53:04
Maybe, I'll try googling it.
Title: Error in Radiant Fontedit
Post by: Risk on Sat 12/11/2005 06:18:28
Upon attempting to open several of my AGS font files in the Radiant Fontedit, I keep getting a Visual Studio Just-In-Time Debugger stating "An unhandled win32 exception occured in fontedit.exe [2240]."

These AGS fonts are viewable in AGS. I need to edit them somehow but I have no way of doing so, since they are in the AGS font file format. I am only able to open the default AGS font file.

Any ideas?
Title: Re: Error in Radiant Fontedit
Post by: Gilbert on Sat 12/11/2005 14:03:08
Will it be possible they're imported from TTF files? Fontedit can't edit them for obvious reasons.
Title: Re: Error in Radiant Fontedit
Post by: Risk on Mon 14/11/2005 05:34:04
I created all the original fonts in SCI Studio and imported them about 4-5 years ago. Just I've lost the originals since then. But now I realized that one odd character is missing and it would be an easy fix if I could edit it. But to answer your question: no, they are not TTF. So I really see no reason why the Radiant Font Editor can't read them. Perhaps the program is just buggy? I downloaded the one currently available from adventuregamestudio.co.uk downloads--if there were any other versions, I would've tried them by now.Ã,  But since there are not, I need some way to convert them back to good old SCI font file format. But if that's not possible--any other ideas?
Title: Re: TOOL: Radiant FontEdit
Post by: Crimson Wizard on Mon 09/11/2009 15:43:56
I am really really sorry for bumping this. Please, don't beat me  :P.

I found this pretty font editor recently and I am going to use this for my next game(s).
However, I am confused by the fact that every time I open About box, my internet browser starts and opens some strange page. Adress is http://www.ndparking.com/binary-people.com.
At first I thought that I've got some adware virus, but when I re-downloaded this editor same thing happen. And my antivirus software dosn't detect anything anyway.

Also, I wonder, is this application supported anymore? Were there any futher updates?
Title: Re: TOOL: Radiant FontEdit
Post by: Radiant on Tue 17/11/2009 19:30:03
Quote from: Crimson Wizard on Mon 09/11/2009 15:43:56
However, I am confused by the fact that every time I open About box, my internet browser starts and opens some strange page.
Oh yeah, I forgot about that. It was supposed to open my webpage, but it opens what used to be my webpage several years ago, a place that since got hit by cybersquatters. Don't worry about it, just don't click that button :)

QuoteAlso, I wonder, is this application supported anymore?
It could be, if there's any feature requests I'll consider them.
Title: Re: TOOL: Radiant FontEdit
Post by: 1mal_volltanken on Wed 26/06/2013 00:23:43
Hello,

this tool semms very useful and I've already work with it. I really like it. Thumbs up!

But unfortunately I have a problem:

I'm using AGS 3.2.1. and I can't import the fontfile to ags. I already saved the fontfile as .wfn, SCI and .bmp but nothing works. The AGS-Editor doesn't show any font-file in my font-folder.

Who can help?


Thank you!

Title: Re: TOOL: Radiant FontEdit
Post by: Radiant on Wed 26/06/2013 08:06:18
I think you should first click "new font" in the AGS editor, and then edit (or paste over) the file resulting from tht.
Title: Re: TOOL: Radiant FontEdit
Post by: 1mal_volltanken on Wed 26/06/2013 12:51:15
I tried to overwrite a font but it doesn't work.

If I use "Add new font" I get thr following error:

Code (AGS) Select
Error: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
Version: AGS 3.2.1.111

System.AccessViolationException: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
   bei reload_font(Int32 )
   bei GameUpdated(Game game)
   bei AGS.Native.NativeMethods.GameSettingsChanged(Game game)
   bei AGS.Editor.Components.FontsComponent.CommandClick(String controlID)
   bei AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
   bei AGS.Editor.ProjectTree.ContextMenuEventHandler(Object sender, EventArgs e)
   bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
   bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


I tried to remove the write-protect, too but it always resets.

Thank yoz!
Title: Re: TOOL: Radiant FontEdit
Post by: trevbot on Sat 14/05/2022 07:58:44
Anyone know why "FONTEDIT.zip can't be downloaded securely"?

I get this message both from the link in this thread, and the link from the wiki.
Title: Re: TOOL: Radiant FontEdit
Post by: Cassiebsg on Sat 14/05/2022 08:43:23
Because it's hosted on a http link.

Try this one (I just added s to http): https://crystalshard.net/zip/FONTEDIT.ZIP
Title: Re: TOOL: Radiant FontEdit
Post by: trevbot on Sat 14/05/2022 11:10:10
Boy do I feel silly.

Thanks!