Interface FontMappings

  • All Known Implementing Classes:
    DefaultFontMappings

    public interface FontMappings
    Font mappings.
    • Method Detail

      • applicableTo

        FontMappings applicableTo​(LocalePair pair)
        Returns applicable font mappings to a language pair.
        Parameters:
        pair - The language pair
        Returns:
        The applicable font mappings to the language pair
      • targetFontFor

        String targetFontFor​(String sourceFont)
        Returns a target font for a source font.
        Parameters:
        sourceFont - The source font
        Returns:
        The target font
      • addFrom

        void addFrom​(FontMappings.Input input)
        Adds font mappings from input.
        Parameters:
        input - The font mappings input to add from
      • writtenTo

        <T> T writtenTo​(FontMappings.Output<T> output)
        Obtains the font mappings output with the written font mappings to it.
        Parameters:
        output - The output
        Returns:
        The output with the written font mappings