GINO Graphics Suite - GINO v9.0  

gSetFontWeight

Syntax

[C/C++:]
void gSetFontWeight(int weight);
[F90:]
subroutine gSetFontWeight(weight)
integer, intent(in) :: weight

Arguments

weight
Font weight

< 0, Font thinning factor
= 0, Normal font weight (default)
> 0, Font weighting factor

Description

The routine gSetFontWeight() sets the font weight for subsequent character output. For software fonts, the width of vectors used to display the font or its boundary will be affected but not the interior area of filled fonts. Its effect on hardware fonts is device dependent.

Positive weighting factors increase the width of vectors above the default pen width, whereas negative weighting factors decrease the width (if vectors can be drawn thinner than the default width). The increase/decrease factor is proportional to the character width thus maintaining similar effects for each factor.

The following are suggested values for the standard font weights:

weight   Description 
-6       Extra Thin
-3       Thin
0       Normal
+3       Bold
+6       Extra Bold


gSetFontWeight() does not affect software transformed characters as these are drawn using the current line style which included a thickness attribute. gSetFontWeight() is ignored on software fonts if non default font representations are set with gSetFontForm().

See Also

gSetFontWeight Usage
gSetFontForm