diff --git a/app/views/admin/attestation_templates/show.pdf.prawn b/app/views/admin/attestation_templates/show.pdf.prawn index 228bdc375..0c3d367b9 100644 --- a/app/views/admin/attestation_templates/show.pdf.prawn +++ b/app/views/admin/attestation_templates/show.pdf.prawn @@ -1,8 +1,7 @@ require 'prawn/measurement_extensions' prawn_document(margin: [50, 100, 20, 100]) do |pdf| - pdf.font_families.update( 'open sans' => { normal: './lib/prawn/fonts/OpenSans-Regular.ttf' }) - pdf.font 'open sans' + pdf.font 'Times-Roman' grey = '555555' black = '333333' @@ -21,7 +20,7 @@ prawn_document(margin: [50, 100, 20, 100]) do |pdf| pdf.pad_top(40) { pdf.text @title, size: 18, character_spacing: -0.2 } pdf.fill_color grey - pdf.pad_top(30) { pdf.text @body, size: 10, character_spacing: -0.2 } + pdf.pad_top(30) { pdf.text @body, size: 10, character_spacing: -0.2, align: :justify } if @signature.present? pdf.pad_top(40) do