Hello
I have a problem with fonts, that change their size depending on the platform i use them.
So, i would like to know more about fonts on Android, Windows, Mac, and HTML5.
Does they depends of the fullscreen resolution ?
Or of the window resolution ?
Or of the virtual resolution ?
Or a combination of theese ?
EDIT:
This is what i do before loading fonts and using it :
// set display properties
SetVirtualResolution( 1024, 768 )
SetDisplayAspect(-1)
SetOrientationAllowed( 0, 0, 1, 1 )
EnableClearColor(0)
SetGlobal3DDepth(0)
SetScissor(0, 0, 0, 0)
SetVSync(1)
SetSortTextures(1)
SetSortDepth(1)
// Not compatible with HTML5 fullscreen ?
w# = GetMaxDeviceWidth()
h# = GetMaxDeviceHeight()
global ScreenType# = 0.0
ScreenType# = w# / h#
// set window properties
SetWindowTitle( "Multiplatform GameBooks Player" )
SetWindowAllowResize( 0 )
SetWindowSize(round(768 * ScreenType#), 768, 0 )
My Freewares here : http://www.retro-bruno.com