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

Fonts for PDF printouts (for instance, the IIR) don't use correct fonts #309

Open
frankduncan opened this issue Mar 2, 2021 · 1 comment

Comments

@frankduncan
Copy link
Contributor

Heroku / Rails and the PDFKit backend aren't picking up the fonts that the system would like. This means that the more beautiful Helvetica Neue and the equivalent free fonts (Pragmatica Extra Light for thin, Free Sans for otherwise) don't show up on the server generated pdfs.

Attempts to solve this include:

  • Using web fonts with an absolute path
  • Using a .fonts directory in the app top level

Things that haven't been attempted:

  • base64 encoding the fonts inline in the scss
  • external assets
  • font buildpacks
@jim-mcgowan
Copy link
Member

@frankduncan: Please use Inter as a substitute for Helvetica Neue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants