flatten annots

This commit is contained in:
Pete Matsyburka
2024-03-27 18:24:41 +02:00
parent ad3bbe9892
commit 29ecbecbc2
@@ -83,6 +83,12 @@ module Submissions
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.font(FONT_NAME, size: font_size)