mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibPDF: Allow pages with no specified contents
The contents object may be omitted as per spec, which will just leave the page blank.
This commit is contained in:
parent
fde990ead8
commit
b90a794d78
3 changed files with 7 additions and 2 deletions
|
@ -30,7 +30,7 @@ struct Rectangle {
|
|||
|
||||
struct Page {
|
||||
NonnullRefPtr<DictObject> resources;
|
||||
NonnullRefPtr<Object> contents;
|
||||
RefPtr<Object> contents;
|
||||
Rectangle media_box;
|
||||
Rectangle crop_box;
|
||||
float user_unit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue