diff options
Diffstat (limited to 'font/src/ft/fc/mod.rs')
-rw-r--r-- | font/src/ft/fc/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/font/src/ft/fc/mod.rs b/font/src/ft/fc/mod.rs index f6d7d64a..ac0c9442 100644 --- a/font/src/ft/fc/mod.rs +++ b/font/src/ft/fc/mod.rs @@ -50,7 +50,7 @@ pub fn font_match( config: &ConfigRef, pattern: &mut PatternRef, ) -> Option<Pattern> { - pattern.config_subsitute(config, MatchKind::Pattern); + pattern.config_substitute(config, MatchKind::Pattern); pattern.default_substitute(); unsafe { @@ -77,7 +77,7 @@ pub fn font_sort( config: &ConfigRef, pattern: &mut PatternRef, ) -> Option<FontSet> { - pattern.config_subsitute(config, MatchKind::Pattern); + pattern.config_substitute(config, MatchKind::Pattern); pattern.default_substitute(); unsafe { @@ -110,7 +110,7 @@ pub fn font_list( pattern: &mut PatternRef, objects: &ObjectSetRef, ) -> Option<FontSet> { - pattern.config_subsitute(config, MatchKind::Pattern); + pattern.config_substitute(config, MatchKind::Pattern); pattern.default_substitute(); unsafe { |