Skip to content

Conversation

@wezm
Copy link
Contributor

@wezm wezm commented May 12, 2025

The Fontconfig documentation doesn't specify the order, instead just saying:

This function should be called only after FcConfigSubstitute and FcDefaultSubstitute have been called for pattern; otherwise the results will not be correct.

However, a code search on GitHub shows that FcDefaultSubstitute is typically called after FcConfigSubstitute, as do the tools in Fontconfig itself.

Fixes #46

@wezm wezm merged commit c8a5f41 into master May 12, 2025
2 checks passed
@wezm wezm deleted the match-order branch May 12, 2025 23:57
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.

Wrong order of substitutions

2 participants