Skip to content

fix font face of pdf download - #3165

Merged
briri merged 2 commits into
DMPRoadmap:developmentfrom
pengyin-shan:pdf_download_font_face
Apr 28, 2022
Merged

fix font face of pdf download#3165
briri merged 2 commits into
DMPRoadmap:developmentfrom
pengyin-shan:pdf_download_font_face

Conversation

@pengyin-shan

Copy link
Copy Markdown
Contributor

Fixes the font face of PDF download.

Upgrading DMP Assistant to 3.1.0 and found the font-face selection of PDF download not working (Times New Roman all the time). Switch variable name and it works.

Also, provide an updated en-CA locale.

@pengyin-shan
pengyin-shan requested a review from briri April 27, 2022 21:02

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pengyin-shan this looks great.

@export_settings.formatting[:margin][:right]),
class: 'form-control',
"data-default": @plan.template.settings(:export).formatting[:margin][:rigth] %>
"data-default": @plan.template.settings(:export).formatting[:margin][:right] %>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@briri
briri merged commit 2006128 into DMPRoadmap:development Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants