RequestFont and FontStyle

BlitzMax Forums/MaxGUI Module/RequestFont and FontStyle

NoverMax(Posted 2012) [#1]
When i use RequestFont, it doesn't retrieve FontStyle
example
Local font:TGuiFont
Local FontS:Int
font=RequestFont(font)
If font
fonts=FontStyle(font)


NoverMax(Posted 2012) [#2]
(Sorry for my doubled post)
When i use RequestFont, it doesn't retrieve FontStyle
example
Local font:TGuiFont
Local FontS:Int
font=RequestFont(font)
If font
fonts=FontStyle(font)
endif

FontS is always 0

Is it a bug or there is a way to retrieve Style from RequestFont window?
Thanks


NoverMax(Posted 2012) [#3]
IT's Behavior depends upon the selected font really.
It works fine with "Bitstream Vera Sans" but not with "Arial" font for example
Why?