- May 27, 2020
-
-
Albert Astals Cid authored
-
- May 26, 2020
-
-
Albert Astals Cid authored
otherwise we have uninitialized memory when asking for getKind() I mean we have it anyway, but it is understood that if isOk is false any further question you make is allowed to misbehave
-
- May 23, 2020
-
-
Albert Astals Cid authored
-
sgerwk authored
-
sgerwk authored
-
Philipp Knechtges authored
This patch as said replaces the manual ref counting in GfxColorTransform. Along the lines it also introduces another shared_ptr for cmsHPROFILEs, which is named GfxLCMSProfilePtr.
-
Albert Astals Cid authored
Otherwise asking for tb_font_info->glyph_to_cache_index.size() always returns 0
-
- May 21, 2020
-
-
Albert Astals Cid authored
-
Philipp Knechtges authored
Add a runtime check.
-
Philipp Knechtges authored
-
Adrian Johnson authored
When printing PDFs that use ICC based colors, Poppler always uses the alternate color space in the PostScript output (usually DeviceRGB or DeviceCMYK). The attached patch will use the ICC profile color space in the PS output. Most of the patch is modifying GfxColorTransform and callers to store the source profile as well as the transform. The GfxICCBasedColorSpace class has a new method, getPostScriptCSA(), which uses the LCMS function cmsGetPostScriptCSA() to generate the CIEBased color space dictionary equivalent to the ICC profile. Based on patch from issue #125.
-
Philipp Knechtges authored
This reverts commit 8c8e0a14.
-
- May 19, 2020
-
-
Albert Astals Cid authored
-
suzuki toshiya authored
* add new API, page::text_list(int opt_flag). The old one taking no argument is kept for ABI compatibility. The opt_flag is a bitmask-multiple of the new enum, page::text_list_option_enum. * text_box.m_data->text_box_font is an unique pointer to the storage (if text_list() requests the font info), or just a null pointer (if text_list() does not request the font info). * new option "--show-text-list-with-font" showing font info, to tests/poppler-dump.cpp. "--show-text-list" does not load the font info at all. Co-authored-by: Adam Reichold <adam.reichold@t-online.de> Co-authored-by: Albert Astals Cid <aacid@kde.org>
-
Albert Astals Cid authored
We already have a boolean font_info_cache_initialized, no need to guess the initialization result by the size of initialized cache.
-
Albert Astals Cid authored
-
suzuki toshiya authored
[cpp] introduce a boolean font_info_cache_initialized, to distinguish an initialized-but-empty cache from the uninitialized cache Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
-
Adam Reichold authored
[cpp] construct a font_iterator instance in the local storage of page_private::init_font_info_cache() method, instead of the heap
-
Adam Reichold authored
[cpp] remove wrong warning note for about the std::string object returned by text_box::get_font_name()
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
suzuki toshiya authored
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
- May 18, 2020
-
-
Marek Kasik authored
Add ability to reset FormField class, its descendants and Form class. This takes hierarchy into account so that resetting a field resets also its children. If exclude flag is specified then all fields are reset except those which are listed in Fields key. FormFieldText set DV key as its V key if DV is available. Otherwise, it just removes the V key. FormFieldChoice unselect selected items and set the default ones if specified. FormFieldButton set default apearance state if it is available, otherwise it just removes V key (and set the state to "Off" if it is check button, which is what Adobe Reader does in this situation). FormFieldSignature is not reset. Add LinkResetForm class which stores information needed for resetting of fields of forms. Issue #225
-
- May 17, 2020
-
-
Albert Astals Cid authored
Also revert my old hack to fix rendering of bug-poppler20605.pdf since that was breaking the PS export. What my old hack did was force the font type to be one of those that read the CIDToGIDMap, what the new fix does is actually just read the CIDToGIDMap for all fonts
-
- May 13, 2020
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
- May 12, 2020
-
-
Rendering of tiling pattern which has pattern matrix moving pattern cell far away can fail on allocation of memory. This commit solves the issue by modifying of cairo pattern matrix so that its offset is closer to the path filled by the pattern. Fixes #190
-
- May 11, 2020
-
-
Oliver Sander authored
The file stroke-alpha-pattern.pdf contains a third shape. It is rendered correctly by all backends, but as the infrastructure is in place we may as well add a quick test for that.
-
Oliver Sander authored
-
Oliver Sander authored
Fixes: poppler/poppler#178
-
Oliver Sander authored
-
- May 09, 2020
-
-
Evgeny Stambulchik authored
-
- May 02, 2020
-
-
Oliver Sander authored
Issue poppler/poppler#894 sports a file with a diagonal tiling pattern matrices with diagonal entries in the range of 5e-4. While entries of this size are unusual but okay, the determinant is below the rather arbitrary threshold of 1e-6. Therefore, poppler decided that the matrix is singular and aborts the rendering. Fix this by really only aborting if inverting the determinant (which is the first thing that is being done with it) results in a non-finite number. As a side effect the code now also allows pattern matrices with a negative determinant. This does not seem to appear in the wild all that often, but I didn't find anything in the spec that rules it out. BUG: poppler/poppler#894
-
- Apr 27, 2020
-
-
Albert Astals Cid authored
-
- Apr 25, 2020
-
-
Nelson Benítez León authored
previously poppler_page_get_annot_mapping() function was ignoring to rotate annots flagged as 'flagNoRotate' probably because they require a special rotation where the annotation pivots on the upper left corner, as described in PDF 1.7 spec "8.4.2 Annotation Flags" NoRotate flag. Added support for that, while refactoring the code to make it more readable. Fixes #767
-
- Apr 23, 2020
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Returns all the signatures of a given document, this is better than iterating over all the pages getting the form fields that are of signature type since there's documents with signatures not associated to a given page Fixes part of #895
-