Searched refs:letter_spacing (Results 1 - 8 of 8) sorted by relevance

/inkscape/src/
H A Dtext-editing.cpp1162 if (style->letter_spacing.value != 0 && style->letter_spacing.computed == 0) { // set in em or ex
1163 if (style->letter_spacing.unit == SP_CSS_UNIT_EM) {
1164 val = style->font_size.computed * style->letter_spacing.value;
1165 } else if (style->letter_spacing.unit == SP_CSS_UNIT_EX) {
1166 val = style->font_size.computed * style->letter_spacing.value * 0.5;
1171 val = style->letter_spacing.computed;
1193 style->letter_spacing.normal = FALSE;
1194 if (style->letter_spacing.value != 0 && style->letter_spacing
[all...]
H A Dstyle.h138 SPILengthOrNormal letter_spacing; member in class:SPStyle
H A Ddesktop-style.cpp1088 if (style->letter_spacing.normal) {
1093 letterspacing += style->letter_spacing.computed * doc_scale;; /// \todo FIXME: we assume non-% units here
1138 (letterspacing_prev != 0 && style->letter_spacing.computed != letterspacing_prev) ||
1152 letterspacing_prev = style->letter_spacing.computed;
1177 style_res->letter_spacing.normal = letterspacing_normal;
1178 style_res->letter_spacing.computed = letterspacing;
H A Dstyle.cpp134 letter_spacing( "letter-spacing", 0.0 ), // SPILengthOrNormal
258 letter_spacing.setStylePointer( this );
318 _properties.push_back( &letter_spacing );
413 // _propmap.insert( std::make_pair( letter_spacing.name, reinterpret_cast<SPIBasePtr>(&SPStyle::letter_spacing ) ) );
772 letter_spacing.readIfUnset( val );
H A Dsp-text.cpp646 style->letter_spacing.computed *= ex;
/inkscape/src/libnrtype/
H A DLayout-TNG-Compute.cpp155 double letter_spacing; // Save so we can subtract from width at end of line (for center justification) member in struct:Inkscape::Text::Layout::Calculator::BrokenSpan
385 char_width += text_source->style->letter_spacing.computed * _flow.getTextLengthMultiplierDue();
404 // Width should not include letter_spacing (or word_spacing) after last letter at end of line.
406 double test_width = span->width - text_source->style->letter_spacing.computed;
408 // Save letter_spacing and word_spacing for subtraction later if span is last span in line.
409 span->letter_spacing = text_source->style->letter_spacing.computed;
834 advance_width += text_source->style->letter_spacing.computed * _flow.getTextLengthMultiplierDue();
942 letter_spacing = 0.0;
1662 chunk_info->back().broken_spans.back().width -= chunk_info->back().broken_spans.back().letter_spacing;
[all...]
H A DLayout-TNG-OutIter.cpp613 dx -= style->letter_spacing.computed * getTextLengthMultiplierDue();
/inkscape/src/widgets/
H A Dtext-toolbar.cpp98 << " LetterSpacing: " << query->letter_spacing.computed
1336 if (query.letter_spacing.normal) letterSpacing = 0.0;
1337 else letterSpacing = query.letter_spacing.computed; // Assume no units (change in desktop-style.cpp)
1399 std::cout << " GUI: letter_spacing.computed: " << query.letter_spacing.computed
1400 << " letter_spacing.value: " << query.letter_spacing.value
1401 << " letter_spacing.unit: " << query.letter_spacing.unit << std::endl;

Completed in 2887 milliseconds