2020-10-25 02:40:15 +03:00
|
|
|
[package]
|
|
|
|
name = "wezterm-font"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2020-11-21 03:56:07 +03:00
|
|
|
allsorts = { git = "https://github.com/yeslogic/allsorts.git", rev="3947164a201ab5e15d5f23204faaaaaad52531aa" }
|
2020-10-25 02:40:15 +03:00
|
|
|
anyhow = "1.0"
|
|
|
|
config = { path = "../config" }
|
2021-06-27 05:48:06 +03:00
|
|
|
color-types = { path = "../color-types" }
|
Add `wezterm ls-fonts` subcommand
At this time it just shows you the fonts that your config matches
and where they came from:
```
; wezterm -n ls-fonts
Primary font:
wezterm.font("JetBrains Mono", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/JetBrainsMono-Regular.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Last Resort High-Efficiency", weight="Regular", stretch="Normal", italic=false)
(<built-in>, BuiltIn)
When Italic=true:
wezterm.font("JetBrains Mono", weight="Regular", stretch="Normal", italic=true)
(/home/wez/.fonts/JetBrainsMono-Italic.ttf, FontConfig)
wezterm.font("JetBrains Mono", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/JetBrainsMono-Regular.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Last Resort High-Efficiency", weight="Regular", stretch="Normal", italic=false)
(<built-in>, BuiltIn)
When Intensity=Bold:
wezterm.font("JetBrains Mono", weight="Bold", stretch="Normal", italic=false)
(/home/wez/.fonts/JetBrainsMono-Bold.ttf, FontConfig)
wezterm.font("JetBrains Mono", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/JetBrainsMono-Regular.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Last Resort High-Efficiency", weight="Regular", stretch="Normal", italic=false)
(<built-in>, BuiltIn)
When Intensity=Bold Italic=true:
wezterm.font("JetBrains Mono", weight="Bold", stretch="Normal", italic=true)
(/home/wez/.fonts/JetBrainsMono-Bold-Italic.ttf, FontConfig)
wezterm.font("JetBrains Mono", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/JetBrainsMono-Regular.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Noto Color Emoji", weight="Regular", stretch="Normal", italic=false)
(/home/wez/.fonts/NotoColorEmoji.ttf, FontConfig)
wezterm.font("Last Resort High-Efficiency", weight="Regular", stretch="Normal", italic=false)
(<built-in>, BuiltIn)
```
refs: #347
2021-04-12 19:36:56 +03:00
|
|
|
enum-display-derive = "0.1"
|
2020-12-10 21:03:16 +03:00
|
|
|
euclid = "0.22"
|
2020-10-25 02:40:15 +03:00
|
|
|
freetype = { path = "../deps/freetype" }
|
|
|
|
harfbuzz = { path = "../deps/harfbuzz" }
|
|
|
|
lazy_static = "1.4"
|
|
|
|
log = "0.4"
|
2021-04-10 19:23:11 +03:00
|
|
|
memmap2 = "0.2"
|
2021-07-19 05:10:46 +03:00
|
|
|
metrics = { version="0.17", features=["std"]}
|
2020-10-25 02:40:15 +03:00
|
|
|
mux = { path = "../mux" }
|
2021-07-19 05:10:46 +03:00
|
|
|
ordered-float = "2.7"
|
2020-11-26 06:15:08 +03:00
|
|
|
rangeset = { path = "../rangeset" }
|
2020-10-25 02:40:15 +03:00
|
|
|
termwiz = { path = "../termwiz" }
|
|
|
|
thiserror = "1.0"
|
2020-11-21 03:56:07 +03:00
|
|
|
tinyvec = "1.1" # Note: constrained by the allsorts crate
|
2021-08-12 07:56:30 +03:00
|
|
|
unicode-segmentation = "1.8"
|
2020-11-21 05:44:28 +03:00
|
|
|
unicode-general-category = "0.3"
|
2020-10-25 02:40:15 +03:00
|
|
|
walkdir = "2"
|
2021-06-27 05:48:06 +03:00
|
|
|
wezterm-input-types = { path = "../wezterm-input-types" }
|
2020-10-25 02:40:15 +03:00
|
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
2021-05-02 02:05:23 +03:00
|
|
|
wezterm-toast-notification = { path = "../wezterm-toast-notification" }
|
2020-10-25 02:40:15 +03:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
|
|
|
|
fontconfig = { path = "../deps/fontconfig" }
|
|
|
|
|
|
|
|
[target."cfg(windows)".dependencies]
|
2020-11-26 01:53:42 +03:00
|
|
|
dwrote = "0.11"
|
2020-10-25 03:00:07 +03:00
|
|
|
winapi = "0.3"
|
2020-10-25 02:40:15 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2020-11-22 22:19:44 +03:00
|
|
|
core-foundation = "0.9"
|
|
|
|
core-text = "19.0"
|
2021-02-22 20:19:05 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-03-25 20:32:31 +03:00
|
|
|
k9 = "0.11.0"
|
2021-02-22 20:19:05 +03:00
|
|
|
pretty_env_logger = "0.4"
|