зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1711064 - Cherry-pick fix from upstream cairo to resolve missing objects in generated PDF's xref table. r=jrmuizel
See https://gitlab.freedesktop.org/cairo/cairo/-/issues/487 for details. This was merged upstream in
2edcb1ac23
;
Differential Revision: https://phabricator.services.mozilla.com/D116694
This commit is contained in:
Родитель
d0aae5dbdc
Коммит
0e98585b83
|
@ -1380,7 +1380,8 @@ _cairo_pdf_interchange_write_document_objects (cairo_pdf_surface_t *surface)
|
|||
cairo_tag_stack_structure_type_t tag_type;
|
||||
|
||||
tag_type = _cairo_tag_stack_get_structure_type (&ic->analysis_tag_stack);
|
||||
if (tag_type == TAG_TREE_TYPE_TAGGED || tag_type == TAG_TREE_TYPE_STRUCTURE) {
|
||||
if (tag_type == TAG_TREE_TYPE_TAGGED || tag_type == TAG_TREE_TYPE_STRUCTURE ||
|
||||
tag_type == TAG_TREE_TYPE_LINK_ONLY) {
|
||||
|
||||
status = cairo_pdf_interchange_write_parent_tree (surface);
|
||||
if (unlikely (status))
|
||||
|
|
Загрузка…
Ссылка в новой задаче