mirror of
https://github.com/wez/wezterm.git
synced 2024-12-22 21:01:36 +03:00
Bundle PowerlineExtraSymbols as a fallback font
This commit is contained in:
parent
90eb69f68a
commit
4b7f774bc5
21
assets/fonts/LICENSE_POWERLINE_EXTRA.txt
Normal file
21
assets/fonts/LICENSE_POWERLINE_EXTRA.txt
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2016 Ryan L McIntyre
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
BIN
assets/fonts/PowerlineExtraSymbols.otf
Normal file
BIN
assets/fonts/PowerlineExtraSymbols.otf
Normal file
Binary file not shown.
@ -91,6 +91,7 @@ brief notes about them may accumulate here.
|
||||
* Unix: adjust font-config patterns to also match "dual spacing" fonts such as [Iosevka Term](https://typeof.net/Iosevka/). Thanks to [Leiser](https://github.com/leiserfg)! [#446](https://github.com/wez/wezterm/pull/446)
|
||||
* New: Added [alternate_buffer_wheel_scroll_speed](config/lua/config/alternate_buffer_wheel_scroll_speed.md) option to control how many cursor key presses are generated by the mouse wheel when the alternate screen is active. The new default for this is a faster-than-previous-releases 3 lines per wheel tick. [#432](https://github.com/wez/wezterm/issues/432)
|
||||
* macOS: Dead Keys are now processed even when `use_ime=false`. [More details in the docs](config/keys.md#macos-left-and-right-option-key). [#410](https://github.com/wez/wezterm/issues/410).
|
||||
* New: we now bundle [PowerlineExtraSymbols](https://github.com/ryanoasis/powerline-extra-symbols) as a built-in fallback font, so that you can use powerline glyphs with any font without patching the font.
|
||||
|
||||
### 20201101-103216-403d002d
|
||||
|
||||
|
@ -329,6 +329,7 @@ pub(crate) fn load_built_in_fonts(
|
||||
font!("../../assets/fonts/JetBrainsMono-ThinItalic.ttf"),
|
||||
font!("../../assets/fonts/JetBrainsMono-Thin.ttf"),
|
||||
font!("../../assets/fonts/NotoColorEmoji.ttf"),
|
||||
font!("../../assets/fonts/PowerlineExtraSymbols.otf"),
|
||||
font!("../../assets/fonts/LastResortHE-Regular.ttf"),
|
||||
] {
|
||||
let face = Face::from_slice(data, 0)?;
|
||||
|
Loading…
Reference in New Issue
Block a user