summaryrefslogtreecommitdiff
path: root/test/pdf-tagged-text.c
Commit message (Collapse)AuthorAgeFilesLines
* Make cairo_tag_begin/end work correctly in groupsAdrian Johnson2023-04-181-15/+47
| | | | Fixes #508
* pdf-tagged-text depends on PDFAdrian Johnson2023-01-151-0/+5
|
* pdf: ensure filenames are correctly encodedAdrian Johnson2022-01-161-0/+6
|
* Merge branch 'custom-metadata' into 'master'Adrian Johnson2021-09-161-0/+6
|\ | | | | | | | | Add cairo_pdf_surface_set_custom_metadata() See merge request cairo/cairo!240
| * Add cairo_pdf_surface_set_custom_metadata()Adrian Johnson2021-08-221-0/+6
| |
* | Fix some MinGW warningsAdrian Johnson2021-09-021-0/+2
|/ | | | | | | | | | | | | | | | | The FT change is because my MinGW build is using a more recent version of FT. Remove the disabled _cairo_win32_scaled_font_text_to_glyphs() code to fix the defined but not used warning. _cairo_win32_scaled_font_text_to_glyphs() was diabled in d9408041aa with the comment: "Currently disable the win32-font text_to_glyphs(), until that one is updated. Or better yet, remove it and implement ucs4_to_index(). It's the toy font API afterall." _cairo_win32_scaled_font_ucs4_to_index() was added in d1c619bc7d.
* Fixed compile-time error on platforms without MMAP.Rick Yorgason2021-08-011-0/+2
|
* pdf links: fix forward references to dest names with 'internal' flagAdrian Johnson2021-07-291-5/+6
|
* pdf-tagged-text: generate both 1.4 and 1.5 PDFsAdrian Johnson2021-07-281-7/+36
|
* pdf-tagged-text test: disable object stream compressionAdrian Johnson2021-07-261-0/+3
| | | | to allow the test to find the strings it is looking for.
* tags: allow links to page numbers not yet createdAdrian Johnson2021-07-241-1/+22
| | | | | | | | | | | | | Previously, forward references were required to use named destinations. This patch is based on the patch in #336 by Guillaume Ayoub <guillaume.ayoub@kozea.fr> that converted all links to indirect objects written at the end of the document. I have reworked the patch so that only forward references to future page numbers are written as indirect objects. Backward references and named destinations remain as they are. This is to minimize the number of objects written to the PDF file. Fixes #336
* Add link with a negative coordinate to testcase.Jonathan Kew2021-07-201-0/+4
|
* Add an example of a link within an empty clip to pdf-tagged-text testcase.Jonathan Kew2021-07-191-0/+20
|
* test: add URL and "rect" attribute to pdf-tagged-textAdrian Johnson2021-07-181-1/+26
|
* Add tests for PDF metadataSven Neumann2021-01-041-1/+79
| | | | | | Extend the "pdf-tagged-text" test so that it does some basic checks on the PDF file it creates. This covers the date fields as well as some other metadata. More checks can and should be added.
* pdf: use explicit dest instead of named dest when 'internal' attribute is setAdrian Johnson2017-08-291-1/+1
|
* pdf: use link attributes instead of dest name for cairo_pdf_surface_add_outlineAdrian Johnson2017-08-261-3/+9
| | | | | In PDF outline targets are specified the same way as link targets so there is no need to restrict the target to dest names.
* tests: fix bug in pdf-tagged-text that was introduced in 4790a36Adrian Johnson2017-08-191-1/+1
|
* pdf: Fix wrong cairo_pdf_outline_flags_t item prefixKouhei Sutou2017-01-051-3/+4
|
* strndup is not avuilable with MSVCAdrian Johnson2016-10-071-1/+5
|
* fix compiler warningsAdrian Johnson2016-10-041-0/+1
|
* add test for PDF document interchange features such as tagged text and linksAdrian Johnson2016-10-011-0/+397