MV [SOLVED] Some help with Eli's Skill Cost skill type and cost lineheight/y position

I posted this on the plugin's thread, but I'll post here, too.

So I've got Eli's Skill Costs. As you can see below, I'm using escape codes to color the cost value and cost type(granted by the plugin, using the 'prefix' and 'between' settings), which also affect the font type being displayed (something I had whipped up for multiple fonts). However, since they're different fonts (and sizes), their line heights or y positions, whichever, are drastically different from each other.

Is there a way I would be able to adjust the y value, or what it needs to be, of the cost and type individually to line 'em up nicely? A snippet that I could insert in the .js somewhere? I've definitely tried a number of ways, but to no avail. I know they use drawTextEx, which I believe reads every character, enabling the use of escape codes, rather than drawText. I think if it was just drawText, I could have it figured out, but with drawTextEx, I'm at a loss.

Thanks for any help!

EDIT: So Eli just liked my post on his thread, so I might have acted prematurely making this thread here, haha.
I just answered you on the thread xD
Haha thanks so much!
Sorry to double post, but just mentioning that this has been solved!
With Eliaquim's assistance, I arrived with this solution (the y values in drawTextEx are for my own needs):

Code:
Window_SkillList.prototype.drawSingleCost = function(skill, y, width){
    
    const index = this._data.indexOf(skill)
    const rect = this.getTextLineRect(index)
    const text = this.createSingleCostText(skill)

    const textCost = text.split('\\',2).join('\\')
    const textType = text.slice(textCost.length)

    const textCostWidth = this.getTextWidth(textCost)
    const textTypeWidth = this.getTextWidth(textType)

    const x = rect.right - textTypeWidth
    const x2 = rect.right - textTypeWidth - textCostWidth

    this.drawTextEx(textCost, x2, y + 3, width)
    this.drawTextEx(textType, x, y - 2, width)
}

If using the gold cost method, and you want the icon on the left of the amount rather than the right, then things get a bit misaligned again. But other than that, this works!

Original thread: https://forums.rpgmakerweb.com/threads/solved-some-help-with-elis-skill-cost-skill-type-and-cost-lineheight-y-position.166534/