mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-08 13:00:28 +01:00
Merge branch 'jfkthame-master-patch-75366' into 'master'
[pdf-interchange] Write trees even if only LINK tags are present Closes #487 See merge request cairo/cairo!185
This commit is contained in:
commit
2edcb1ac23
1 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue