addSegment function
dynamic
addSegment(
- dynamic t,
- dynamic code,
- dynamic glyphIndex
Implementation
addSegment(t, code, glyphIndex) {
t.segments.push({
"end": code,
"start": code,
"delta": -(code - glyphIndex),
"offset": 0,
"glyphIndex": glyphIndex
});
}