Issue with Contents.Font.Italic

Title. I've been playing around with some new windows and am trying to access attributes of the Font class, though that's easier said than done apparently. I have the following code in a Window_Selectable subclass:
Code:
      contents.font.size = 19
      contents.font.italic = true
      change_color(text_color(18)) if @persona_texts[0] != "Unknown Trait"
      draw_text(x, y, width, line_height, @persona_texts[0])
      change_color(normal_color)
      change_color(text_color(1)) if @persona_texts[1] != "Unknown Trait"
      draw_text(x, y + 36, width, line_height, @persona_texts[1])
      change_color(normal_color)
      change_color(text_color(3)) if @persona_texts[2] != "Unknown Trait"
      draw_text(x, y + 72, width, line_height, @persona_texts[2])
This results in the following:
YyelMLZ.png

So basically, only the font.size attribute gets changed, which is extremely confusing. I've also tried this with various fonts which have pre-installed italics (somehow font.name also works). I've tried searching for any overwrites of the Font class, but I don't believe any of my other scripts tamper with that. Weirdly, the escape characters used in Yanfly's Message System allow me to italicize message font, but I still can't do so with simple draw_text. For what it's worth, font.bold, font.outline, and font.shadow also don't work.

Any help would be much appreciated!
Welp, turns out it was a well-hidden issue deep within the entrails of Victor's Control Codes script. Gonna go ahead and say this one can be closed.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-contents-font-italic.103773/