Package com._1c.g5.v8.dt.ui.util
Class FontUtil
java.lang.Object
com._1c.g5.v8.dt.ui.util.FontUtil
Miscellaneous utilities for handling fonts for UI-related purposes.
- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Details
-
IS_ARABIC_LOCALE
public static boolean IS_ARABIC_LOCALE
-
-
Method Details
-
getDefaultFontFace
Returns default font face name, specific for current locale. -
getFontRepresentationOrDefault
ReturnsFont
representation.- Parameters:
font
- the font, can benull
- Returns:
- the font representation, never
null
-
getFontRepresentation
ReturnsFont
representation.- Parameters:
font
- the font, cannot benull
languageCode
- the language code, can benull
- Returns:
- the font representation
-