Class CompoundFontIdentifier

    • Constructor Detail

      • CompoundFontIdentifier

        public CompoundFontIdentifier​(FontIdentifier identifier,
                                      FontRegistry registry,
                                      boolean boldSpecified,
                                      boolean italicsSpecified)
    • Method Detail

      • isBoldSpecified

        public boolean isBoldSpecified()
      • isItalicsSpecified

        public boolean isItalicsSpecified()
      • isScalable

        public boolean isScalable()
        Description copied from interface: FontIdentifier
        Defines, whether the font identifier represents a scalable font type. Such fonts usually create one font metric object for each physical font, and apply the font size afterwards.
        Specified by:
        isScalable in interface FontIdentifier
        Returns:
        true, if the font is scalable, false otherwise
      • getFontType

        public FontType getFontType()
        Description copied from interface: FontIdentifier
        Returns the general type of this font identifier. This is for debugging, not for the real world.
        Specified by:
        getFontType in interface FontIdentifier
        Returns: