Class GlyfCompositeDescript

java.lang.Object
org.ofdrw.converter.font.GlyfDescript
org.ofdrw.converter.font.GlyfCompositeDescript
All Implemented Interfaces:
org.apache.fontbox.ttf.GlyphDescription

public class GlyfCompositeDescript extends GlyfDescript
Glyph description for composite glyphs. Composite glyphs are made up of one or more simple glyphs, usually with some sort of transformation applied to each.

This class is based on code from Apache Batik a subproject of Apache XMLGraphics. see http://xmlgraphics.apache.org/batik/ for further details.

  • Field Details

  • Method Details

    • resolve

      public void resolve()
      Specified by:
      resolve in interface org.apache.fontbox.ttf.GlyphDescription
      Overrides:
      resolve in class GlyfDescript
    • getEndPtOfContours

      public int getEndPtOfContours(int i)
    • getFlags

      public byte getFlags(int i)
    • getXCoordinate

      public short getXCoordinate(int i)
    • getYCoordinate

      public short getYCoordinate(int i)
    • isComposite

      public boolean isComposite()
    • getPointCount

      public int getPointCount()
    • getContourCount

      public int getContourCount()
      Specified by:
      getContourCount in interface org.apache.fontbox.ttf.GlyphDescription
      Overrides:
      getContourCount in class GlyfDescript
    • getComponentCount

      public int getComponentCount()
      Get number of components.
      Returns:
      the number of components