Class NotoSansRegularLayout
java.lang.Object
de.xima.fc.common.text.fonts.NotoSansRegularLayout
Static methods for accessing the Noto Sans Regular layout font data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildFallbackData(OutputStream output) Builds the fallback font finder data for Noto Sans Regular.static IFallbackFontFinderfallbackFontFinder(boolean validateInputData) Creates a fallback font finder for Noto Sans Regular, with more data for other Unicode code points.static FontSpecifiermainFont()Gets the font specifier for the main Noto Sans Regular font.
-
Method Details
-
buildFallbackData
Builds the fallback font finder data for Noto Sans Regular. This may take up to several minutes to complete. Only use this when you update the font data, and store the result in the /de/xima/fc/common/font-layout/noto-sans-regular-fallback-data.bin file.- Parameters:
output- The output stream to write the fallback font finder data to.- Throws:
IOException- If an I/O error occurs while writing the data.
-
fallbackFontFinder
Creates a fallback font finder for Noto Sans Regular, with more data for other Unicode code points.- Parameters:
validateInputData- Whether to perform certain checks on the input data. May take slightly longer.- Returns:
- The fallback font finder for Noto Sans Regular.
- Throws:
IOException- If an I/O error occurs while reading the fallback font finder data.
-
mainFont
Gets the font specifier for the main Noto Sans Regular font.- Returns:
- The font specifier for the main Noto Sans Regular font.
-