mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 15:42:32 -05:00
flatten annots
This commit is contained in:
1 parent
ad3bbe9892
commit
29ecbecbc2
1 file changed
+6
@@ -83,6 +83,12 @@ module Submissions
|
|||||||
|
|
||||||
next if Array.wrap(value).compact_blank.blank?
|
next if Array.wrap(value).compact_blank.blank?
|
||||||
|
|
||||||
|
begin
|
||||||
|
page.flatten_annotations
|
||||||
|
rescue StandardError => e
|
||||||
|
Rollbar.error(e) if defined?(Rollbar)
|
||||||
|
end
|
||||||
|
|
||||||
canvas = page.canvas(type: :overlay)
|
canvas = page.canvas(type: :overlay)
|
||||||
canvas.font(FONT_NAME, size: font_size)
|
canvas.font(FONT_NAME, size: font_size)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user