'Set the Window and Title parameters
DIM SHARED Phor&
, Pver&
, fh&
, fw&
, col&
, lin&
'CLS
Phor& = 1024: Pver& = 768 'long data
'WIDTH 128, 96 '128 columns & 96 rows
'FONT 8 'has the same efect & can combine, may be 14, 16
'And also may loadfont TTF
fontpath$ = "Lucon.ttf": fontsize% = 20 '20x12 Windows lucida console
fontmini% = 14 '14x8
style$ = "MONOSPACE"
hfont&
= _LOADFONT(fontpath$
, fontsize%
, style$
)hfmini&
= _LOADFONT(fontpath$
, fontmini%
, style$
)
ComputeFont
PRINT " Native Font:"; fh&;
"x"; fw&
, "Width:"; col&;
"x"; lin&
ComputeFont
PRINT " Medium Font:"; fh&;
"x"; fw&
, "Width:"; col&;
"x"; lin&
ComputeFont
PRINT "Compres Font:"; fh&;
"x"; fw&
, "Width:"; col&;
"x"; lin&
ComputeFont
PRINT "Font:" + fontpath$; fh&;
"x"; fw&
, "Width:"; col&;
"x"; lin&
ComputeFont
PRINT "Font:" + fontpath$; fh&;
"x"; fw&
, "Width:"; col&;
"x"; lin&
col& = Phor& \ fw&
lin& = Pver& \ fh&