Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [LOCKED] [SOLVED] UO BitmapFontMaker

Author
Message
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 24th Mar 2014 12:08 Edited at: 13th Mar 2015 12:59
hello,
after starting with AppGameKit i liked the bimap-based fontsystem and i liked the idea to use optimized atlas-images but the font-editors around could not create an optimized atlas-image and missed support for extended-charset (for nonenglish chars like german ÄäÖöÜüß) or unicode. i stopped with AppGameKit an wrote my own font-editor, now like to share it whith other AGK-users:

Please report any bugs or wishes..

v0.1   1st release
v0.1.1 fixes "lost event" bug
v0.1.2 mousewheel disabled
v0.1.3 crash fix
v0.2 added some unicode-pages
v0.2.1 fixed russian unicode-page
v0.2.2 autodetect & set default charset (untested)
v0.3 added shine effect (light), red cursor in subimage-tab, multicolored gradient (11), save opaque image, controlcodes (#127-159) disabled by default

feature:


how to load a font with extended charset:


"UOBitmapFontMaker" is translatable, if you want to support me and the community rename & translate file "your language.ubfl" and share with us, thanks!

how to use - 10 easy steps:

The author of this post has marked a post as an answer.

Go to answer

blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 24th Mar 2014 12:11 Edited at: 24th Mar 2014 16:27
how to use

Attachments

Login to view attachments
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 24th Mar 2014 14:06
That looks really cool, I will have to try it sometime

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 24th Mar 2014 15:15 Edited at: 24th Mar 2014 15:16
That looks really useful and well made

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 24th Mar 2014 17:15
Nice! Once little thing I noticed: If you input a number into the Font/Options for the font size it results in a very small font image. It only seems to work properly when you use the up/down arrows.

nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 24th Mar 2014 17:36
This looks good. Keeping an eye on this one.

blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 24th Mar 2014 18:07 Edited at: 24th Mar 2014 18:10
@Naphier: it's fixed! stupid bug.. but every number you enter generates an event. if you enter 2 number it will render it twice! sorry, you have to deal with this..
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 24th Mar 2014 18:10
Awesome sauce. Also noticed some weird issues when zooming. I think it was with the mouse wheel. No time to describe them in detail for you, sorry. They were not show stoppers though
Very handy tool!

blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 24th Mar 2014 21:16
@Naphier: it's also fixed.. but it's not a bug - it's a (windows)feature! if you not use mousewheel it changes the gadget in focus. i disabled mousewheel.
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 24th Mar 2014 21:19
Love them features!
Nice work

Alfonso
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location:
Posted: 24th Mar 2014 21:30
Thank you very much. Perfect tool for font management.
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 06:15
good.

I also did some thing in the past (looks like too many of us do that). it supports for extended-charset too. it is a bit ugly, but I stop a further development for unknown reason.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 06:31
blastar, I can't do extended tilemap with russian charset with your app. changes of charset take no effect.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 25th Mar 2014 08:18 Edited at: 25th Mar 2014 09:29
@Scary Little Rabbit, it's a part LOGFONT (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145037%28v=vs.85%29.aspx). it's just for loading, it does not create a russian charmap or change extended charset.

for russian extended charset use this charmap (ISO-8859-5) i created. if u use a font with unicode-support (like Arial, Impact..) CHARSET DEFAULT is ok. if u use a font with no unicode-support set CHARSET to RUSSIAN..

Attachments

Login to view attachments
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 25th Mar 2014 09:37
Hi

Thank you for this great tool, it's very usefull !

It works great, but you have a bug with your tilemap + subimage, the result is decaled to x -1 or x-2 (I think) :

OK with atlas image + subimage


Bug with tilemap + subimage :


http://www.dracaena-studio.com
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 10:05
blastar, of course I try right fonts like Arial.

my default charset is russian. I tried to select russian manually, but nothing is happened. then I tried another charsets, these changes take no effect.

your picture with keyboard almost correct, but usually russian keyboards look like this:


if it is helps you: in "russian" ASCII is allocated range from 192 to 255 for cyrillic chars.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 10:14
blastar, ISO-8859-5 is rare thing, see Wiki:
Quote: "The 8-bit encodings KOI8-R and KOI8-U, CP866, and also Windows-1251 are far more commonly used. Another possible way to represent Cyrillic is Unicode."

in my life I see a using of KOI8-R and Windows-1251 mostly.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 10:17
personally I think you need Windows-1251.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 25th Mar 2014 11:40 Edited at: 25th Mar 2014 12:11
@Blendman: I can not verify this.

@Scary Little Rabbit: i updated this function, now it autoloads some unicode-pages, so change CHARSET should now work as expected.

Attachments

Login to view attachments
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 11:52
blastar, now it works, good. but it not recognises that my default charset is russian.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 11:59
blastar, you should implement setting up of offsets for outline of chars for Blendman. I did it.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 25th Mar 2014 12:42 Edited at: 25th Mar 2014 15:19
@blastar : I will try to find the style I have used to reproduce the bug (perhap's with shadow x = -1).

I have another question : when I clic on the "phrase panel", the original text is in chinese (幸福, it is normal (I like chinese ^^) ?

What is the langage you ahve used to code this tool ?

http://www.dracaena-studio.com
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 25th Mar 2014 13:12 Edited at: 25th Mar 2014 13:15
@Scary Little Rabbit: you like perfection, right? DEFAULT was linked to EUROPE but i changed this to autodetect system-language and set correct one... if avaiable. but can not test this...

@Blendman: in "phrase panel" the text is chinese to show you the unicode-support... nothing special. the bug you mentioned i can not verify. if possible, please upload the created font.
Scary Little Rabbit
15
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 25th Mar 2014 14:11
blastar, yeah, I like it.
and I tested it for you again: on my Win 7 everything is okay. looks like.

error #1:
"too many stars, too many stares. disembody."
WIP: MIND!! | free fonts for your AGKs
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 12th Apr 2014 08:26 Edited at: 12th Apr 2014 08:32
while polishing my gothic-style game I found a way to convert a handwritten font into bitmapfont - no libraries or additional code required. is anyone interested?

Attachments

Login to view attachments
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 12th Apr 2014 10:39
@Blastar : of course, I'm interested

http://www.dracaena-studio.com
Ranietz
AGK Gold Backer
20
Years of Service
User Offline
Joined: 2nd Sep 2004
Location: Norway
Posted: 12th Apr 2014 18:15
Hi blastar, thanks for making this program. I find it very useful.

I have a couple of questions if you don't mind.
1. Is it possible to save the image with a background color instead of a transparent background?
2. Is it possible to save as a monospaced font (every letter has the same width)? I tried to save as tilemap + subimages.txt and the image is monospaced but not the subimages.txt.
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 13th Apr 2014 08:37
hello Ranietz,
I uploaded v0.3, now you can choose transparent or opaque image when you save. for a monospaced font save as tilemap an delete subimages.txt.
Ranietz
AGK Gold Backer
20
Years of Service
User Offline
Joined: 2nd Sep 2004
Location: Norway
Posted: 13th Apr 2014 18:39 Edited at: 13th Apr 2014 18:40
Thanks for the updated version blastar. I did not know that I could delete the subimages file. Looks like this program will do everything I need for my bitmap fonts.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Apr 2014 15:04
Quote: "while polishing my gothic-style game I found a way to convert a handwritten font into bitmapfont - no libraries or additional code required. is anyone interested?"


That's a good looking output, it looks so much more natural than most other fonts. I can see what you have done, and the beauty is it's so simple yet so impressive.

I was intrigued so I checked out how TTF files work. You can actually set the overlap in a standard font. I wonder why you don't see very many examples of it?

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 15th Apr 2014 15:05
You can set just about anything!

-- Jim - When is there going to be a release?
blastar
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 15th Apr 2014 22:08
yes, it looks simple but you have to add an individual(!) offset on both(!) sides of each char to look natural when using overlap with a bitmapfont... this takes a few minutes but looks impressive!
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 16th Apr 2014 11:43
Excellent, thank you for this contribution. I was looking for a decent font creator, the one I currently use is not compatible with AGK.

All programmers are playwrights and all computers are lousy actors.
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 23rd Nov 2020 17:50
This post has been marked by the post author as the answer.
DL attached
[My Itch.io Home] [Now Playing]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=AGK] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[Google Forum Search]

Attachments

Login to view attachments
Xaby
FPSC Reloaded TGC Backer
17
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 23rd Nov 2020 18:00
ui, a resurrection after 6 years. Thx for the tools and for the download-file.

Login to post a reply

Server time is: 2024-11-21 22:49:54
Your offset time is: 2024-11-21 22:49:54