mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-04 00:20:37 +02:00
pdf-operators: fix bug with RTL text
bug 86461
This commit is contained in:
parent
fe6b1db26c
commit
650d044dfd
1 changed files with 5 additions and 1 deletions
|
|
@ -1415,7 +1415,11 @@ _cairo_pdf_operators_emit_cluster (cairo_pdf_operators_t *pdf_operators,
|
|||
return status;
|
||||
}
|
||||
|
||||
cur_glyph = glyphs;
|
||||
if (cluster_flags & CAIRO_TEXT_CLUSTER_FLAG_BACKWARD)
|
||||
cur_glyph = glyphs + num_glyphs - 1;
|
||||
else
|
||||
cur_glyph = glyphs;
|
||||
|
||||
/* XXX
|
||||
* If no glyphs, we should put *something* here for the text to be selectable. */
|
||||
for (i = 0; i < num_glyphs; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue