Name
cglyphs:Get -- get glyph index and offset
Synopsis
index, x, y = cglyphs:Get(n)
Function
Returns information about the glyph at index n in the glyphs array. The index return value specifies the glyph index in the font. The exact interpretation of the glyph index depends on the font technology being used. x and y specify the offset in the X and Y direction between the origin used for drawing or measuring the string and the origin of this glyph.

Inputs
n
which glyph to get
Results
index
glyph ID
x
x offset of the glyph
y
y offset of the glyph

Show TOC