diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-03-18 00:50:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 00:50:25 +0000 |
commit | 8ff7246c3190924943202d1f427606289a6fe295 (patch) | |
tree | feff915135bec1c526da270c937a22d1adf10e3e /font/src/ft/mod.rs | |
parent | 4883c4139acae49b77ecf60aff24364924246db0 (diff) | |
download | alacritty-d555cb5c28cca2229ca774c03542f4d125016735.tar.gz alacritty-d555cb5c28cca2229ca774c03542f4d125016735.zip |
Bump version to RC2v0.4.2-rc2
Diffstat (limited to 'font/src/ft/mod.rs')
-rw-r--r-- | font/src/ft/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs index d2a99cae..d393b63f 100644 --- a/font/src/ft/mod.rs +++ b/font/src/ft/mod.rs @@ -215,7 +215,6 @@ impl FreeTypeRasterizer { let mut pattern = Pattern::new(); pattern.add_family(&desc.name); pattern.add_pixelsize(size); - let hash = pattern.hash(); // Add style to a pattern match desc.style { @@ -230,6 +229,9 @@ impl FreeTypeRasterizer { }, } + // Hash requested pattern + let hash = pattern.hash(); + pattern.config_substitute(config, fc::MatchKind::Pattern); pattern.default_substitute(); |