lukas-w / font-logos

An icon font providing popular linux distro's logos
https://lukas-w.github.io/font-logos
The Unlicense
446 stars 85 forks source link

List of fonts and their unicode number? #50

Closed WhyNotHugo closed 4 years ago

WhyNotHugo commented 4 years ago

Both the readme and the site have a list of glyphs included, but images are shown (so I can't copy-paste them).

I'd try to use ctrl+shift+u and their unicode number, but that doesn't seem listed anywhere.

I can't figure out how I'm supposed to use them on my scripts/terminal. Can you maybe add the unicode numbers for each glyph somewhere?

WhyNotHugo commented 4 years ago

Oh, actually, they seem to be here: https://github.com/lukas-w/font-logos/blob/master/assets/font-logos.css#L100

Maybe it's just a matter of moving that into the README or website HTML?

lukas-w commented 4 years ago

@WhyNotHugo The font is generated from SVGs using FontCustom. Unfortunately, with FontCustom there appears to be no way to control or expose the unicode codes. I'm not even sure it guarantees that they stay the same on regeneration. We'd need to switch to a different solution to resolve this and #33.

WhyNotHugo commented 4 years ago

If they change on each regeneration, that means I'd have to adapt all my usages each times it's rebuilt. How do you work around this and use the font?

lukas-w commented 4 years ago

I only use it in websites, so I use the CSS class name, not Unicode. Maybe Nerd Fonts is a better option for you at the moment? They bundle this font amongst many others and map icons to specific documented code points.

WhyNotHugo commented 4 years ago

Yeah, looks like Nerd Fonts covers it for me. Any other relevant discussion is covered by #33. Thanks!