ladybird/Userland/Libraries/LibPDF
Rodrigo Tobar b3007c17bd LibPDF: Allow operators to receive optional resources
Operators usually assume that the resources its operations will require
will be the Page's. This assumption breaks however when XObjects with
their own resources come into the picture (and maybe other cases too).
In that case, the XObject's resources take precedence, but they should
also contain the Page's resources. Because of this, one can safely use
the XObject resources alone when given, and default to the Page's if
not.

This commit adds all operator calls an extra argument with optional
resources, which will be fed by XObjects as necessary.
2022-11-30 14:51:14 +01:00
..
Fonts LibPDF: Override Type 1 character mappings by encoding in font dict 2022-11-25 22:44:47 +01:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ColorSpace.cpp LibPDF: Communicate resources to ColorSpace, not Page 2022-11-30 14:51:14 +01:00
ColorSpace.h LibPDF: Communicate resources to ColorSpace, not Page 2022-11-30 14:51:14 +01:00
CommonNames.cpp LibPDF: Add Type0 and TrueType fonts 2022-03-31 18:10:45 +02:00
CommonNames.h LibPDF: Add further common names 2022-11-30 14:51:14 +01:00
Document.cpp LibPDF: Allow page objects to inherit the MediaBox and Resources entries 2022-10-16 17:44:54 +02:00
Document.h LibPDF: Allow page objects to inherit the MediaBox and Resources entries 2022-10-16 17:44:54 +02:00
DocumentParser.cpp LibPDF: Try to repair XRef tables with broken indices 2022-11-25 22:44:47 +01:00
DocumentParser.h LibPDF: Try to repair XRef tables with broken indices 2022-11-25 22:44:47 +01:00
Encoding.cpp LibPDF: Add very basic support for Adobe Type 1 font rendering 2022-10-16 17:44:54 +02:00
Encoding.h LibPDF: Add very basic support for Adobe Type 1 font rendering 2022-10-16 17:44:54 +02:00
Encryption.cpp Everywhere: Fix a bunch of typos 2022-05-29 15:22:00 +02:00
Encryption.h LibPDF: Add implementation of the Standard security handler 2022-03-29 02:52:57 +02:00
Error.h LibPDF: Add Type0 and TrueType fonts 2022-03-31 18:10:45 +02:00
Filter.cpp LibPDF: Implement Run Length Decoding 2022-11-30 14:51:14 +01:00
Filter.h LibPDF: Implement png predictor decoding for flate filter 2022-11-19 15:42:08 +01:00
Forward.h LibPDF: Get rid of PlainText/Encoded StreamObject 2022-03-29 02:52:57 +02:00
Object.h LibPDF: Break inclusion cycle by removing unnecessary include 2022-09-17 04:00:54 +00:00
ObjectDerivatives.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ObjectDerivatives.h LibPDF: Support parsing page tree nodes that are in object streams 2022-09-17 10:07:14 +01:00
Operator.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Parser.cpp LibPDF: Ignore whitespace on hex strings 2022-11-30 14:51:14 +01:00
Parser.h LibPDF: Disallow parsing indirect values as operands 2022-09-17 10:07:14 +01:00
Reader.cpp LibPDF: Parse floating point numbers that omit a leading zero correctly 2022-10-16 17:44:54 +02:00
Reader.h LibPDF: Fix off-by-one error in Reader::remaining() 2022-11-19 15:42:08 +01:00
Reference.h LibPDF: Extract reference bitpacking into dedicated class 2021-09-20 17:39:36 +04:30
Renderer.cpp LibPDF: Allow operators to receive optional resources 2022-11-30 14:51:14 +01:00
Renderer.h LibPDF: Allow operators to receive optional resources 2022-11-30 14:51:14 +01:00
Value.cpp LibPDF: Replace Value class by AK::Variant 2021-09-20 17:39:36 +04:30
Value.h LibPDF: Propagate errors in Parser and Document 2022-03-07 10:53:57 +01:00
XRefTable.h LibPDF: Try to repair XRef tables with broken indices 2022-11-25 22:44:47 +01:00