third_party/cairo/src/cairo-pdf-operators.c
static cairo_status_t
_cairo_pdf_operators_emit_glyph_string (cairo_pdf_operators_t   *pdf_operators,
					cairo_output_stream_t  	*stream)
{
    int i;

    _cairo_output_stream_printf (stream, "%s", pdf_operators->is_latin ? "(" : "<");
    for (i = 0; i < pdf_operators->num_glyphs; i++) {
	_cairo_pdf_operators_emit_glyph_index (pdf_operators,
					       stream,
					       pdf_operators->glyphs[i].glyph_index);
	pdf_operators->cur_x += pdf_operators->glyphs[i].x_advance;
    }
    _cairo_output_stream_printf (stream, "%sTj\n", pdf_operators->is_latin ? ")" : ">");

    return _cairo_output_stream_get_status (stream);
}
/* Emit the string of glyphs using the 'Tj' operator. This requires
 * that the glyphs are positioned at their natural glyph advances. */
Emit the string of glyphs using the 'Tj' operator. This requires
that the glyphs are positioned at their natural glyph advances.
Emit the string of glyphs using the ' Tj ' operator . This requires that the glyphs are positioned at their natural glyph advances .
static cairo_status_t
_cairo_pdf_operators_emit_glyph_string (cairo_pdf_operators_t   *pdf_operators,
					cairo_output_stream_t  	*stream)
{
    int i;
    _cairo_output_stream_printf (stream, "%s", pdf_operators->is_latin ? "(" : "<");
    for (i = 0; i < pdf_operators->num_glyphs; i++) {
	_cairo_pdf_operators_emit_glyph_index (pdf_operators,
					       stream,
					       pdf_operators->glyphs[i].glyph_index);
	pdf_operators->cur_x += pdf_operators->glyphs[i].x_advance;
    }
    _cairo_output_stream_printf (stream, "%sTj\n", pdf_operators->is_latin ? ")" : ">");
    return _cairo_output_stream_get_status (stream);
}
static cairo_status_t _cairo_pdf_operators_emit_glyph_string ( cairo_pdf_operators_t * pdf_operators , cairo_output_stream_t * stream ) { int i ; _cairo_output_stream_printf ( stream , " " , pdf_operators -> is_latin ? " " : " " ) ; for ( i = 0 ; i < pdf_operators -> num_glyphs ; i ++ ) { _cairo_pdf_operators_emit_glyph_index ( pdf_operators , stream , pdf_operators -> glyphs [ i ] . glyph_index ) ; pdf_operators -> cur_x += pdf_operators -> glyphs [ i ] . x_advance ; } _cairo_output_stream_printf ( stream , " \n " , pdf_operators -> is_latin ? " " : " " ) ; return _cairo_output_stream_get_status ( stream ) ; }
Emit the string of glyphs using the 'Tj' operator.
Emit the string of glyphs using the ' Tj ' operator .