CrImage::Font::Weight
Inherits Enum / Comparable / Value / Object
Weight selects a normal, light or bold face. Not all fonts support weights.
The named Weight contants(e.g Bold) corresponds to CSS' common weight names (e.g. "Bold"), but the numerical values differ, so that in Crystal, the zero value means to use a normal weight. For the CSS names and values see https://developer.mozilla.org/en/docs/Web/CSS/font-weight
Constants
Thin = -3
ExtraLight = -2
Light = -1
Normal = 0
Medium = 1
SemiBold = 2
Bold = 3
ExtraBold = 4
Black = 5