|
|
|
@ -58,7 +58,7 @@ struct AttachList |
|
|
|
|
const AttachPoint &points = this+attachPoint[index]; |
|
|
|
|
|
|
|
|
|
if (point_count) { |
|
|
|
|
const USHORT *array = points.const_sub_array (start_offset, point_count); |
|
|
|
|
const USHORT *array = points.sub_array (start_offset, point_count); |
|
|
|
|
unsigned int count = *point_count; |
|
|
|
|
for (unsigned int i = 0; i < count; i++) |
|
|
|
|
point_array[i] = array[i]; |
|
|
|
@ -196,7 +196,7 @@ struct LigGlyph |
|
|
|
|
int *caret_array /* OUT */) const |
|
|
|
|
{ |
|
|
|
|
if (caret_count) { |
|
|
|
|
const OffsetTo<CaretValue> *array = carets.const_sub_array (start_offset, caret_count); |
|
|
|
|
const OffsetTo<CaretValue> *array = carets.sub_array (start_offset, caret_count); |
|
|
|
|
unsigned int count = *caret_count; |
|
|
|
|
for (unsigned int i = 0; i < count; i++) |
|
|
|
|
caret_array[i] = (this+array[i]).get_caret_value (context, glyph_id); |
|
|
|
|