Skip to content

add font_dirs parameter to FontManager and generate_image#19

Merged
g4bri3lDev merged 1 commit into
mainfrom
feat/font-search-dirs
May 24, 2026
Merged

add font_dirs parameter to FontManager and generate_image#19
g4bri3lDev merged 1 commit into
mainfrom
feat/font-search-dirs

Conversation

@g4bri3lDev

Copy link
Copy Markdown
Member

Callers can now pass font_dirs=[...] to generate_image() to search host-specific directories (e.g. /config/www/fonts) for fonts by name before falling back to bundled assets. Non-existent directories are silently ignored.

Callers can now pass font_dirs=[...] to generate_image() to search
host-specific directories (e.g. /config/www/fonts) for fonts by name
before falling back to bundled assets. Non-existent directories are
silently ignored.
@codecov

codecov Bot commented May 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/odl_renderer/fonts.py 83.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@g4bri3lDev g4bri3lDev merged commit ec88bba into main May 24, 2026
5 of 6 checks passed
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