PdfSharp.Fonts.OpenType.GlyphDataTable.GetGlyphSize C# (CSharp) Method

GetGlyphSize() public method

Gets the size of the byte array that defines the glyph.
public GetGlyphSize ( int glyph ) : int
glyph int
return int
    public int GetGlyphSize(int glyph)
    {
      IndexToLocationTable loca = this.fontData.loca;
      return GetOffset(glyph + 1) - GetOffset(glyph);
    }