mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
demo: in font book, ask font what characters are supported
This replaces manual lists with a call to ab_glypgh::Font::codepoint_ids plus names from the unicode_names2 crate.
This commit is contained in:
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -795,6 +795,7 @@ dependencies = [
|
||||
"image",
|
||||
"serde",
|
||||
"syntect",
|
||||
"unicode_names2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2418,6 +2419,12 @@ version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
||||
|
||||
[[package]]
|
||||
name = "unicode_names2"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "87d6678d7916394abad0d4b19df4d3802e1fd84abd7d701f39b75ee71b9e8cf1"
|
||||
|
||||
[[package]]
|
||||
name = "untrusted"
|
||||
version = "0.7.1"
|
||||
|
||||
Reference in New Issue
Block a user