Interface IFontConsumer

  • All Known Implementing Classes:
    BackgroundImageReference, EditorFontIconsDefinition, EditorStyles, FontIconsDefinition, ImageReference, Styles

    public interface IFontConsumer
    Interface implemented by a potential font consumer class. This class may refer to external font files, and this interface enables collection of these fonts. The fonts returned with this interface does not provide just the fonts used as several styles are not processed (for performance reasons), e.g. "inherit" and alike. In these cases, too many fonts are returned.
    Author:
    Christopher Mindus
    • Method Detail

      • collectConsumedFonts

        void collectConsumedFonts​(java.util.Set<FontConsumed> fonts)
        Collects the consumed fonts.
        Parameters:
        fonts - The set of consumed fonts is filled in by this method.