Support custom font files for song titles (Fraktur/Blackletter) #4

Closed
opened 2026-03-17 09:06:04 +01:00 by shahondin1624 · 0 comments

Description

The real songbook uses a Fraktur/Gothic/Blackletter typeface for all song titles. The current FontSpec already has a file property for custom fonts — but it needs to be verified that this works end-to-end with a Fraktur .ttf/.otf file.

Known potential issues:

  • Encoding fixes may be needed for German umlauts (ä, ö, ü, ß) in Fraktur fonts with OpenPDF
  • Custom font loading in PdfBookRenderer and PdfFontMetrics may need adjustments

Scope

  • Verify/Fix: Custom font loading in PdfBookRenderer and PdfFontMetrics
  • Test: End-to-end test with a Fraktur/Blackletter font file
  • Document: Usage instructions in example config showing how to configure a custom title font
## Description The real songbook uses a Fraktur/Gothic/Blackletter typeface for all song titles. The current `FontSpec` already has a `file` property for custom fonts — but it needs to be verified that this works end-to-end with a Fraktur `.ttf`/`.otf` file. Known potential issues: - Encoding fixes may be needed for German umlauts (ä, ö, ü, ß) in Fraktur fonts with OpenPDF - Custom font loading in `PdfBookRenderer` and `PdfFontMetrics` may need adjustments ## Scope - **Verify/Fix:** Custom font loading in `PdfBookRenderer` and `PdfFontMetrics` - **Test:** End-to-end test with a Fraktur/Blackletter font file - **Document:** Usage instructions in example config showing how to configure a custom title font
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shahondin1624/songbook#4