I'm trying to use a font called the Dogica font for my game, but it ends up being all squished. I tried with a script but it just won't work. Help?

I can't attach images for some reason, but I can leave the script here:
Ruby:
class Window_Base
  alias :process_normal_character_vxa :process_normal_character
  def process_normal_character(c, pos)
    return unless c >= ' '
    process_normal_character_vxa(c, pos)
  end
end
Hello,

I can't attach images for some reason
You can attach them if they are at most 2MB, if your screenshots are too heavy, you should crop them to fit the size.

Also, where did you find this script? Do you understand what it does?




I tried the Dogica font:
1766917523961.png

The problem is definitely the font size which is much bigger than the usual fonts and the spacing between each character which is larger than usual.
You can set the font size with this scriptlet above main (or find the proper parameter if you are using some script to handle fonts like Yanfly Core Engine):
Ruby:
Font.default_size = 12 #default is 24
For the spacing, I'm afraid I can't help you efficiently on this as it would probably require to rewrite methods to draw texts or edit the font file. I would suggest going for another font instead.
Hello,


You can attach them if they are at most 2MB, if your screenshots are too heavy, you should crop them to fit the size.

Also, where did you find this script? Do you understand what it does?




I tried the Dogica font:
View attachment 356223
The problem is definitely the font size which is much bigger than the usual fonts and the spacing between each character which is larger than usual.
You can set the font size with this scriptlet above main (or find the proper parameter if you are using some script to handle fonts like Yanfly Core Engine):
Ruby:
Font.default_size = 12 #default is 24
For the spacing, I'm afraid I can't help you efficiently on this as it would probably require to rewrite methods to draw texts or edit the font file. I would suggest going for another font instead.
Somehow I got it, dont ask me how but I did
You could try this script to stop it from squishing.

Original thread: https://forums.rpgmakerweb.com/threads/im-trying-to-use-a-font-called-the-dogica-font-for-my-game-but-it-ends-up-being-all-squished-i-tried-with-a-script-but-it-just-wont-work-help.181625/