Skip to content

Commit c8a5f41

Browse files
committed
Call default_substitute after config_substitute
1 parent 254fd29 commit c8a5f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fontconfig/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ impl<'fc> Pattern<'fc> {
295295

296296
/// Get the best available match for this pattern, returned as a new pattern.
297297
pub fn font_match(&mut self) -> Pattern {
298-
self.default_substitute();
299298
self.config_substitute();
299+
self.default_substitute();
300300

301301
unsafe {
302302
let mut res = sys::FcResultNoMatch;

0 commit comments

Comments
 (0)