quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
9.89k stars 437 forks source link

feat: add font logos of Operating Systems #983

Open zen0bit opened 3 months ago

zen0bit commented 3 months ago

What about pretty icons used in quickemu/quickget?

Not sure how to easily show svg in any terminal..

But found how to create fonts.

What about font with Operating Systems logos?

Working on it... 0.0.3 - font broken preview

quickemu-logos repo

~PR will follow later~ #1082 (Still not all logos there yet)

And here is screenshot of actual font: (0.0.2)

with not yet removed apps logos from source repo https://github.com/lukas-w/font-logos icons

So far my conversion of quickemu logo fontmanager isn't sucesfull (font shows circle or square instead) quickemu

PS: Interested for qqX? @TuxVinyards

PPS: Due to screen readers this must be optional!

lj3954 commented 3 months ago

https://github.com/quickemu-project/quickemu-icons already exists and is used for list_csv.

zen0bit commented 3 months ago

:thinking: I am already contributed there

But that are colored svg icons (also gathered in my repo..) I am speaking about font logos

Some are already in nerd fonts but not all..

lj3954 commented 3 months ago

Unless I'm completely mistaken, you won't be able to display anything in a font other than your console font. The idea of a feature within a project like quickget which requires the user to change their font is ridiculous. Realistically, the only way to make this work for all users would be to display ASCII art instead.

zen0bit commented 3 months ago

respektive this: vhstest

lj3954 commented 3 months ago

Intriguing.

zen0bit commented 3 months ago

Do you like the idea @flexiondotorg?

flexiondotorg commented 3 months ago

It is an interesting idea. How are the distro font glyphs provided exactly?

zen0bit commented 3 months ago

Currently are only two options

version 0.0.2 is working :) v0.0.3 broken!

Already released on github and on npm if someone wanna get there...

https://github.com/oSoWoSo/quickemu-font-and-logos (excuse for using quickemu in name without asking)

This I think could be quicker to acomplish (and push it all to font-logos or nerd-fonts later)

I need gather complete specification of svg needed for conversion. (Mainly setup of colors/transparency) Broke some icons. As source I am using mentioned font-logos, quickemu-svg, https://github.com/simple-icons/simple-icons and rest I gathered or recreated from what I found anywhere. I can also push svg back to quickemu-icons repo, but same as quickgui, looks abandoned (not watching)

Implementation: Must be optional/switchable (screen readers)

  1. Install needed font
  2. Make sure fonts is installed
  3. Use font icon in skript is as simpl as call echo -e "\uf015" or echo "<icon>" but that wouldn't be seen if editing code without font installed was already included in one of my many PRs as easteregg - But nobody find it or at least mentioned...