1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 13:16:39 +03:00

Improve powerline filled semicircle custom glyphs

This commit is contained in:
Benoit de Chezelles 2021-11-11 03:58:09 +01:00 committed by Wez Furlong
parent c47c7c6d1f
commit fa76a64504
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,7 @@
   
   
   
   

View File

@ -3493,7 +3493,11 @@ impl BlockKey {
path: &[ path: &[
PolyCommand::MoveTo(BlockCoord::Zero, BlockCoord::Zero), PolyCommand::MoveTo(BlockCoord::Zero, BlockCoord::Zero),
PolyCommand::QuadTo { PolyCommand::QuadTo {
control: (BlockCoord::Frac(6, 3), BlockCoord::Frac(1, 2)), control: (BlockCoord::One, BlockCoord::Zero),
to: (BlockCoord::One, BlockCoord::Frac(1, 2)),
},
PolyCommand::QuadTo {
control: (BlockCoord::One, BlockCoord::One),
to: (BlockCoord::Zero, BlockCoord::One), to: (BlockCoord::Zero, BlockCoord::One),
}, },
PolyCommand::Close, PolyCommand::Close,
@ -3518,7 +3522,11 @@ impl BlockKey {
path: &[ path: &[
PolyCommand::MoveTo(BlockCoord::One, BlockCoord::Zero), PolyCommand::MoveTo(BlockCoord::One, BlockCoord::Zero),
PolyCommand::QuadTo { PolyCommand::QuadTo {
control: (BlockCoord::Frac(-3, 3), BlockCoord::Frac(1, 2)), control: (BlockCoord::Zero, BlockCoord::Zero),
to: (BlockCoord::Zero, BlockCoord::Frac(1, 2)),
},
PolyCommand::QuadTo {
control: (BlockCoord::Zero, BlockCoord::One),
to: (BlockCoord::One, BlockCoord::One), to: (BlockCoord::One, BlockCoord::One),
}, },
PolyCommand::Close, PolyCommand::Close,