Class AbstractOutputProcessorMetaData.ReusableFontContext

  • All Implemented Interfaces:
    Enclosing class:

    protected static class AbstractOutputProcessorMetaData.ReusableFontContext
    extends Object
    implements org.pentaho.reporting.libraries.fonts.registry.FontContext
    • Constructor Detail

      • ReusableFontContext

        protected ReusableFontContext()
    • Method Detail

      • isEmbedded

        public boolean isEmbedded()
        Specified by:
        isEmbedded in interface org.pentaho.reporting.libraries.fonts.registry.FontContext
      • setEmbedded

        public void setEmbedded​(boolean embedded)
      • getEncoding

        public String getEncoding()
        Specified by:
        getEncoding in interface org.pentaho.reporting.libraries.fonts.registry.FontContext
      • setEncoding

        public void setEncoding​(String encoding)
      • setAntiAliased

        public void setAntiAliased​(boolean antiAliased)
      • setFontSize

        public void setFontSize​(double fontSize)
      • isAntiAliased

        public boolean isAntiAliased()
        This is controlled by the output target and the stylesheet. If the output target does not support aliasing, it makes no sense to enable it and all such requests are ignored.
        Specified by:
        isAntiAliased in interface org.pentaho.reporting.libraries.fonts.registry.FontContext
      • isFractionalMetrics

        public boolean isFractionalMetrics()
        This is defined by the output target. This is not controlled by the stylesheet.
        Specified by:
        isFractionalMetrics in interface org.pentaho.reporting.libraries.fonts.registry.FontContext
      • getFontSize

        public double getFontSize()
        The requested font size. A font may have a fractional font size (ie. 8.5 point). The font size may be influenced by the output target.
        Specified by:
        getFontSize in interface org.pentaho.reporting.libraries.fonts.registry.FontContext
        the font size.