Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring diag font path at build time #1523

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

oscarwcl
Copy link
Contributor

@oscarwcl oscarwcl commented Jan 17, 2024

This allows for better integration with distros that put the system font in a different directory.

As suggested in #1308 (comment).

The equivalent of the old -DUSE_SYSTEM_DIAG_FONT=ON option is now -DDIAG_FONT_PATH=/usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf

This allows for better integration with distros that put the system font
in a different directory.
@Julusian Julusian merged commit 3c1d1f9 into CasparCG:master Jan 17, 2024
4 checks passed
@@ -12,6 +12,14 @@ set(CASPARCG_DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR}/external CACHE STRING "D

option(ENABLE_HTML "Enable HTML module, require CEF" ON)

set(DIAG_FONT_PATH "LiberationMono-Regular.ttf" CACHE STRING
"Path to font that will be used to load diag font at runtime. By default
this loads the font distribtued with the application from the working
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo - distribtued, should be distributed

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.

None yet

3 participants