Package org.xhtmlrenderer.css.style
Class FontSizeHelper
java.lang.Object
org.xhtmlrenderer.css.style.FontSizeHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final PropertyValue
private static final PropertyValue
private static final Map
<IdentValue, PropertyValue> private static final Map
<IdentValue, PropertyValue> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyValue
getDefaultRelativeFontSize
(IdentValue fontSize) static IdentValue
getNextLarger
(IdentValue absFontSize) static IdentValue
getNextSmaller
(IdentValue absFontSize) private static boolean
isMonospace
(String[] fontFamilies) static PropertyValue
resolveAbsoluteFontSize
(IdentValue fontSize, String[] fontFamilies)
-
Field Details
-
PROPORTIONAL_FONT_SIZES
-
FIXED_FONT_SIZES
-
DEFAULT_SMALLER
-
DEFAULT_LARGER
-
-
Constructor Details
-
FontSizeHelper
public FontSizeHelper()
-
-
Method Details
-
getNextSmaller
-
getNextLarger
-
resolveAbsoluteFontSize
-
getDefaultRelativeFontSize
-
isMonospace
-