Package com.itextpdf.io.font.constants
Class FontStretches
java.lang.Object
com.itextpdf.io.font.constants.FontStretches
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
fromOpenTypeWidthClass
(int fontWidth) Convert from Open Type font width class notation.
-
Field Details
-
ULTRA_CONDENSED
- See Also:
-
EXTRA_CONDENSED
- See Also:
-
CONDENSED
- See Also:
-
SEMI_CONDENSED
- See Also:
-
NORMAL
- See Also:
-
SEMI_EXPANDED
- See Also:
-
EXPANDED
- See Also:
-
EXTRA_EXPANDED
- See Also:
-
ULTRA_EXPANDED
- See Also:
-
-
Method Details
-
fromOpenTypeWidthClass
Convert from Open Type font width class notation.https://www.microsoft.com/typography/otspec/os2.htm#wdc
- Parameters:
-
fontWidth
- Open Type font width. - Returns:
-
one of the
FontStretches
constants.
-