Skip to content

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

@frankduncan

Description

@frankduncan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions