mirror of
https://github.com/alacritty/alacritty
synced 2024-10-06 07:49:09 +00:00
Update crossfont to 0.3.0
This commit is contained in:
parent
edda4f7fd8
commit
8f4b752a98
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue