Skip to content

Installing Custom Fonts in Docker for PDF Templates #1406

Open
@justusweigmann

Description

Hey all,
I noticed that the PDF Template function is referring in the font face to a specific .ttf font file:
@font-face {
font-family: 'DejaVu Sans';
src: url('alfio-internal:/DejaVuSans.ttf');
}

Could anyone tell me how I can install a new font in the Docker container? That way, we can use our company's house font.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions