MV Bitmap-based fonts (VE_SFont) with GS_QuestSystem don't work :(

Hi!
I am using the GS_QuestSystem together with bitmap-based fonts from the VE_SFont plugin, which works great... almost everywhere else, but the Quest Info window on the right-hand side of the screen. The problem being that the game still defaults to the "GameFont" which isn't bitmap-based (see attachment). I suspect that the plugin uses some other form of drawing the text, as you can set hex-based text colors in the plugin parameters instead of the usual RPG Maker color codes.

Now, the story takes an interesting twist; in the help file of VE_SFont, I found this paragraph relating to the exact issue I'm having (I think):
To add SFonts on non-window objects that uses the drawText, you have to add it manually (requires some scripting knowledge).
You need to call bitmap.changeSFont(index).
The index must be one of the values you setup on the plugin parameters and the bitmap must be a valid bitmap object.

My question is:
Can somebody smarter than me point in the direction of where I need to call "bitmap.changeSFont(index)", so that the text inside Window_QuestInfo is drawn in the same way as everywhere else in the game?

Let me know if you need anything more, like the plugins themselves (the GS_QuestSystem is especially hard to find, as the website was down last I checked, but I don't know how legally okay it is to upload the whole plugin).
on the point where it it says "drawtext", I dont know the SFont only by name,
and dont use, but even if I change it, I cannot garanteed it will work,
I do use the GS_QuestSystem (if its Game_Stailer94?)

but even so, I dont know how much coding is required and exacly where.
Okay, I just solved this myself and am very happy as I have spent about a whole week on this very specific issue. So, for anyone else having the same problem, here is the solution:

- First, you need to call "bitmap.changeSFont(index)" around line 760 (my .js file is a little modified so the line count may vary in yours), you can search for "this.setFont" - it is the first one of two occurences in the whole .js file (the other one being the next line). Change the line with the first occurence to:
this.setFont(GSScripts["Config"]["QuestSystem"]["Quest Info Font"] || this.questBitmap.changeSFont(0));
In this case, the "0" at the end of the line refers to the index of the bitmap font from the SFont plugin you'd like to use.

- Now, when playtesting, I got an error on line 638 in the VE_SFont.js plugin, saying that "i" is undefined. This is the error-causing line:
this.sfont = VictorEngine.SFont.getSFont(i);
Being clueless as to why this was throwing an error at me, I changed the "i" to "index", and for some reason, that worked!
Now, the bitmap font works beautifully in the Quest Info Window of GameStailer's Quest System!

Thanks everyone, you're welcome to close the topic!
I dont use it, but for everyone else use it, nice job and for explaining how you
solve it, many would be thankfull for that 🙂

as for the " i ", its for the list or indexes, but depends on the function.

good luck on your project further 🙂

Original thread: https://forums.rpgmakerweb.com/threads/bitmap-based-fonts-ve_sfont-with-gs_questsystem-dont-work.136770/