How to change the text font in Ace (and in VX too)

I was looking how to change the text and text font in my project???

I would appreciate if someone would tell me and if it the same for VX too?
I would assume it's the same, try it out?
Replace Main with this:



Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  This processing is executed after module and class definition is finished.
#==============================================================================

  Font.default_name = ["Arial"] # Edit as you see fit.
  Font.default_size = 22 # Edit as you see fit.

rgss_main { SceneManager.run }
DId that for Ace but Vx's main is



Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  Graphics.freeze
  $scene = Scene_Title.new
  $scene.main while $scene != nil
  Graphics.transition(30)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end
So do I just add the two font lines into it also? (I really need to learn ruby bad)
VX:



Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  Font.default_name = ["Arial"]
  Font.default_size = 22
  Graphics.freeze
  $scene = Scene_Title.new
  $scene.main while $scene != nil
  Graphics.transition(30)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end
Thank you so much Lunarea!

I really appreciate the time you took to show me how to do this right.

I knew they were different but I just didn't know how.

This is really going to help me out in several if not all of my projects.

Now I guess I need to change the topic title so other people can learn this too.

I really don't need it but if the XP version was here this would be a one stop topic for members to learn how to change the font in any of the RPGM!
Thanks Luna.

That's not needed Shin.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-the-text-font-in-ace-and-in-vx-too.1473/