Skip to content

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Nov 26, 2025

Warning

This is PR against v1.8 to backport #13731

Fonts with spaces (e.g., "Noto Emoji", "DejaVu Sans") were failing
auto-installation because fontSearchTerm() generated search patterns
that didn't match font files. Font files use concatenated names without
spaces (NotoEmoji-Regular.ttf, DejaVuSans-Bold.ttf).

Replace spaces with \s* regex pattern to match files with or without spaces.

Closes #13726

Fix font package detection for fonts with spaces in names

Resolves an issue where fonts packages containing spaces in their names
(e.g., "Noto Sans") were not properly detected in Quarto projects.
Updated font path handling to correctly quote and process font names
with whitespace characters.
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Nov 26, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv changed the title publish, connect - fix tar bundle creation using temp context Backport TinyTeX missing font detection Nov 26, 2025
@cderv cderv merged commit 622741c into v1.8 Nov 26, 2025
44 checks passed
@cderv cderv deleted the backport/fix-font-space-detection branch November 26, 2025 17:33
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.

3 participants