I suggest you try downloading OpenTypePixelFontNew.zip again.
It fixed missing strokes when the text's position is not whole number.
It fixed missing strokes when the text's position is not whole number.
]
const markContext = (() => {
const marked = new WeakSet();
return context => {
if (!marked.has(context)) {
context.getImageData(0, 0, 1, 1);
marked.add(context);
}
};
})();
const Bitmap_drawText = Bitmap.prototype.drawText;
Bitmap.prototype.drawText = function () {
Bitmap_drawText.apply(this, arguments);
markContext(this.context);
};
Ah, OK I think it is still experimental so I'll skip the log for now.
Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/opentype-pixel-font-renderer-mv-mz.171027/