Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase font size in PDF #2969

Open
cammiida opened this issue Feb 5, 2025 · 0 comments
Open

Increase font size in PDF #2969

cammiida opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
kind/analysis status/draft Status: When you create an issue before you have enough info to properly describe the issue. status/triage ux Needs some love from a UX resource

Comments

@cammiida
Copy link
Contributor

cammiida commented Feb 5, 2025

Description

We need to increase the font size in the PDF in order to make it readable. 10 px (what we have now) is too small for most people, but increasing it might introduce breaking changes.

Suggested approach:

  1. Test and find a sensible default size. @Edavda has some information about recommended sizes in Designsystemet.
  2. Create a preview release with this sensible default.
  3. Post the preview release in the Altinn Slack. Ask for feedback and that we are thinking of changing this. Encourage the TE to contact us if they think they'll have problems with the new size.
  4. Wait for x amount of time (something pre-decided and written in the message described above ☝) and gather intelligence.
  5. If no one reports any problems with the new size. Release it in production.
  6. If anyone reports any problems, try to resolve them. A possible solution is to make the PDF font size configurable. In that case, discuss it with the team to find out the best place to put this configuration.
  7. Release.

@Edavda please add or change anything you'd like!

Suggested sizing
I suggest starting with small and Xsmall sizes from the design system. These have been tested with other components and are sizes we are thinking about including in our app overall.

Element px size pt size
Paragraph small 16 12
Paragraph Xsmall 14 10,5
Heading small 24 18
Heading Xsmall 21 15,75

In scope

No response

Out of scope

No response

Additional Information

No response

Analysis

No response

Conclusion

No response

@cammiida cammiida added kind/analysis status/draft Status: When you create an issue before you have enough info to properly describe the issue. labels Feb 5, 2025
@Edavda Edavda self-assigned this Feb 5, 2025
@Edavda Edavda added the ux Needs some love from a UX resource label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/analysis status/draft Status: When you create an issue before you have enough info to properly describe the issue. status/triage ux Needs some love from a UX resource
Projects
Status: No status
Development

No branches or pull requests

2 participants