mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 18:00:21 +01:00
[type3] Whitespace.
Tightly scope the output stream.
This commit is contained in:
parent
08f4d49a94
commit
8457972d40
1 changed files with 2 additions and 1 deletions
|
|
@ -445,7 +445,6 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface,
|
|||
cairo_scaled_glyph_t *scaled_glyph;
|
||||
cairo_status_t status, status2;
|
||||
double x_advance, y_advance;
|
||||
cairo_output_stream_t *mem_stream;
|
||||
cairo_matrix_t font_matrix_inverse;
|
||||
|
||||
_cairo_type3_glyph_surface_set_stream (surface, stream);
|
||||
|
|
@ -495,6 +494,8 @@ _cairo_type3_glyph_surface_emit_glyph (void *abstract_surface,
|
|||
- _cairo_fixed_to_double (bbox->p1.y));
|
||||
|
||||
if (status == CAIRO_STATUS_SUCCESS) {
|
||||
cairo_output_stream_t *mem_stream;
|
||||
|
||||
mem_stream = _cairo_memory_stream_create ();
|
||||
_cairo_type3_glyph_surface_set_stream (surface, mem_stream);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue