How to you prevent font blurring in RPG Maker MZ?
How do you prevent font blurring?
RPG Maker MZ SupportVisuMZ_CoreEngine -> Quality of Life settings -> Font Smoothing
By using bitmap fonts instead:
hakuenstudio.itch.io
or,
github.com
Hakuen Studio Bitmap Font for RPG Maker MZ by Hakuen Studio
Bitmap fonts for RPG Maker!
hakuenstudio.itch.io
RPG-Maker-MZ-project/Font change.js at main · Geraldlin24/RPG-Maker-MZ-project
Contribute to Geraldlin24/RPG-Maker-MZ-project development by creating an account on GitHub.
That doesn't work. Blurring still occurs regardless of whether the Font Smoothing-setting is on or off:
I don't think it's a good idea to add a dependency that completely replaces the engine's default font behaviors with something fundamentally different if there's an easier way to achieve the desired effect.
Bump.
Bump.
👋 I'm not an expert at this, but I thought I'd contribute~
I did some reading and it seems the blurring can be caused by various things, including:
I haven't tried either of the plugins @SigmaSuccour suggested or looked at the code of those plugins, but I imagine it would be relatively easy to implement without significant compatibility problems. The only way to be sure is to test it for yourself, though. 😮💨
You might also want to remove the outline, if you don't already have a solution for that. I think this override in a plugin would suffice:
I did some reading and it seems the blurring can be caused by various things, including:
- Non-integer render coordinates for the text on the target canvas;
- The browser's conversion of TrueType (i.e. vector) font data to pixel/shader data;
- System/application display scaling.
- Pre-rasterise the fonts, e.g. "bitmap fonts", or
- Apply some kind of post-processing, e.g. sharpen and/or scale down.
I haven't tried either of the plugins @SigmaSuccour suggested or looked at the code of those plugins, but I imagine it would be relatively easy to implement without significant compatibility problems. The only way to be sure is to test it for yourself, though. 😮💨
You might also want to remove the outline, if you don't already have a solution for that. I think this override in a plugin would suffice:
JavaScript:
Bitmap.prototype._drawTextOutline = function(text, tx, ty, maxWidth) {};
Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-prevent-font-blurring.139796/