diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-01 20:06:23 +0000 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2021-05-01 20:37:56 +0000 |
commit | e5c0353eca9aa688f73bd2c581742751f353de55 (patch) | |
tree | 7ff24aee1bf6d940e61f521ba11c1734e32ab0b4 | |
parent | cad5034a6e60f11ce29d33d3538e1da8f08ad0fc (diff) | |
download | alacritty-e5c0353eca9aa688f73bd2c581742751f353de55.tar.gz alacritty-e5c0353eca9aa688f73bd2c581742751f353de55.zip |
Update crossfont to 0.3.0
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | alacritty/Cargo.toml | 2 | ||||
-rw-r--r-- | alacritty/src/renderer/mod.rs | 4 |
3 files changed, 5 insertions, 5 deletions
@@ -386,9 +386,9 @@ dependencies = [ [[package]] name = "crossfont" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "108946cf5228893bf470564410639b87a53f959d937f1c57bbc2a6603d98e812" +checksum = "dc52c750165ecb41cf02bfa8fd6731dc6796dddd87a3713fc9fbe9e08e71d48b" dependencies = [ "cocoa 0.24.0", "core-foundation 0.9.1", diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index 1e393df3..b70b6a3f 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -28,7 +28,7 @@ serde_json = "1" glutin = { version = "0.26.0", default-features = false, features = ["serde"] } notify = "4" parking_lot = "0.11.0" -crossfont = { version = "0.2.0", features = ["force_system_fontconfig"] } +crossfont = { version = "0.3.0", features = ["force_system_fontconfig"] } copypasta = { version = "0.7.0", default-features = false } libc = "0.2" unicode-width = "0.1" diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index 414d9bd5..bac8225d 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -1336,11 +1336,11 @@ impl Atlas { // Load data into OpenGL. let (format, buffer) = match &glyph.buffer { - BitmapBuffer::RGB(buffer) => { + BitmapBuffer::Rgb(buffer) => { multicolor = false; (gl::RGB, buffer) }, - BitmapBuffer::RGBA(buffer) => { + BitmapBuffer::Rgba(buffer) => { multicolor = true; (gl::RGBA, buffer) }, |