mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-22 23:10:20 +01:00
PDF: Fix glyph positioning bug
This commit is contained in:
parent
bb76eb508b
commit
f6509933a4
1 changed files with 1 additions and 1 deletions
|
|
@ -946,7 +946,7 @@ _cairo_pdf_operators_show_glyphs (cairo_pdf_operators_t *pdf_operators,
|
|||
_cairo_output_stream_printf (word_wrap_stream,
|
||||
"%f %f Td ",
|
||||
(glyphs[i].x - Tlm_x)/scaled_font->scale.xx,
|
||||
(glyphs[i].y - Tlm_y)/-scaled_font->scale.yy);
|
||||
(glyphs[i].y - Tlm_y)/scaled_font->scale.yy);
|
||||
Tlm_x = glyphs[i].x;
|
||||
Tlm_y = glyphs[i].y;
|
||||
Tm_x = Tlm_x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue