mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 23:58:25 +02:00
[PS] Set correct ImageMatrix in _cairo_ps_surface_emit_bitmap_glyph_data
which should be set to device_transform_inverse, not device_transform. Moreover, no negation is needed anymore, as that has been working around the inverse matrix :-).
This commit is contained in:
parent
91eb56998c
commit
d47388ad75
1 changed files with 6 additions and 6 deletions
|
|
@ -566,12 +566,12 @@ _cairo_ps_surface_emit_bitmap_glyph_data (cairo_ps_surface_t *surface,
|
|||
" /BitsPerComponent 1\n",
|
||||
image->width,
|
||||
image->height,
|
||||
image->base.device_transform.xx,
|
||||
image->base.device_transform.yx,
|
||||
image->base.device_transform.xy,
|
||||
image->base.device_transform.yy,
|
||||
image->base.device_transform.x0,
|
||||
- image->base.device_transform.y0);
|
||||
image->base.device_transform_inverse.xx,
|
||||
image->base.device_transform_inverse.yx,
|
||||
image->base.device_transform_inverse.xy,
|
||||
image->base.device_transform_inverse.yy,
|
||||
image->base.device_transform_inverse.x0,
|
||||
image->base.device_transform_inverse.y0);
|
||||
|
||||
_cairo_output_stream_printf (surface->final_stream,
|
||||
" /DataSource {<");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue