public final class FontStretches extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONDENSED |
static String |
EXPANDED |
static String |
EXTRA_CONDENSED |
static String |
EXTRA_EXPANDED |
static String |
NORMAL |
static String |
SEMI_CONDENSED |
static String |
SEMI_EXPANDED |
static String |
ULTRA_CONDENSED |
static String |
ULTRA_EXPANDED |
Modifier and Type | Method and Description |
---|---|
static String |
fromOpenTypeWidthClass(int fontWidth)
Convert from Open Type font width class notation.
|
public static final String ULTRA_CONDENSED
public static final String EXTRA_CONDENSED
public static final String CONDENSED
public static final String SEMI_CONDENSED
public static final String NORMAL
public static final String SEMI_EXPANDED
public static final String EXPANDED
public static final String EXTRA_EXPANDED
public static final String ULTRA_EXPANDED
public static String fromOpenTypeWidthClass(int fontWidth)
https://www.microsoft.com/typography/otspec/os2.htm#wdc
fontWidth
- Open Type font width.
FontStretches
constants.
Copyright © 1998–2020 iText Group NV. All rights reserved.