MZ VisuStella message core fonts not loading unless installed locally

HI all,

I'm sorry if this has been asked before, but I wasn't able to find an answer that worked for me. Feel free to just drop a link to the right thread or whatever if this is a duplicate.

What's going on: I'm using message core (and the command \FontChange<Monotype Corsiva>) to change the font of my title screen. It works and looks great on my local machine in both test games and deployment, but my machine has the font installed (here's the font if anybody wants to look at it, but I'm already able to verify it's a working file).

When I try to run my game from a device that doesn't have the font installed (other PC, phone, chromebook, the list goes on), it defaults to the Times-looking backup font. The font is saved in the /fonts directory, which I'm pretty sure is where it should live. I've tried other fonts and disabling other plugins with the same result. If I install the font on the target machine, it works fine, but I really don't want to force everybody who plays my game to install some asinine font.

I'm sure I'm not the only one having this problem (although people who have only tried from one device might not have noticed it), so has anybody got a solution? I'm happy to provide screenshots or anything else that could help.

Thanks!

edit: there was a typo in the font URL in my post...now there is not...but that's not related to the problem, to be clear.
More edit: I had the right format in the editor but typed it all wrong in this post, so fixing that so that, you know, it makes sense for me to ask what I'm asking...
Do you have the font in your project's font folder?
Do you have the font in your project's font folder?

Yep, it's in there, and I made sure it wasn't excluded during deployment or anything like that.

Edit: Come to think of it, the link I gave to the font is my project's fonts folder (bensd.org/demo being the game's root), so feel free to make sure it's in the right place; I think I know what I'm doing at least that far, but sometimes I think that when I don't know too...
The file you linked to is not the same file name as what you're typing in your command. There are no instructions in the plugin documentation, but I presume the name would have to reference the font file to use, not some system name of it.

Try renaming your file from MonoC to Monotype Corsiva.

The other thing is that Web-based architectures often don't like spaces in filenames, so you may need to do something like Monotype_Corsiva for it to get recognized properly.
The file you linked to is not the same file name as what you're typing in your command. There are no instructions in the plugin documentation, but I presume the name would have to reference the font file to use, not some system name of it.

Try renaming your file from MonoC to Monotype Corsiva.

The other thing is that Web-based architectures often don't like spaces in filenames, so you may need to do something like Monotype_Corsiva for it to get recognized properly.

Thanks for the advice! In this case, the plugin seems to look for the font name as opposed to the file name, so changing that to MonoC or MonoC.ttf doesn't seem to work.

I hadn't thought about the space being the culprit, so I did try to edit a copy of the font file to remove that space (and made the relative change in RMMZ), but it looks like I'm still getting the same results.

Some other info that might help: The font works fine if I use it as one of the 'default' fonts from the database, I just don't want all my text in this otherwise annoying font; as far as I can tell, the issue is that my game isn't telling the host machine to load the font, only to use it if it's installed. What I think I need is a script to load/install/whatever the font before it's called for use (I hope that made some modicum of sense...). Unfortunately, I couldn't code my way out of a wet paper bag...
The plugin description says the syntax is

Code:
\FontChange<x>

so check that?
The plugin description says the syntax is

Code:
\FontChange<x>

so check that?
d'oh...good point...that's actually what I'm using in the editor, I just typed it up wrong in the post...so I'mma go fix that up above, and thanks for catching that.
Confirmed. I tested on a windows 7 virtual box machine and it does not display the correct font.
but testing the deployed project on the machine where the project was made works fine.
I believe I found the location for where it sets the font based on the text command, but since it obfuscated I don't know what the 0x0 and stuff means.
I would say this is a bug in the message core.
I submitted it as a bug to VisuStella.
Confirmed. I tested on a windows 7 virtual box machine and it does not display the correct font.
but testing the deployed project on the machine where the project was made works fine.
I believe I found the location for where it sets the font based on the text command, but since it obfuscated I don't know what the 0x0 and stuff means.
I would say this is a bug in the message core.
I submitted it as a bug to VisuStella.
Awesome, thanks for putting so much time and effort into helping me get this fixed! I think, from everything I've found and what you were able to test, that you're right about it being a bug in the plugin, and thanks also for submitting that. Thanks to everybody else who replied too; it's much appreciated!
Got a reply from VisuStella.
Quote
"
Thanks for submitting the report. However, this is something that has to do with the way fonts are loaded into RPG Maker MZ. VisuStella is only responsible for providing font changes. It is not responsible for installing fonts on other people's computers when they are lacking it. If you plan on using custom fonts, you need to attribute them via CSS or a custom installer that'll add in such font. I suggest asking the official RPG Maker Web forums for help.
"
End Quote

So this means that you can set one font for the game and that's it.

I guess handling fonts is beyond VisuStella to control.
I tested by putting the font as the primary font and it works on deployed projects that way.
Confirmed. I tested on a windows 7 virtual box machine and it does not display the correct font.
but testing the deployed project on the machine where the project was made works fine.
I believe I found the location for where it sets the font based on the text command, but since it obfuscated I don't know what the 0x0 and stuff means.
I would say this is a bug in the message core.
I submitted it as a bug to VisuStella.
For future reference, 0x0 is just 0 in hex.
Hi there!
Maybe you can try these plugins and see if they will work for you. At least, I never received a report with this issue, so either there is no issue, or I didn't discover it yet xD

To load/change fonts for your game:

To change fonts inside message(need the one above)

My Core Plugin:

Original thread: https://forums.rpgmakerweb.com/threads/visustella-message-core-fonts-not-loading-unless-installed-locally.145181/