Editing the font?

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 :/
You need to edit the CSS file inside of the Fonts folder, not in the scripting. Easy enough to do.
You need to edit the CSS file inside of the Fonts folder, not in the scripting. Easy enough to do.
there's no css file
Stupid question, but, you did copy the font file in the Fonts directory of your game, right?
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
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. 🤣
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. 🤣
Thanks!
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?
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
You might as well as mention here what font you're using
You might as well as mention here what font you're using
Fixedsys! The actual name is vgafix if I remember correctly
Is it this one?
fixedsys.PNG

If so then the font name is Fixedsys Excelsior 3.01
Is it this one?
View attachment 91486

If so then the font name is Fixedsys Excelsior 3.01
nope, just Fixedsys
but if I put Fixedsys the game doesn't even start, it gives me a runtime error
upload_2018-6-5_1-58-54.png
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)
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):
Spoiler
Screenshot_258.png
Granted, I'm using Win7
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!

Original thread: https://forums.rpgmakerweb.com/threads/editing-the-font.96124/