mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 23:42:32 -05:00
fix pdf parsing
This commit is contained in:
1 parent
f84fdd51de
commit
2a75055fb6
1 file changed
+7
@@ -14,6 +14,13 @@ module HexaPDF
|
||||
end
|
||||
|
||||
module Type
|
||||
class Page
|
||||
# fix NoMethodError (undefined method `color_space' for an instance of HexaPDF::Type::Page)
|
||||
def color_space(name)
|
||||
GlobalConfiguration.constantize('color_space.map', name).new
|
||||
end
|
||||
end
|
||||
|
||||
# fix NoMethodError: undefined method `field_value' for #<HexaPDF::Type::AcroForm::Field
|
||||
module AcroForm
|
||||
class Field
|
||||
|
||||
Reference in new issue
Block a user