Lines 3954-3966
Link Here
|
3954 |
{ |
3954 |
{ |
3955 |
/* Use the left or right end of the run */ |
3955 |
/* Use the left or right end of the run */ |
3956 |
if (iter->ltr) |
3956 |
if (iter->ltr) |
3957 |
return iter->run->item->offset + iter->run->item->length; |
3957 |
return iter->run->item->length; |
3958 |
else |
3958 |
else |
3959 |
return iter->run->item->offset; |
3959 |
return 0; |
3960 |
} |
3960 |
} |
3961 |
else |
3961 |
else |
3962 |
{ |
3962 |
{ |
3963 |
return iter->run->item->offset + gs->log_clusters[iter->next_cluster_start]; |
3963 |
return gs->log_clusters[iter->next_cluster_start]; |
3964 |
} |
3964 |
} |
3965 |
} |
3965 |
} |
3966 |
|
3966 |
|
Lines 4213-4219
Link Here
|
4213 |
|
4213 |
|
4214 |
gs = iter->run->glyphs; |
4214 |
gs = iter->run->glyphs; |
4215 |
|
4215 |
|
4216 |
next_cluster_index = cluster_end_index (iter); |
4216 |
next_cluster_index = iter->run->item->offset + cluster_end_index (iter); |
4217 |
|
4217 |
|
4218 |
oldp = iter->layout->text + iter->index; |
4218 |
oldp = iter->layout->text + iter->index; |
4219 |
|
4219 |
|