YesNoOk
avatar

Changing fonts (Read 339 times)

Started by abls1, October 18, 2011, 09:31:24 pm
Share this topic:
Changing fonts
#1  October 18, 2011, 09:31:24 pm
  • ***
    • www.ablsearch.com/gamingforum/
Hi:

How do i change the default windows fonts to use other types of fonts?.  Been trying for a while with no success cannot even change the size!!! I'm using mugen 1.0

Thanks
New MUGEN Forum Opened
Re: Changing fonts
#2  October 19, 2011, 06:17:19 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
You MUGEN font has nothing to do with your Windows font. This is hardly a question for mugen devs, but more for a general IT related forum.

-[Все слова это только слова.]-
Re: Changing fonts
#3  October 19, 2011, 07:00:54 pm
  • ***
    • www.ablsearch.com/gamingforum/
TSorry for the dumb question I'm a newby!!!  I thought a person could change the font on the title screen. win quotes option etc.. by just creating a file def file and adding the .ttf font i wanted to use?  so as I understand all of the font in mugen must be custom created?

Thanks much for your response!!!
New MUGEN Forum Opened
Re: Changing fonts
#4  October 19, 2011, 07:53:50 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
Well when you explain it that way, of course it's possible.

http://elecbyte.com/wiki/index.php/Fonts

That should help you out with fonts. I thought you were talking generally about Window's fonts lol.

-[Все слова это только слова.]-
Re: Changing fonts
#5  October 20, 2011, 04:04:03 pm
  • ***
    • www.ablsearch.com/gamingforum/
I used the tutorial my font disappears, I was thinking it was colors of the font so where do i change the color in the system.def file or in the config.def or anywhere else where colors can be edited?

Thanks
New MUGEN Forum Opened
Re: Changing fonts
#6  October 20, 2011, 09:41:07 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
If it was the colors, you'd still see the font, because they'd be mis-colored, but not completely invisible. Make sure your font exists and is local. Meaning that you have the font in the same directory as your .def. Another reason for a missing font could be that, if you have an .sff, it's corrupt in some way or you're using Fixed width. There's a lot that can go wrong with Font Factory lol.

-[Все слова это только слова.]-
Re: Changing fonts
#7  October 20, 2011, 10:07:31 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
The font colours are defined when you place it in the system.def. Should default to black. Managing them is the same as adding the font when it's a .fnt but adding 3 more digits to the end to define colour.

font = 3,0,0, 255,0,0

That would make the 3rd font listed turn red if it was a ttf. Size is only managed in the .def file, if you want to change size, you need to make a new .def file.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Changing fonts
#8  October 20, 2011, 11:54:13 pm
  • ***
    • www.ablsearch.com/gamingforum/
Let me post the def file I created

----------------------------------------------------------

[FNT v2]
fntversion = 2,00
name = "BadaBoom BB"
author = "Microsoft"

[Def]

Type =truetype
Size = 18,36
Spacing = 1,13
Offset = 0,0
File = BadaBoom BB.ttf
Blend = 1
--------------------------------------------

config on system.def

[Files]
spr = system.sff          ;Filename of sprite data
snd = system.snd          ;Filename of sound data
logo.storyboard =         ;Logo storyboard definition (optional)
intro.storyboard =        ;Intro storyboard definition (optional)
select = select.def       ;Character and stage selection list
fight = fight.def         ;Fight definition filename
font1 =  BadaBoom BB1.def         
font2 =  BadaBoom BB2.def
font3 =  BadaBoom BB3.def

The font is already in windows and i also added it to the font folder

I wait your helpful comments forgot to mention... I'm not using font factory I wanted to swith from the default font to a different font in my windows installed font

Thanks

New MUGEN Forum Opened
Last Edit: October 21, 2011, 12:00:20 am by abls1
Re: Changing fonts
#9  October 21, 2011, 12:14:12 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
mugen doesn't like spaces in .def files is what i can tell you at the moment. I'll double check your actual settings later if nobody else does it first.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Changing fonts
#10  October 21, 2011, 09:31:51 am
  • ***
    • www.ablsearch.com/gamingforum/
New MUGEN Forum Opened
Last Edit: October 21, 2011, 09:35:16 am by abls1
Re: Changing fonts
#11  October 21, 2011, 10:29:58 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
All i can think of is spaces, remove them or replace with - or _

Def format is fine. Addition in system.def is fine too. Only problem can be spaces.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Solved
#12  October 21, 2011, 11:46:35 am
  • ***
    • www.ablsearch.com/gamingforum/
Problem solved.. removed the spaces in the fonts and now it displays much  thanks to

Cyanide
rizki29
For helping me with this issue

Last silly question where in the system def I can change the colors individually?

Thanks again guys!
New MUGEN Forum Opened
Re: Changing fonts
#13  October 21, 2011, 11:52:03 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Each time you assign the font somewhere

counter.font = 1,0,0, R,G,B

For example, the RGB are numbers referring to the red green blue content of the font, make them whatever you like between 0 and 255.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.