fepli
ManualReferenceSystem and data protectionAdmins

Fonts for PDF templates

If a programme booklet should appear in your organisation’s font, super admins upload the font here.

The fonts are under Settings > Exports > Fonts. They only apply to PDF templates: as Base font, or in the template with font-family and the font’s name, e.g. font-family: swiza;.


List

ElementMeaning
Name below the fontThe name that font-family gives in the template
built in, uploadedWhere the font comes from. Supplied are Geist, Geist Medium, DejaVu Sans, DejaVu Serif and DejaVu Sans Mono.
“in {count} templates”, “not used”How many templates use the font as Base font
Regular, Italic, Bold, Bold italicThe 4 styles of a font, each with its file or “missing”
+ FileUploads the file for a missing style of an uploaded font.
RemoveDeletes the font and its files after a question.

Uploading

With Upload font files you upload one or more files at once.

  • fepli only takes static TrueType files with the ending .ttf. fepli cannot set variable fonts and OTF files in the PDF.
  • fepli assigns each file to a font and a style by its name: Name-Regular.ttf, -Italic, -Bold or -SemiBold and -BoldItalic.
  • fepli sets every weight from 600 up with the bold style. Medium and Light become fonts of their own, e.g. name-medium.

Removing

A font can only be removed when no template uses it as Base font. Otherwise it says “Remove it from the templates first”. Supplied fonts cannot be removed.


Messages

MessageMeaning
“{count} font files uploaded.”, “Font file uploaded.”The upload worked.
“{name}: only static TrueType files (.ttf).”The file is not a TrueType file.
“{name}: mPDF cannot read OpenType with CFF outlines (.otf) – please use the TrueType version.”The file is an OTF font. Upload the .ttf version.
“{name}: a variable font – mPDF needs a static file per style.”The file is a variable font. Upload a separate file for each style.
“{name}: this font comes with fepli and needs no file.”The font is already supplied.
“Templates still use “{name}” – choose another font there first.”The font is still the Base font of a template.