WIP: Start on rendering glyphs

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-03-23 15:15:41 +01:00
parent 43abd96769
commit 764bfba2e2
9 changed files with 211 additions and 65 deletions

26
Cargo.lock generated
View file

@ -549,6 +549,25 @@ dependencies = [
"termcolor",
]
[[package]]
name = "etagere"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "520d7de540904fd09b11c03a47d50a7ce4ff37d1aa763f454fa60d9088ef8356"
dependencies = [
"euclid",
"svg_fmt",
]
[[package]]
name = "euclid"
version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51e5bac4ec41ece6346fd867815a57a221abdf48f4eb931b033789b5b4b6fc70"
dependencies = [
"num-traits",
]
[[package]]
name = "event-listener"
version = "2.5.1"
@ -745,6 +764,7 @@ dependencies = [
"core-graphics",
"core-text",
"ctor",
"etagere",
"font-kit",
"foreign-types",
"log",
@ -1483,6 +1503,12 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "svg_fmt"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fb1df15f412ee2e9dfc1c504260fa695c1c3f10fe9f4a6ee2d2184d7d6450e2"
[[package]]
name = "syn"
version = "1.0.60"