- May 01, 2024
-
-
Albert Astals Cid authored
-
- Apr 23, 2024
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
- Apr 22, 2024
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Allows us increasing the min freetype
-
Albert Astals Cid authored
-
Albert Astals Cid authored
oss-fuzz/57874
-
Albert Astals Cid authored
utf16ToUtf8 expects a null ended string
-
-
Albert Astals Cid authored
-
- Apr 21, 2024
-
-
-
Albert Astals Cid authored
This way people building from master can adapt to the new API already
-
Oliver Sander authored
The condition u[i] < 0x7F was checked twice.
-
- Apr 20, 2024
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
Issue reported and patch suggestion by Samad Koita and Aviral Agarwal Fixes issue #1477
-
Albert Astals Cid authored
-
According to the postscript spec, only DSC Comments are allowed in the header. %%Creator is the header for the software used to generate the postscript file, which is pdftops in this case, and not as such the generator for the pdf file. I've chosen to, if available, keep the pdf creator as a substring in the %%Creator field. Originates in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068307
-
-
... and rename it to prependUnicodeByteOrderMark. Now all unicode code has moved from GooString.h to UTF.h.
-
... and rename it to hasUnicodeByteOrderMarkLE. This allows to replace GooString by std::string in a few places. (In a future commit)
-
... and rename it to hasUnicodeByteOrderMark. This allows to replace GooString by std::string in a few places. (In a future commit)
-
- Apr 09, 2024
-
-
Albert Astals Cid authored
-
- Apr 08, 2024
-
-
When centering vertically we calculate the y offset based on the height of the text and the annotation When doing that we must ignore the border width, otherwise the text is offset downwards
-
The border reduces the available height, so take it into account for the height too, not only the width
-
- Apr 07, 2024
-
-
TextOutputDev::getText expects rotated coordinates, e.g. the correct bounds for an A4 Landscape page are {0, 0, 842, 595}.
-
Currently, the "Lanscape" with default page rectangle test fails, as the page orientation is not taken into account. (Seascape is also incorrect, but as the text lies inside the unrotated A4 cropbox rectangle (bottom left), the text is extracted.)
-
The unit tests only covered extraction from the whole page, make sure the various cases for smaller selections are also covered.
-
- Apr 06, 2024
-
-
Nelson Benítez León authored
When 'CIDSystemInfo' dictionary is absent or has invalid content, instead of aborting the font because we cannot read the character collection, let's assume in that case character collection to be "Adobe-Identity". Fixes #1465 - Does not show text of Apple-edited PDFs
-
- Apr 05, 2024
-
-
Albert Astals Cid authored
-
- Apr 04, 2024
-
-
Oliver Sander authored
Use std::string::clear instead. The only difference between the two is that GooString::clear returns the empty string, whereas std::string::clear does not. But apparently this feature of GooString::clear was not used anywhere.
-
Starting with C++20, the std::string class has methods starts_with and ends_with, which do the same thing. Use those instead.
-
- Apr 03, 2024
-
-
Albert Astals Cid authored
-
Albert Astals Cid authored
-
Linux User authored
Deprecated `char_traits` template has been removed in LLVM 19
-
- Apr 01, 2024
-
-
StefanBruens authored
A custom target with ALL is always generated, even if the files/outputs specified with DPENDS are not changed. This can be solved by generating the POT files with a custom_command. The target triggers evaluation of the custom_command, but the latter will only be run if the dependencies have changed. Fixes #1479
-
Albert Astals Cid authored
-
- Mar 31, 2024
-
-
According to the specification, see NOTE 2 in https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G7.3882161 it appears that the clipping path should be reset when the restore (Q) operator is encountered. Fixes #739
-
Albert Astals Cid authored
-
Albert Astals Cid authored
I want to use std::string::starts_with
-
Albert Astals Cid authored
-