diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-09-18 18:59:42 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-09-18 18:59:42 +0000 |
| commit | ddd3d527a7845b8e9d51db00847d1242ce3571cc (patch) | |
| tree | e4819b0d48edee86ffcfa606ac21f54cf4d7cee6 /src/libnrtype | |
| parent | Remove setItemBounds and _item_bbox because aren't sensible, replace with bbox. (diff) | |
| download | inkscape-ddd3d527a7845b8e9d51db00847d1242ce3571cc.tar.gz inkscape-ddd3d527a7845b8e9d51db00847d1242ce3571cc.zip | |
Merge in David Mathog (mathog) patch for bug #1224486
Fixed bugs:
- https://launchpad.net/bugs/1224486
(bzr r12529)
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Compute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index 1b2704a7e..7ea089c93 100644 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -706,7 +706,7 @@ static void dumpUnbrokenSpans(ParagraphInfo *para){ if (newcluster){ // find where the text ends for this log_cluster end_byte = it_span->start.iter_span->text_bytes; // Upper limit - for(unsigned next_glyph_index = glyph_index+1; next_glyph_index < it_span->end_glyph_index; next_glyph_index++){ + for(int next_glyph_index = glyph_index+1; next_glyph_index < unbroken_span.glyph_string->num_glyphs; next_glyph_index++){ if(unbroken_span.glyph_string->glyphs[next_glyph_index].attr.is_cluster_start){ end_byte = unbroken_span.glyph_string->log_clusters[next_glyph_index]; break; |
