Spectral removed and replaced by Marianne-thin

This commit is contained in:
Judith 2020-06-24 15:02:41 +02:00 committed by jpoulvel (Rebase PR Action)
parent b7fe9418fd
commit 235a406295
2 changed files with 1 additions and 1 deletions

View file

@ -178,7 +178,7 @@ prawn_document(page_size: "A4") do |pdf|
pdf.font_families.update( 'marianne' => {
normal: Rails.root.join('lib/prawn/fonts/marianne/marianne-regular.ttf' ),
bold: Rails.root.join('lib/prawn/fonts/marianne/marianne-bold.ttf' ),
italic: Rails.root.join('lib/prawn/fonts/spectral/Spectral-SemiBoldItalic.ttf' ),
italic: Rails.root.join('lib/prawn/fonts/marianne/marianne-thin.ttf' ),
})
pdf.font 'marianne'
pdf.svg IO.read("app/assets/images/header/logo-ds-wide.svg"), width: 300, position: :center