Using the "setFontSize" function for any MiniConsole object created with Geyser stores that value in Geyser.Window.fontSize rather than in the object itself, a behavior not observed with other objects (labels and gauges tested). Here is an example function demonstrating what I'm talking about.
local test1 = Geyser.MiniConsole:new({name = "test1"})
local test2 = Geyser.MiniConsole:new({name = "test2"})
test1:setFontSize(8)
display(test1.fontSize) --> 8
display(Geyser.MiniConsole.fontSize) --> 8
display(Geyser.Window.fontSize) --> 8
display(Geyser.Container.fontSize) --> 8
test2:setFontSize(10)
display(test2.fontSize) --> 10
display(test1.fontSize) --> 10
display(Geyser.MiniConsole.fontSize) --> 10
display(Geyser.Window.fontSize) --> 10
display(Geyser.Container.fontSize) --> 8
Similarly, MiniConsole objects retrieve the value stored in Geyser.Window.fontSize when queried for their own fontSize value, as shown in this example.
local test1 = Geyser.MiniConsole:new({name = "test1"})
test1:setFontSize(8)
display(test1.fontSize) --> 8
Geyser.Window.fontSize = 10
display(test1.fontSize) --> 10
display(Geyser.MiniConsole.fontSize) --> 10
display(Geyser.Window.fontSize) --> 10
Cause appears to be modified version of setFontSize function which propagates fontSize to the parent of the MiniConsole in GeyserMiniConsole.lua, as seen here.
--- Sets the font size for this miniconsole.
-- @param size The font size.
function Geyser.MiniConsole:setFontSize(size)
self.parent:setFontSize(size)
setMiniConsoleFontSize(self.name, size)
end