mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
fix pdf validation
This commit is contained in:
1 parent
887d80f6d7
commit
ec04a95e36
2 files changed
+11
-4
No files matched your search
+2
-2
@@ -2306,14 +2306,14 @@ class Pdfium
|
||||
[PageObject, *to_a].hash
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def object_ptr
|
||||
page.ensure_not_closed!
|
||||
|
||||
Pdfium.FPDFPage_GetObject(page.page_ptr, index)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def read_bounds
|
||||
buffer = Array.new(4) { FFI::MemoryPointer.new(:float) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user