Searched refs:char_width (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/ui/widget/
H A Dgimpspinscale.c317 gint char_width; local
321 char_width = pango_font_metrics_get_approximate_char_width (metrics);
323 char_pixels = PANGO_PIXELS (MAX (char_width, digit_width));
385 gint char_width; local
389 char_width = pango_font_metrics_get_approximate_char_width (metrics);
391 char_pixels = PANGO_PIXELS (MAX (char_width, digit_width));
/inkscape/src/libnrtype/
H A DLayout-TNG-Compute.cpp363 double char_width = 0.0; local
373 char_width += span->start.iter_span->font_size * para.pango_items[span->end.iter_span->pango_item_index].font->Advance(span->end.iter_span->glyph_string->glyphs[span->end_glyph_index].glyph, false);
376 char_width += span->start.iter_span->font_size * para.pango_items[span->end.iter_span->pango_item_index].font->Advance(span->end.iter_span->glyph_string->glyphs[span->end_glyph_index].glyph, true);
380 char_width += font_size_multiplier * span->end.iter_span->glyph_string->glyphs[span->end_glyph_index].geometry.width;
385 char_width += text_source->style->letter_spacing.computed * _flow.getTextLengthMultiplierDue();
387 char_width += text_source->style->word_spacing.computed * _flow.getTextLengthMultiplierDue();
388 char_width += _flow.getTextLengthIncrementDue();
389 span->width += char_width;
394 span->each_whitespace_width = char_width;
400 soft_hyphen_glyph_width = char_width;
[all...]

Completed in 19 milliseconds