Searched refs:glyph_index (Results 1 - 5 of 5) sorted by relevance

/inkscape/src/libnrtype/
H A DLayout-TNG-Output.cpp122 void Layout::_getGlyphTransformMatrix(int glyph_index, Geom::Affine *matrix) const argument
124 Span const &span = _glyphs[glyph_index].span(this);
125 double rotation = _glyphs[glyph_index].rotation;
127 _glyphs[glyph_index].orientation == ORIENTATION_SIDEWAYS ) {
136 (*matrix)[3] = -span.font_size * cos_rotation * (_glyphs[glyph_index].vertical_scale); // unscale vertically so the specified text height is preserved if lengthAdjust=spacingAndGlyphs
141 (*matrix)[4] = _lines[_chunks[span.in_chunk].in_line].baseline_y + _glyphs[glyph_index].y;
142 (*matrix)[5] = _chunks[span.in_chunk].left_x + _glyphs[glyph_index].x;
145 (*matrix)[4] = _chunks[span.in_chunk].left_x + _glyphs[glyph_index].x;
146 (*matrix)[5] = _lines[_chunks[span.in_chunk].in_line].baseline_y + _glyphs[glyph_index].y;
152 int glyph_index local
291 int glyph_index = _characters[char_index].in_glyph; local
[all...]
H A DLayout-TNG-Compute.cpp329 // if we're not at the start of the span we need to pre-init glyph_index
667 for (unsigned glyph_index = it_span->start_glyph_index ; glyph_index < it_span->end_glyph_index ; glyph_index++) {
670 if (unbroken_span.glyph_string->glyphs[glyph_index].attr.is_cluster_start){
675 if (unbroken_span.glyph_string->log_clusters[glyph_index] < (int)unbroken_span.text_bytes
677 && glyph_index + 1 != it_span->end_glyph_index) {
687 while (glyph_index < (unsigned)unbroken_span.glyph_string->num_glyphs
688 && unbroken_span.glyph_string->log_clusters[glyph_index] == (int)char_byte)
689 glyph_index
[all...]
H A DLayout-TNG-OutIter.cpp305 for (int glyph_index = _characters[char_index].in_glyph ; _glyphs[glyph_index].in_character == char_index ; glyph_index++)
306 cluster_half_width += _glyphs[glyph_index].width;
597 for (int glyph_index = _characters[prev_cluster_char_index].in_glyph ; glyph_index < _characters[char_index].in_glyph ; glyph_index++)
598 glyphs_width += _glyphs[glyph_index].width;
H A DLayout-TNG.h880 void _getGlyphTransformMatrix(int glyph_index, Geom::Affine *matrix) const;
/inkscape/src/extension/internal/
H A Dtext_reassemble.c252 \param efsp Pointer to a Pointer to the original FNT_SPECS struct. On return contains the FNT_SPECS corresponding to the glyph_index..
256 int glyph_index=0; /* this is the unknown character glyph */ local
270 glyph_index = FT_Get_Char_Index( fsp2->face, wc); /* we have the face, might as well check that directly */
271 if (glyph_index){ /* found a glyph for the character in this font */
274 return(glyph_index);
283 glyph_index = i;
315 return(glyph_index);
340 int glyph_index; local
346 glyph_index = FT_Get_Char_Index( fsp->face, wc);
347 if(!glyph_index){ /* no
[all...]

Completed in 47 milliseconds