wp782fa982.png
wp135453fd.png
wp68581d60.png

< Integer > = GET FONT FLAGS (HANDLE$) < String >

GET PRINTER FONT FLAGS returns an integer containing the style information for a font, if the font is not found then -1 is returned.

 

  BIT 0 SETS THE BOLD FLAG

 BIT 1 SETS THE ITALIC FLAG

 BIT 2 SETS THE STRIKETHROUGH  FLAG

 BIT 3 SETS THE UNDERLINE FLAG

 

The bits can be set or unset to create 16 different combinations of font styles.

Hint individual bits can be set or cleared using Dark Basics bitwise operators || and &&.