Live data from Hacker News

MIT-licensed high-quality SVG icons

github.com

31–40 of 47 posts

Re: MIT-licensed high-quality SVG icons

#31

Neat! I tried my luck with unicode symbols once because they scale nicely as well, but many browsers just desecrate them. ⏪ ⏩ are two examples, while these ► are pretty plain. Not that I don't like the specific designs, but the customization destroys any chance of their use if you want to keep consistent looks. In chrome they are on a blue background. I think other browsers might display them differently. Would be co…

> In chrome they are on a blue background. I think other browsers might display them differently.

FYI, Unicode has two symbols, xFE0E and xFE0F, which explicitly requests the previous character to display as either a "text" (i.e. a solid vector) or "emoji" representation, respectively. These are well supported in browsers.

Re: MIT-licensed high-quality SVG icons

#32

Neat! I tried my luck with unicode symbols once because they scale nicely as well, but many browsers just desecrate them. ⏪ ⏩ are two examples, while these ► are pretty plain. Not that I don't like the specific designs, but the customization destroys any chance of their use if you want to keep consistent looks. In chrome they are on a blue background. I think other browsers might display them differently. Would be co…

> In chrome they are on a blue background. I think other browsers might display them differently. FYI, Unicode has two symbols, xFE0E and xFE0F, which explicitly requests the previous character to display as either a "text" (i.e. a solid vector) or "emoji" representation, respectively. These are well supported in browsers.

I did not know that, this is pretty cool. Strange how browsers select the standard representation between text and emoji. Seems a bit random for some symbols.

Re: MIT-licensed high-quality SVG icons

#33
post #18

Neat! I tried my luck with unicode symbols once because they scale nicely as well, but many browsers just desecrate them. ⏪ ⏩ are two examples, while these ► are pretty plain. Not that I don't like the specific designs, but the customization destroys any chance of their use if you want to keep consistent looks. In chrome they are on a blue background. I think other browsers might display them differently. Would be co…

This is the first time I see someone getting color inside their HN comment.

You can also type math with this LaTeX to Unicode translator [1].

∫ x² dx

∑ φᵢ yᵢ = 1

z ∈ ℝᵐ

[1] https://www.unicodeit.net/

Re: MIT-licensed high-quality SVG icons

#35

Earlier quoted context omitted.

> In chrome they are on a blue background. I think other browsers might display them differently. FYI, Unicode has two symbols, xFE0E and xFE0F, which explicitly requests the previous character to display as either a "text" (i.e. a solid vector) or "emoji" representation, respectively. These are well supported in browsers.

I did not know that, this is pretty cool. Strange how browsers select the standard representation between text and emoji. Seems a bit random for some symbols.

The Unicode standard defines which glyphs should get an emoji rendering by default. It is quite random. I think they made a mistake in applying this to existing symbols (like the media player buttons above) but that ship has sailed.

Re: MIT-licensed high-quality SVG icons

#36
post #4

What is the business model behind this? The GitHub account links to this site: https://tabler.io Which looks like a typical sales page. But it also says "free" everywhere. No info on pricing or business model. The icons page tays to install the icons like this: npm install tabler-icons --save Does this make you vurnurable to code coming downstream from this repo in the future?

> Does this make you vulnerable to code coming downstream from this repo in the future? The command is a standard way to install a module and save that specific version in package.json. By default I believe it's "^x.x.x", which allows patch versions that increment the last number when explicitly updating - otherwise re/install will always get that specific version. It's no less (or more) secure than any other depende…

    can probably be considered low risk
How so? I would think it puts its files in a publicly accessible path. That means if it puts executable code there (python,php,js whatever) in a future release it allows for a server-takeover.

Re: MIT-licensed high-quality SVG icons

#37
post #4

What is the business model behind this? The GitHub account links to this site: https://tabler.io Which looks like a typical sales page. But it also says "free" everywhere. No info on pricing or business model. The icons page tays to install the icons like this: npm install tabler-icons --save Does this make you vurnurable to code coming downstream from this repo in the future?

> Does this make you vulnerable to code coming downstream from this repo in the future? The command is a standard way to install a module and save that specific version in package.json. By default I believe it's "^x.x.x", which allows patch versions that increment the last number when explicitly updating - otherwise re/install will always get that specific version. It's no less (or more) secure than any other depende…

the risk calculation is trust-based, so wondering how the author will make money is well within scope for trying to evaluate the risk.

Re: MIT-licensed high-quality SVG icons

#38

Earlier quoted context omitted.

Wow yes... Are specific emojis allowed over others? Test: ⏩⏫⏪⏬◀▶⤵↩↔↙↘↖↗⬆⬇⬅↕↪ℹ⤴🆒🈳🈶🈚🈵🆓🆗🆖🈴🈲🉐🈹🈁🆕🆙🈺🆔🆘🆑㊗㊙🈂Ⓜ🉑🈸🈷🅰🅱🆎🅾©®™‼⁉⭕〰◼◻◾◽▪⬜⬛▫〽 Course HN does just fine without Emojis. I can only imagine the amount of downvoting that would ensue. I could see maybe some being useful like the arrows. Edit: By the looks of it the emojis that are meant to be signs work. The ones that are actual faces do not.

> Course HN does just fine without Emojis. I can only imagine the amount of downvoting that would ensue. You're probably right on the downvotes but I do wonder why. Is there anything inherently bad about emoji or is HN sometimes just a counterculture for the sake of being a counterculture?

[deleted]

Re: MIT-licensed high-quality SVG icons

#40
post #14

I am using https://icomoon.io/app/ . I like that I can select only a few icons and generate a custom true type font straight from the web application.

What benefit would that have vs SVG? It strikes me as cumbersome if you wanted to quickly add icons to an existing project, plus your ability to style with CSS would be limited compared to inline SVG.

I used them in applications developed in C++.

The toolkit is Dear ImGui and I load the TTF font with the simple API AddFontFromMemoryCompressedBase85TTF.

Then when I need a button with an Icon I just use it like this: if (ImGui::Button(ICON_FIRST, button_sz)) { }

The trick in C++ was to define the ICON_FIST in this way:

#define ICON_FIRST u8"\uea21"

I can then rescale my interface by simply changing the font size and the icons keep all nice and clean.

Post reply on HN