YesNoOk
avatar

Fonts don't show up (Read 267 times)

Started by Trinitronity, February 17, 2013, 07:41:59 pm
Share this topic:
Fonts don't show up
#1  February 17, 2013, 07:41:59 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I tried to add a font, but it doesn't show up:
Code:
[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 = f-4x6.def         ;System fonts
font2 = f-6x9.def         ;System fonts
font3 = jg.fnt            ;System fonts
font4 = BBCSname.fnt      ;System fonts
Code:
;Names
p1.name.offset  =  78,190
p1.name.font =   4,0,0
p2.name.offset  = 241,190
p2.name.font =   4,0,0
The font is palletted, and I made sure that the name is right. I also made sure that the system references the fonts correctly.
However, they still don't show up. I need help.

P.S.: I don't know, if this is important, but I'm trying to use the name font from BlazBlue Continuum Shaft.
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Fonts don't show up
#2  February 19, 2013, 07:52:15 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
Sorry to bump, but does nobody know, what the problem is?
I indexed the font, added it to the system.def and referenced it correctly.
I even have experimented with the position of the text, and it still didn't worked.
It is just a normal font and no stage thumbnail font, and it doesn't show up. I really don't know, what to do...
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Fonts don't show up
#3  February 19, 2013, 09:46:23 pm
  • ***
  • I work at Elecbyte as a sexy janitor.
    • USA
    • tamez.smeenet.org
If you change those 4s to 3s, does the default name font show up? 
If so it's not a problem with positioning. 

Do you have a " ; " or a " [ " near the beginning of your font? 
If so did you remember to label them correctly in the text for the font? 

http://xgargoyle.mgbr.net/help/font.html said:
; Special characters like semicolon (';') and open square brace ('[')
; must be represented as hexadecimal numbers (0x3B and 0x5B respectively)

If you didn't use the hex, and the placement for those characters is before your letters, it can stop them from showing up. 
Re: Fonts don't show up
#4  February 20, 2013, 07:19:34 am
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
If you change those 4s to 3s, does the default name font show up? 
If so it's not a problem with positioning. 
I changed back to 3, and the font showed up...so positioning isn't the problem there
Do you have a " ; " or a " [ " near the beginning of your font? 
If so did you remember to label them correctly in the text for the font? 

http://xgargoyle.mgbr.net/help/font.html said:
; Special characters like semicolon (';') and open square brace ('[')
; must be represented as hexadecimal numbers (0x3B and 0x5B respectively)

If you didn't use the hex, and the placement for those characters is before your letters, it can stop them from showing up. 
I don't have a ";" or a "[" near the beginning of my font either...
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Fonts don't show up
#5  February 20, 2013, 07:21:43 am
  • ***
  • I work at Elecbyte as a sexy janitor.
    • USA
    • tamez.smeenet.org
Send me the font in a sendspace link.
I'll see if it is something wrong with the actual .fnt file. 
Re: Fonts don't show up
#6  February 20, 2013, 05:58:30 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns
Re: Fonts don't show up
#7  February 20, 2013, 10:06:01 pm
  • ***
  • I work at Elecbyte as a sexy janitor.
    • USA
    • tamez.smeenet.org
You need to change two things for the font to show up. 

First part that's wrong is the Width under Char Size.
Width here has nothing to do with the letters themselves.  It has to do with the spacing between words. 
You have it set to 0, which mugen won't accept. 
You need to at least have 1 in there, and usually something a tad bit higher is recommended to make words easier to read. 

The other part is that you have color depth set to 0. 
Color depth is used to determine the size of the font bank if you have multiple colors set up in your font. 
Since your image uses up the whole palette, you should just use 256 since you aren't able to set up multiple colors for this font. 
Re: Fonts don't show up
#8  February 21, 2013, 03:35:48 pm
  • *****
  • Back to the Beginnings
    • Skype - trinitro.man

  • Online
It worked! Thanks!
I make characters RP-styled (Current WIP: Marisa):
http://mugenguild.com/forum/topics/marisarp-150600.0.html
Touhou database (by Ryouchi):
http://mugenfreeforall.com/index.php?/topic/8257-touhou-project/
you are all small and can't grow manly sideburns