Represents the style of a font as normal, italic or oblique.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
SyntaxPublic Enumeration PdfFontStyle
Members| Member name | Value | Description |
|---|
| Normal | 0 |
The characters are upright.
|
| Oblique | 1 |
The characters are artificially slanted.
The slant is achieved by performing a shear transformation on the characters from a normal font.
When a true italic font is not available on a computer or printer, an oblique style can be generated from the normal font and used to simulate an italic font.
|
| Italic | 2 |
The characters are truly slanted and appear as they were designed.
|
Remarks
The
PdfFontStyle fields correspond to the
fsSelection definition in the OpenType specification. if
fsSelection bit 9 is set, font style is
Oblique; otherwise, if
fsSelection bit 0 is set, font style is
Italic; otherwise, font style is
Normal.
See Also