Class AsciiDocFont

java.lang.Object
pro.verron.asciidoc.converters.svg.AsciiDocFont

public final class AsciiDocFont extends Object
Utility class for font management in AsciiDoc previews.
  • Method Details

    • getAwtFont

      public static Font getAwtFont(Theme theme, int fontSize, int weight)
      Returns an AWT Font for metrics calculations.
      Parameters:
      theme - target editor theme
      fontSize - font size
      weight - font weight (e.g. 400, 700)
      Returns:
      AWT Font