Interface FontMapping

    • Method Detail

      • applicableTo

        boolean applicableTo​(LocalePair pair)
        Checks whether the font mapping is applicable to a language pair.
        Parameters:
        pair - The language pair
        Returns:
        true if the mapping is applicable to the language pair and false otherwise
      • applicableTo

        boolean applicableTo​(String sourceFont)
        Checks whether the font mapping is applicable to a source font.
        Returns:
        true if the mapping is applicable to the source font and false otherwise
      • targetFont

        String targetFont()
        Obtains a target font.
        Returns:
        The target font name
      • writtenTo

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