Font displays strangely

Hello, I got a new pc with windows 11 and now my text displays that kind of weird black spots. It never did that on my former laptop. Did it happen to anybody else? Is there something I could set up to fix that? It is completely random and doesn't happen on specific chunks of text.

Thank you!


Screenshot 2024-07-08 202452.png
There have been a number of threads about this. They were all using VisuStella Core to change the font - are you?

I don't recall seeing any solution.
Ah damn i did a google about it beforehand and didn't find anything. Yes I'm using it. Guess I'll turn off the options regarding fonts then.
What is weird is I didn't have any problems with this script on my former laptop which was on Windows 10. Thank you very much!
If you can confirm that the problem never happens when you have the VisuStella Core (or its font settings) enabled, you should submit it as a bug to the VS team. As I said, I've seen at least three or four people asking about it.
I don't recall seeing any solution.
I ~think~ I recall one person saying that f'ing around with the NWJS fixed the problem (and I'm pretty sure they said upgrading it just a few versions later than default MZ, but maybe they said downgraded NWJS.)

This is all based on fuzzy alcohol brain memory, so...maybe take it with a grain of salt. Make a back up and give it a whirl?
I ~think~ I recall one person saying that f'ing around with the NWJS fixed the problem (and I'm pretty sure they said upgrading it just a few versions later than default MZ, but maybe they said downgraded NWJS.)
This is all based on fuzzy alcohol brain memory, so...maybe take it with a grain of salt. Make a back up and give it a whirl?
Good to note as a workaround, but it should still get punted to VisuStella as a bug report - their plugins ought to be designed to work with the version of NW.js that comes with MZ (or include disclaimers clearly stating otherwise).
I tried turning the messagecore off to no avail. I will try to update the NW.js and see how it goes. Nevertheless i will also send them a message to report the bug. Such a bug is absolutely a no-go for aspiring commercial devs.
Please report back to us, I'm also still struggling with this problem!
Just curious, do you guys have some demo project of this problem?
Sorry for the late answer! I can't give a demo because I can't recreate the problem right now. (Which is actually good!) This might have to do with NW.js as well, which I updated in an attempt to get Steam achievements into my game.

But I can add another facet to the problem:
For me, it mostly came up when I tried to solve the blurry pixel fonts that VisuStella can't do either.
(VS Core is able to clear up the general rendering, but the fonts remain blurry. You can see this in the first post's picture in this thread as well!) I tried to use two different plugins to "clear up" the fonts, which works somewhat, to differing degrees.
Now the kind of artifacts Lars Ulrika is talking about came up with different mixtures of these plugins and fonts. I don't know if this helps ...

Also, if somebody has a REAL solution to the blurry fonts, please tell me. ;D
@LaCipolla If upgrading nw.js fixed that, it is a nw.js compatible issue then.
What do you mean by "REAL solution"? It seems the two plugins work in similar way, they draw the text on a temporary bitmap and try to decide what pixels are not opaque (basically if a pixel's alpha value passes the threshold check it is opaque otherwise it is transparent). MechPen's version is more refined, for example, in the way it draws outlines, but they can't magically turn a none pixel font into a pixel one.
There are still other factors even if you are using a pixel font. For example, if the font don't have pixel data with a certain font size, it will still try to scale the image to fit the size, so the result may still look bad. For example some windows system fonts are pixel font with certain size. For example, Fixedsys ony has size 12 pixel data. Which means if you try to use a size that is not multiple of 12, the result may be varied.

Edit*
You may want to try some bitmap font plugins, which use pictures as font so you can draw the chracters by yourself.
@LaCipolla If upgrading nw.js fixed that, it is a nw.js compatible issue then.
I think so! Although, if I remember correctly, the artifacts disappeared when I deactivated these two plugins, so sth was different from the situation in the first post. Also, it has been a few months since then and a LOT of other stuff has changed apart from the NW.js, so I wouldn't give any guarantees.

There are still other factors even if you are using a pixel font. For example, if the font don't have pixel data with a certain font size, it will still try to scale the image to fit the size, so the result may still look bad. For example some windows system fonts are pixel font with certain size. For example, Fixedsys ony has size 12 pixel data. Which means if you try to use a size that is not multiple of 12, the result may be varied.
That's very helpful! Are there some guidelines for fonts that go well with the rpg maker? I focussed on fonts tagged "bitmap" from itch or dafont, but that still yielded very different results.

You may want to try some bitmap font plugins, which use pictures as font so you can draw the chracters by yourself.
Thanks! I have seen this one before, and admittedly, it went over my head and/or seemed like a lot of work. ^^'' But it seems to be the go-to-option to deal with this problem ...? So I might have to try it out after all. (I guess this one is the Go-to-Plugin?)

It's kind of weird that neither the rpg maker nor VisuStella can do this on their own. It seems like such a huge thing to me because it instantly flags your game as "amateurish", in a way. ^^
So I might have to try it out after all. (I guess this one is the Go-to-Plugin?)
Yeah I saw that plugin a while back. I haven't tried it though.
I think it is the only way you make the font exactly like what you want it to look like.

It's kind of weird that neither the rpg maker nor VisuStella can do this on their own. It seems like such a huge thing to me because it instantly flags your game as "amateurish", in a way. ^^
Not everyone uses pixel/raster fonts you know.

Are there some guidelines for fonts that go well with the rpg maker?
You can always test with different font and size (remember to turn plugins off).
I'm not sure about alphabet fonts. But some windows system font seems to do the job quite well.
For example the Japanese font 'ms gothic', you can render up to 18 px clear pixelated text with it.
The Chinese font 'simsun' is similar (up to 18 pixels).
1722930388246.png
What do you mean by "REAL solution"?
Not to put words into anyone's mouth, but I'd consider that a plugin solution which doesn't require the developer to modify NW.js. That's not something all random people should be messing with (as evidenced by the number of threads about it breaking something in people's games).

Original thread: https://forums.rpgmakerweb.com/threads/font-displays-strangely.170137/