Class FontParser


  • public final class FontParser
    extends java.lang.Object
    • Constructor Detail

      • FontParser

        private FontParser()
    • Method Detail

      • stripQuotes

        @NotNull
        private static @NotNull java.lang.String stripQuotes​(@NotNull
                                                             @NotNull java.lang.String str,
                                                             char quoteChar)
      • canonicalizeFontFamily

        private static void canonicalizeFontFamily​(@NotNull
                                                   @NotNull java.lang.String[] fontFamilies)
      • parseFontSize

        @Nullable
        public static @Nullable FontSize parseFontSize​(@NotNull
                                                       @NotNull AttributeNode node)
      • parseSizeAdjust

        @Nullable
        public static @Nullable Length parseSizeAdjust​(@NotNull
                                                       @NotNull AttributeNode node)
      • parseFontStyle

        @Nullable
        static @Nullable FontStyle parseFontStyle​(@NotNull
                                                  @NotNull AttributeNode node)