MV Can I use this plugin to change the font size of HP/MP/TP?

I'm using the following plugin by Shaz that I found here in the forums to change the text of HP, MP, and TP to white. I'd also like to reduce the font size. Can I do that with this plugin?

Code:
Window_Base.prototype.drawActorHp = function(actor, x, y, width) {
    width = width || 186;
    var color1 = this.hpGaugeColor1();
    var color2 = this.hpGaugeColor2();
    this.drawGauge(x, y, width, actor.hpRate(), color1, color2);
    this.changeTextColor(this.textColor(0)); // <<<<<< change this line
    this.drawText(TextManager.hpA, x, y, 44);
    this.drawCurrentAndMax(actor.hp, actor.mhp, x, y, width,
                           this.hpColor(actor), this.normalColor());
};

Window_Base.prototype.drawActorMp = function(actor, x, y, width) {
    width = width || 186;
    var color1 = this.mpGaugeColor1();
    var color2 = this.mpGaugeColor2();
    this.drawGauge(x, y, width, actor.mpRate(), color1, color2);
    this.changeTextColor(this.textColor(0));  // <<<<<< change this line
    this.drawText(TextManager.mpA, x, y, 44);
    this.drawCurrentAndMax(actor.mp, actor.mmp, x, y, width,
                           this.mpColor(actor), this.normalColor());
};

Window_Base.prototype.drawActorTp = function(actor, x, y, width) {
    width = width || 96;
    var color1 = this.tpGaugeColor1();
    var color2 = this.tpGaugeColor2();
    this.drawGauge(x, y, width, actor.tpRate(), color1, color2);
    this.changeTextColor(this.textColor(0));  // <<<<<< change this line
    this.drawText(TextManager.tpA, x, y, 44);
    this.changeTextColor(this.tpColor(actor));
    this.drawText(actor.tp, x + width - 64, y, 64, 'right');
};
yes and no,

no, currently you cannot, yes, you can add it.
you can try to add the fontsize above this.drawText(textManager....)

this.bitmap.fontSize = 24; change 24 to whatevery fontsize you want.

I cant garanteed that this will work, can be: this.contents.fonSize = x ;

something you can try out though. but I need to spit in the code for window_base
what draws the fontsize for it.
yes and no,

no, currently you cannot, yes, you can add it.
you can try to add the fontsize above this.drawText(textManager....)

this.bitmap.fontSize = 24; change 24 to whatevery fontsize you want.

I cant garanteed that this will work, can be: this.contents.fonSize = x ;

something you can try out though. but I need to spit in the code for window_base
what draws the fontsize for it.

Thanks! Your second suggestion did change the font size, but it changed it for everything including the numbers and actor names. Could I add those to this plugin? Then I could change each one individually, right?
some windows needs a specific call, like this_somethingHere.contents.fontSize = x;
so you alias it first, than you add it to that specific function alone.

While I keep learning, there need to be a specific name for the HP, MP, TP,
you basicly draw that function first, than you add the fontSize to it.
but my knowledge isn't that big, but idk why it draw all fonts sizes.

I might miss something, but its possible to give each scene a different fontsize,
fonttype, color etc etc, depending on the plugin itself and the knowledge you have
to extend it to your needs 🙂
some windows needs a specific call, like this_somethingHere.contents.fontSize = x;
so you alias it first, than you add it to that specific function alone.

While I keep learning, there need to be a specific name for the HP, MP, TP,
you basicly draw that function first, than you add the fontSize to it.
but my knowledge isn't that big, but idk why it draw all fonts sizes.

I might miss something, but its possible to give each scene a different fontsize,
fonttype, color etc etc, depending on the plugin itself and the knowledge you have
to extend it to your needs 🙂

Thanks to you and another thread I found, I got it to work! After changing the font, I needed to put this.contents.fontSize = this.standardFontSize(); at the end.
there is also resetFontSize, but there are 3 different ways, but that
depends on the setup you use which one will work and which one does not.

I forgot about the reset after teh end of the function to ignore the rest.

I'm glad you got it to work nicely, good look on your project 🙂

Original thread: https://forums.rpgmakerweb.com/threads/can-i-use-this-plugin-to-change-the-font-size-of-hp-mp-tp.128565/