Skip to content

Feature: Custom fonts support per template - #545

Open
eduardomozart wants to merge 2 commits into
splitbrain:masterfrom
eduardomozart:feature-custom-fonts
Open

Feature: Custom fonts support per template#545
eduardomozart wants to merge 2 commits into
splitbrain:masterfrom
eduardomozart:feature-custom-fonts

Conversation

@eduardomozart

@eduardomozart eduardomozart commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

This PR adds support for loading custom fonts directly from a template's directory.

By creating a fonts.php configuration file and a fonts/ subdirectory inside their template folder, template authors can now bundle custom .ttf fonts. Since the custom font loading is scoped strictly to the currently selected template being exported, it won't conflict globally or load unnecessary fonts.

The template README.txt has also been updated with instructions on how to use this new feature.

Sample: https://github.com/eduardomozart/ScriptUtil/tree/master/Scripts/DokuWiki/dw2pdf

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

Successfully merging this pull request may close these issues.

1 participant