Defines the degree to which a font form is stretched from its normal aspect ratio.
lt.Annotations.Core.AnnFontStretch = {
Normal: 0,
UltraCondensed: 1,
ExtraCondensed: 2,
Condensed: 3,
SemiCondensed: 4,
SemiExpanded: 5,
Expanded: 6,
ExtraExpanded: 7,
UltraExpanded: 8
}
lt.Annotations.Core.AnnFontStretch = {
Normal: 0,
UltraCondensed: 1,
ExtraCondensed: 2,
Condensed: 3,
SemiCondensed: 4,
SemiExpanded: 5,
Expanded: 6,
ExtraExpanded: 7,
UltraExpanded: 8
}
Members
0 | Normal |
(0)Specifies a normal font stretch. |
1 | UltraCondensed |
(1)Specifies an ultra-condensed font stretch. |
2 | ExtraCondensed |
(2)Specifies an extra-condensed font stretch. |
3 | Condensed |
(1)Specifies an ultra-condensed font stretch. |
4 | SemiCondensed |
(4)Specifies a semi-condensed font stretch. |
5 | SemiExpanded |
(5)Specifies a semi-expanded font stretch. |
6 | Expanded |
(5)Specifies a semi-expanded font stretch. |
7 | ExtraExpanded |
(7)Specifies an extra-expanded font stretch. |
8 | UltraExpanded |
(8)Specifies an ultra-expanded font stretch. |
A font stretch describes the degree to which a font form is stretched from its normal aspect ratio, which is the original width to height ratio specified for the glyphs in the font.
The AnnFontStretch values correspond to the "usWidthClass" definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9. Lower numeric values indicate narrower widths; higher values indicate wider widths.
FontStretch | usWidthClass | percent of normal |
---|---|---|
UltraCondensed | 1 | 50 percent |
ExtraCondensed | 2 | 62.5 percent |
Condensed | 3 | 75 percent |
SemiCondensed | 4 | 87.5 percent |
Normal | 5 | 100 percent |
SemiExpanded | 6 | 112.5 percent |
Expanded | 7 | 125 percent |
ExtraExpanded | 8 | 150 percent |
UltraExpanded | 9 | 200 percent |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET