Skip to content

Commit

Permalink
Replace rusttype with font-kit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf committed Jul 12, 2019
1 parent bc2d0a2 commit e6c1e8c
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 89 deletions.
44 changes: 39 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 15 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,28 @@ edition = "2018"
syntect = "3.2"
image = "0.21"
imageproc = "0.18"
rusttype = "0.7.7"
font-kit = "0.3.1"
failure = "0.1.5"
clipboard = "0.5.0"
structopt = { version = "0.2.18", default-features = false, features = [ "color", "wrap_help" ] }
itertools = "0.8.0"
tempfile = "3.1.0"
conv = "0.3.3"
euclid = "0.19"
log = "0.4.7"

[dependencies.structopt]
version = "0.2"
default-features = false
features = [ "color", "wrap_help" ]

[dependencies.env_logger]
version = "0.6.2"
default-features = false
features = [ "termcolor", "atty", "humantime" ]

[build-dependencies]
syntect = "3.2"
cc = "1.0.37"

[profile.release]
lto = true
# [profile.release]
# lto = true
Binary file added assets/fonts/Hack-BoldItalic.ttf
Binary file not shown.
Loading

0 comments on commit e6c1e8c

Please sign in to comment.