1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00
serenity/Userland/Libraries/LibPDF
Julian Offenhäuser 93062e2b78 LibPDF: Be more cautious of errors when looking for linearization dict
We would previously assume that, following the header, there must be a
valid PDF object that could be a linearization dict.

However, if the file is not linearized, this is not necessarily true.
We now try to detect if there even is an object, and don't treat
parsing errors as fatal.
2023-03-22 09:04:00 +01:00
..
Fonts LibPDF: Detect CFF encodings with supplements 2023-03-02 12:18:53 +01:00
CMakeLists.txt LibPDF: Refactor *Font classes 2023-02-24 20:16:50 +01:00
ColorSpace.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
ColorSpace.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
CommonNames.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
CommonNames.h LibPDF: Load Type1C fonts when found 2023-01-25 15:40:11 +01:00
Document.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
Document.h Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
DocumentParser.cpp LibPDF: Be more cautious of errors when looking for linearization dict 2023-03-22 09:04:00 +01:00
DocumentParser.h LibPDF: Allow reading documents with incremental updates 2023-02-12 10:55:37 +00:00
Encoding.cpp LibPDF: Add char_code -> name mapping function 2023-02-08 19:47:15 +01:00
Encoding.h LibPDF: Add char_code -> name mapping function 2023-02-08 19:47:15 +01:00
Encryption.cpp LibPDF: Fix calculation of encryption key 2023-01-04 11:10:37 -05:00
Encryption.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Error.h LibPDF: Add new error construction functions 2023-02-24 20:16:50 +01:00
Filter.cpp LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
Filter.h LibPDF: Improve error support for Filter class 2023-03-02 12:18:53 +01:00
Forward.h Everywhere: Remove unused includes of AK/StdLibExtras.h 2023-01-02 20:27:20 -05:00
Interpolation.cpp LibPDF: Add first interpolation methods 2022-12-10 10:49:03 +01:00
Interpolation.h LibPDF: Add first interpolation methods 2022-12-10 10:49:03 +01:00
Object.h LibPDF: Make Object::cast<T>() non-const 2023-02-21 00:54:04 +01:00
ObjectDerivatives.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
ObjectDerivatives.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Operator.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Parser.cpp LibTextCodec+Everywhere: Port Decoders to new Strings 2023-02-19 17:15:47 +01:00
Parser.h Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
Reader.cpp LibPDF: Check for end of stream in Reader::matches_regular_character() 2023-02-12 10:55:37 +00:00
Reader.h LibPDF: Add Reader::try_read for easier error propagation 2023-01-25 15:40:11 +01:00
Reference.h LibPDF: Extract reference bitpacking into dedicated class 2021-09-20 17:39:36 +04:30
Renderer.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
Renderer.h LibPDF: Allow show_text to return errors 2023-02-24 20:16:50 +01:00
Value.cpp Everywhere: Stop shoving things into ::std and mentioning them as such 2022-12-14 11:44:32 +01:00
Value.h Everywhere: Stop shoving things into ::std and mentioning them as such 2022-12-14 11:44:32 +01:00
XRefTable.h LibPDF: Allow reading documents with incremental updates 2023-02-12 10:55:37 +00:00