Editing the font?

Soryu_Langley

Veteran
Veteran
Joined
Apr 3, 2018
Messages
35
Reaction score
2
First Language
Italian
Primarily Uses
RMVXA
I found this short script to edit the font and font size, it looks like this:

Font.default_name = ["font name"]
Font.default_size = font size

it works fine for the font size but no matter what font I use, it keeps the normal font
I even tried to create a Fonts folder inside the game folder but that doesn't work either :/
 

djDarkX

Retro & Remastered Music Guru
Veteran
Joined
Jan 17, 2013
Messages
2,700
Reaction score
1,901
First Language
Music
Primarily Uses
RMMV
You need to edit the CSS file inside of the Fonts folder, not in the scripting. Easy enough to do.
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,353
Reaction score
2,549
First Language
French
Primarily Uses
RMVXA
Stupid question, but, you did copy the font file in the Fonts directory of your game, right?
 

Soryu_Langley

Veteran
Veteran
Joined
Apr 3, 2018
Messages
35
Reaction score
2
First Language
Italian
Primarily Uses
RMVXA
Stupid question, but, you did copy the font file in the Fonts directory of your game, right?
Yeah but I created the folder, there was no Fonts folder in the beginning
So there are no other files other than the font file I copied
 

djDarkX

Retro & Remastered Music Guru
Veteran
Joined
Jan 17, 2013
Messages
2,700
Reaction score
1,901
First Language
Music
Primarily Uses
RMMV
Oh, my bad. I didn't see this was for Ace and not MV. I haven't used Ace in a while, so my expertise on this matter is dated. Once I get more insight, if no one has been able to help you by then, I'll chime in again. :guffaw:
 

Soryu_Langley

Veteran
Veteran
Joined
Apr 3, 2018
Messages
35
Reaction score
2
First Language
Italian
Primarily Uses
RMVXA
Oh, my bad. I didn't see this was for Ace and not MV. I haven't used Ace in a while, so my expertise on this matter is dated. Once I get more insight, if no one has been able to help you by then, I'll chime in again. :guffaw:
Thanks!
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,600
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
Iirc, font name must be the name that used in Font selection UI (I'm lacking of better words here).
For example, a font file name may be "Roman", but if you install the font, if you're picking the font in MS Word for example, it's "Times New Roman", so you use "Times New Roman" instead of "Roman".

Get it?
 

Soryu_Langley

Veteran
Veteran
Joined
Apr 3, 2018
Messages
35
Reaction score
2
First Language
Italian
Primarily Uses
RMVXA
Iirc, font name must be the name that used in Font selection UI (I'm lacking of better words here).
For example, a font file name may be "Roman", but if you install the font, if you're picking the font in MS Word for example, it's "Times New Roman", so you use "Times New Roman" instead of "Roman".

Get it?
Yep I know, I tried both names and it still doesn't work
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,600
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
You might as well as mention here what font you're using
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,675
Reaction score
566
First Language
English
Primarily Uses
RMVXA
Is it this one?
fixedsys.PNG

If so then the font name is Fixedsys Excelsior 3.01
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,675
Reaction score
566
First Language
English
Primarily Uses
RMVXA
What operating system are you using?
If you have windows 10 then just double click on the font file and it will open like the picture I showed. Then you can see what the font name is.
The name of the file is not the name of the font. (usually)
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,600
Reaction score
6,552
First Language
Indonesian
Primarily Uses
RMVXA
nope, just Fixedsys
Well, have you tried it tho?

This is a test snippet. Put above all of your script, it's even ok to put above default script. Remember to remove afterward
Code:
bitmap = Bitmap.new(544,416)
bitmap.font.size = 64
bitmap.draw_text(bitmap.rect, "abcdefg - ABCDEFG", 1)
sprite = Sprite.new
sprite.bitmap = bitmap
sprite.y -= 100

bitmap = Bitmap.new(544,416)
bitmap.font.name = ['Fixedsys Excelsior 3.01']
bitmap.font.size = 64
bitmap.draw_text(bitmap.rect, "abcdefg - ABCDEFG", 1)
sprite = Sprite.new
sprite.bitmap = bitmap
sprite.y += 100

loop do
  Graphics.update
  Input.update
end
Result (above is default, below is your font):
Screenshot_258.png
Granted, I'm using Win7
 

Soryu_Langley

Veteran
Veteran
Joined
Apr 3, 2018
Messages
35
Reaction score
2
First Language
Italian
Primarily Uses
RMVXA
Well, have you tried it tho?

This is a test snippet. Put above all of your script, it's even ok to put above default script. Remember to remove afterward
Code:
bitmap = Bitmap.new(544,416)
bitmap.font.size = 64
bitmap.draw_text(bitmap.rect, "abcdefg - ABCDEFG", 1)
sprite = Sprite.new
sprite.bitmap = bitmap
sprite.y -= 100

bitmap = Bitmap.new(544,416)
bitmap.font.name = ['Fixedsys Excelsior 3.01']
bitmap.font.size = 64
bitmap.draw_text(bitmap.rect, "abcdefg - ABCDEFG", 1)
sprite = Sprite.new
sprite.bitmap = bitmap
sprite.y += 100

loop do
  Graphics.update
  Input.update
end
Result (above is default, below is your font):
Granted, I'm using Win7
In the end I just tried downloading this particular font, it was a different file type than the system fonts for some reason and it just worked :/
Thanks anyway!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,047
Messages
1,018,540
Members
137,834
Latest member
EverNoir
Top