Interface FontSource

  • All Known Implementing Classes:
    BasicFontSource

    public interface FontSource
    Something from which a Font can be created.
    • Method Detail

      • getFontSourceAttributeSet

        FontAttributeSet getFontSourceAttributeSet()
        Retrieve information about the Font which can be created from this FontSource, such as its name or styles. While it is expected that the resulting Font will supply information congruent with the information supplied here, this is not always the case, either intentionally or due to errors.
        Returns:
        set of information items characterizing the Font to be created from this FontSource
      • getFontStreamProvider

        FontStreamProvider getFontStreamProvider()
        Returns:
        an object providing access to a font persisted as a stream.