mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Use ab_glyph instead of rusttype for font rendering (#490)
* Use ab_glyph instead of rusttype for font rendering * address review feedback
This commit is contained in:
@@ -24,12 +24,12 @@ include = [
|
||||
[dependencies]
|
||||
emath = { version = "0.12.0", path = "../emath" }
|
||||
|
||||
ab_glyph = "0.2.11"
|
||||
ahash = { version = "0.7", features = ["std"], default-features = false }
|
||||
atomic_refcell = { version = "0.1", optional = true } # Used instead of parking_lot when you are always using epaint in a single thread. About as fast as parking_lot. Panics on multi-threaded use.
|
||||
cint = { version = "^0.2.2", optional = true }
|
||||
ordered-float = { version = "2", default-features = false }
|
||||
parking_lot = { version = "0.11", optional = true } # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios.
|
||||
rusttype = "0.9"
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
|
||||
[features]
|
||||
|
||||
Reference in New Issue
Block a user