mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix default font
This commit is contained in:
1 parent
6e81a3be3f
commit
5e27cc36c6
1 file changed
+1
-1
@@ -221,7 +221,7 @@ module Submissions
|
||||
font_variant = nil unless font_name.in?(DEFAULT_FONTS)
|
||||
end
|
||||
|
||||
font = pdf.fonts.add(font_name, variant: font_variant)
|
||||
font = pdf.fonts.add(font_name, variant: font_variant, custom_encoding: font_name.in?(DEFAULT_FONTS))
|
||||
|
||||
value = submitter.values[field['uuid']]
|
||||
value = field['default_value'] if field['type'] == 'heading'
|
||||
|
||||
Reference in new issue
Block a user