crossterm-rs / crossterm

Cross platform terminal library rust
MIT License
3.29k stars 280 forks source link

Change font family #758

Open alexhallam opened 1 year ago

alexhallam commented 1 year ago

Is your feature request related to a problem? Please describe.

I see many attributes which can change, but I would like to be able to change the font family for a future application. https://docs.rs/crossterm/latest/crossterm/style/enum.Attribute.html#platform-specific-notes

Describe the solution you'd like

I would like to print "aaa" where all the "a"s are different font families. (Monospace, Source Font Pro, Fira Code, etc). I would like to be able to use custom fonts I load directly from my own .ttf files.

Describe alternatives you've considered if any

I am not aware of any

Additional context

That is it.

randomairborne commented 1 year ago

Are you aware of any terminals that actually support this? In most terminal emulators, that's not something the running application can configure.