Class FontResolver

java.lang.Object
com.github.weisj.jsvg.attributes.font.FontResolver

public final class FontResolver extends Object
  • Constructor Details

    • FontResolver

      private FontResolver()
  • Method Details

    • clearFontCache

      public static void clearFontCache()
    • resolve

      @NotNull public static @NotNull SVGFont resolve(@NotNull @NotNull MeasurableFontSpec fontSpec, @NotNull @NotNull MeasureContext measureContext)
    • resolveWithoutCache

      @NotNull public static @NotNull SVGFont resolveWithoutCache(@NotNull @NotNull MeasurableFontSpec fontSpec, @NotNull @NotNull MeasureContext measureContext)
    • cssWeightToAwtWeight

      private static float cssWeightToAwtWeight(float weight)
    • findSupportedFontFamily

      @NotNull private static @NotNull String findSupportedFontFamily(@NotNull @NotNull MeasurableFontSpec fontSpec)
    • supportedFonts

      @NotNull public static @NotNull List<@NotNull String> supportedFonts()