Use more fonts in windows without install

Hi everybody!

I would like to add more fonts for I use in windows. For example: In the Scene_Item, I would use the standard font on Window_ItemCategory and Window_ItemList, but in Window_Help, I want use other font. I tried placing this method on window with different font:


Window_Hint.prototype.standardFontFace = function() {
return 'Alternate_Font';
};


But for this to work, the font must be installed. I would like to use it without need of the player install the font. It's possible?
There is a 'font' folder in the game project. Don't it works by just adding the font on that folder?
I think you'd need to create a .css file first and add it to index.html, like it's done with the default GameFont. If no one else has done a plugin so far to simplify that progress, i'll do it :>


/edit: On the other hand, it's probably easier if you just modify the gamefont.css by adding one or more additional "@font-face" entries.
There is a 'font' folder in the game project. Don't it works by just adding the font on that folder?

No. I already tried with file font name, font name, font family name, and checked the format font too, but nothing worked. Only installing it.
 

I think you'd need to create a .css file first and add it to index.html, like it's done with the default GameFont. If no one else has done a plugin so far to simplify that progress, i'll do it :>

I tried edit the .css file on the folder, but doesn't effect too. If you may do this I would greatly appreciate it. 😀
/edit: Uploaded the plugin to pastebin:


http://pastebin.com/XFwkyeuv


I tested it with a ttf and otf font each and both worked. The font name will be taken out of the file given, so for example, if you set the parameter to "fonts/beacon.ttf, fonts/blowbrush.otf", it will look for those fonts and make them available as "beacon" and "blowbrush", respectively.
Yeah! Worked perfectly! Thank you immensely.
It's free to use?
Sure, go ahead. Credit would be nice, though 😛
Sure, go ahead. Credit would be nice, though 😛

It's the least I can do to thank xD

Original thread: https://forums.rpgmakerweb.com/threads/use-more-fonts-in-windows-without-install.56211/