Class FontFeaturesData

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class FontFeaturesData
    extends FeaturesData
    Features data of a font for feature extractor
    Author:
    Maksim Bezrukov
    • Method Detail

      • getMetadata

        public InputStream getMetadata()
        Returns:
        InputStream metadata stream
      • getFontName

        public String getFontName()
        Returns:
        parameter FontName from the font descriptor dictionary
      • getFontFamily

        public String getFontFamily()
        Returns:
        parameter FontFamily from the font descriptor dictionary
      • getFontStretch

        public String getFontStretch()
        Returns:
        parameter FontStretch from the font descriptor dictionary
      • getFontWeight

        public Double getFontWeight()
        Returns:
        parameter FontWeight from the font descriptor dictionary
      • getFlags

        public Integer getFlags()
        Returns:
        parameter Flags from the font descriptor dictionary
      • getFontBBox

        public List<Double> getFontBBox()
        Returns:
        parameter FontBBox from the font descriptor dictionary
      • getItalicAngle

        public Double getItalicAngle()
        Returns:
        parameter ItalicAngle from the font descriptor dictionary
      • getAscent

        public Double getAscent()
        Returns:
        parameter Ascent from the font descriptor dictionary
      • getDescent

        public Double getDescent()
        Returns:
        parameter Descent from the font descriptor dictionary
      • getLeading

        public Double getLeading()
        Returns:
        parameter Leading from the font descriptor dictionary
      • getCapHeight

        public Double getCapHeight()
        Returns:
        parameter CapHeight from the font descriptor dictionary
      • getXHeight

        public Double getXHeight()
        Returns:
        parameter XHeight from the font descriptor dictionary
      • getStemV

        public Double getStemV()
        Returns:
        parameter StemV from the font descriptor dictionary
      • getStemH

        public Double getStemH()
        Returns:
        parameter StemH from the font descriptor dictionary
      • getAvgWidth

        public Double getAvgWidth()
        Returns:
        parameter AvgWidth from the font descriptor dictionary
      • getMaxWidth

        public Double getMaxWidth()
        Returns:
        parameter MaxWidth from the font descriptor dictionary
      • getMissingWidth

        public Double getMissingWidth()
        Returns:
        parameter MissingWidth from the font descriptor dictionary
      • getCharSet

        public String getCharSet()
        Returns:
        parameter CharSet from the font descriptor dictionary