~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/libnrtype/Layout-TNG-Compute.cpp

  • Committer: Ted Gould
  • Date: 2008-11-21 05:24:08 UTC
  • Revision ID: ted@canonical.com-20081121052408-tilucis2pjrrpzxx
MergeĀ fromĀ fe-moved

Show diffs side-by-side

added added

removed removed

Lines of Context:
615
615
                            iter_source_text++;
616
616
                            char_index_in_unbroken_span++;
617
617
                            char_byte = iter_source_text.base() - unbroken_span.input_stream_first_character.base();
618
 
                            glyph_rotate = 0.0;
619
618
                        }
620
619
 
621
620
                        advance_width *= direction_sign;
1014
1013
                    if (text_source->dy.size() > char_index_in_source) new_span.dx = text_source->dy[char_index_in_source];
1015
1014
                }
1016
1015
                if (text_source->rotate.size() > char_index_in_source) new_span.rotate = text_source->rotate[char_index_in_source];
 
1016
                else if (char_index_in_source == 0) new_span.rotate = 0.f;
1017
1017
                if (input_index == 0 && para->unbroken_spans.empty() && !new_span.y._set && _flow._input_wrap_shapes.empty()) {
1018
1018
                    // if we don't set an explicit y some of the automatic wrapping code takes over and moves the text vertically
1019
1019
                    // so that the top of the letters is at zero, not the baseline