$font examples:
tagz:
// framework
$drawrect(,,,,brushcolor-255-255-255 pencolor-null)$padding(5,5)
$puts(index,$font(,8,nocleartype glow- glowblur-0 glowexpand-1 fixedwidth-6,255-255-255))
$put(font,$font(Calibri,9,bold,100-100-100))
$font(,10,,)$alignrel(,)
$puts(code,$alignrel(right,)$get(font))
$puts(end,'#LINEHEIGHT,18##LINE,#'$char(10)'#LINEHEIGHT,5#' $char(10)$alignset()$alignrel(,))
// examples
$get(index) 1
$font(,,bold italics underline strikeout,50-150-50)Testing String
$get(code)'$font(,,bold italics underline strikeout,50-150-50)'$get(end)
//
$get(index) 2
$font(,,nocleartype,50-150-50)Testing String
$get(code)'$font(,,nocleartype,50-150-50)'$get(end)
//
$get(index) 3
$font(,,uppercase,50-150-50)Testing String
$get(code)'$font(,,uppercase,50-150-50)'$get(end)
//
$get(index) 4
$font(,,lowercase,50-150-50)Testing String
$get(code)'$font(,,lowercase,50-150-50)'$get(end)
//
$get(index) 5
$font(,,textblur-5,50-150-50)Testing String
$get(code)'$font(,,textblur-5,50-150-50)'$get(end)
//
$get(index) 6
$font(,,textalpha-128,50-150-50)Testing String
$get(code)'$font(,,textalpha-128,50-150-50)'$get(end)
//
$get(index) 7
$font(,,textexpand-1,50-150-50)Testing String
$get(code)'$font(,,textexpand-1,50-150-50)'$get(end)
//
$get(index) 8
$font(,,fixedwidth-10,50-150-50)Testing String
$get(code)'$font(,,fixedwidth-10,50-150-50)'$get(end)
//
$get(index) 9
$font(,,bold shadow,50-150-50)Testing String
$get(code)'$font(,,bold shadow,50-150-50)'$get(end)
//
$get(index)10
$font(,,bold glow-20-100-20,100-200-100)Testing String
$get(code)'$font(,,bold glow-20-100-20,100-200-100)'$get(end)
//
$get(index)11
$font(,,bold glow-20-100-20 glowalpha-50,100-200-100)Testing String
$get(code)'$font(,,bold glow-20-100-20 glowalpha-50,100-200-100)'$get(end)
//
$get(index)12
$font(,,bold glow-20-100-20 glowblur-0,100-200-100)Testing String
$get(code)'$font(,,bold glow-20-100-20 glowblur-0,100-200-100)'$get(end)
//
$get(index)13
$font(,,bold glow-20-100-20 glowblur-10,100-200-100)Testing String
$get(code)'$font(,,bold glow-20-100-20 glowblur-10,100-200-100)'$get(end)
//
$get(index)14
$font(,,bold glow- glowexpand-0,200-255-200)Testing String
$get(code)'$font(,,bold glow- glowexpand-0,200-255-200)'$get(end)
//
$get(index)15
$font(,,bold glow-20-100-20 glowexpand-2 glowblur-2,100-200-100)Testing String
$get(code)'$font(,,bold glow-20-100-20 glowexpand-2 glowblur-2,100-200-100)'$get(end)
// composite-1
$font(Calibri,20,,)
$alignabs(12,352,%_width%,%_height%,,)
$font(,,bold textblur-1 textexpand-6,80-196-239) foobar 2000
$alignabs(10,350,%_width%,%_height%,,)
$font(,,bold textblur-1 textexpand-6,80-196-239) foobar 2000
$alignabs(10,350,%_width%,%_height%,,)
$font(,,bold textblur-1 textexpand-5,255-255-255) foobar 2000
$alignabs(10,350,%_width%,%_height%,,)
$font(,,bold textblur-2 textexpand-1,191-239-254) foobar 2000
$alignabs(10,350,%_width%,%_height%,,)
$font(,,,80-196-239) foobar 2000
// composite-2
$font(Calibri,20,,)
$alignabs(161,351,%_width%,%_height%,,)
$font(,,bold,40-98-119) foobar 2000
$alignabs(159,349,%_width%,%_height%,,)
$font(,,bold,200-245-255) foobar 2000
$alignabs(160,350,%_width%,%_height%,,)
$font(,,bold,144-221-248) foobar 2000
// composite-3
$font(Calibri,20,,)
$alignabs(312,352,%_width%,%_height%,,)
$font(,,bold textblur-1 textexpand-1,80-196-239) foobar 2000
$alignabs(310,350,%_width%,%_height%,,)
$font(,,bold textblur-1 textexpand-1,80-196-239) foobar 2000
$alignabs(310,350,%_width%,%_height%,,)
$font(,,bold glow-255-255-255 glowexpand-0 glowblur-1,255-255-255) foobar 2000
there are some things to note and consider, like what are default values, how does $font behave with regards to $put/$puts/$get, $alignrel, $padding, $calcwidth/$calcheight etc.
default values for glow are glowexpand-2 and glowblur-2.
when using advanced effects antialiasing is disabled (even for alpha blending), there's limited rendering space etc. also following text affects the previous one, so you may need to add spaces or use $alignabs etc.
you can store and restore font settings using $put/$puts/$get like $puts(font,$font(Calibri,9,bold,100-100-100)). you should restore it after $alignrel, not before. also $calcwidth/$calcheight aren't affected by font settings set by using $get. they work using the last 'real' $font statement, even if it was one inside $puts.