Opened 4 years ago

Closed 3 years ago

Last modified 10 months ago

#19538 closed enhancement (wontfix)

Replace raster glyphicons with vector icons for flags

Reported by: twim Owned by: phw
Priority: Medium Milestone:
Component: Metrics/Relay Search Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Vector icons looks way better than tiny PNGs (especially on bigger screens).
I took ones from Font Awesome and included them. As a bonus there are some nice accessibility features in it.

Child Tickets

#19539enhancementclosedphwAdd red/green circles to indicate uptime/downtime

Change History (10)

comment:1 Changed 4 years ago by twim

Status: newneeds_review

comment:2 Changed 4 years ago by twim

Resolution: wontfix
Status: needs_reviewclosed

comment:3 Changed 4 years ago by karsten

Resolution: wontfix
Status: closedreopened

Hmm, what's the reason for closing this ticket? Maybe it's something that somebody else wants to pick up? Or is there a technical reason? Re-opening for now to not lose track of it.

comment:4 Changed 4 years ago by twim

Sorry, I thought that I've lost this branch and this ticket is not useful anymore. :\
The relevant branch is fontawesome at

comment:5 Changed 4 years ago by cypherpunks

This doesn't play nicely with security set to high.

comment:6 Changed 3 years ago by irl

Status: reopenedneeds_information

If this cannot work with security set to high, I think we should abandon this idea. Is there a workaround?

comment:7 Changed 3 years ago by cypherpunks

It doesn't work on the high security level because it blocks custom fonts (which Font Awesome is). Similarly the graphs are blocked because they use SVG which is also disabled on the high security level. Instead it shows the No data available image which is incorrect in that case but that's something for another ticket.

The symbols turn into tofu which isn't a problem on the details page because each icon has a label next to it. However, in the search results there are no labels so there's only tofu. One solution would be to test whether custom fonts and SVG is supported and use suitable replacements. This would also help #13354 because the proposed country flags also use SVG.

comment:8 in reply to:  7 Changed 3 years ago by teor

Replying to cypherpunks:

One solution would be to test whether custom fonts and SVG is supported and use suitable replacements. This would also help #13354 because the proposed country flags also use SVG.

In Tor Browser, some ways of checking if characters render display a popup dialog about allowing HTML canvas access. Let's not trigger a dialog like that if we can avoid it.

comment:9 Changed 3 years ago by irl

Resolution: wontfix
Status: needs_informationclosed

I would like Atlas to behave in the same way in all cases to reduce any bugs we may miss due to not testing with every security slider setting every time. Using Atlas with Tor Browser with High security is a use case we support, so I don't think we can switch to using vector icons for the sake of them looking nicer while breaking other use-cases and requirements.

comment:10 Changed 10 months ago by torlove

Persuant to what I wrote in a related ticket:


Is there anything about Font Awesome itself that is unsafe for the safest mode? If not, what is stopping Tor Browser from simply embedding the font (or fonts, to be backwards compatible) into the app? Is it a licensing concern?

On a related note, Tor Browser might do well to include the 50 most popular web fonts, out of the box.

If this is a possibility, tell me and I will volunteer time to research the 50 most popular webfonts that can legally be included. There are available statistics on popular fonts. I will also seek to supply web developers with a wide variety of font styles (including extended, narrow, slab, script, calligraphic, etc) such that any privacy aware web developer can easily find a fonts from our selection to either completely fulfil their needs, or provide a good fallback.

In the interests on onboarding as many participants as possible and reducing the bandwidth on the Tor network we should provide the basics. Webfonts today are used so prevalently that we simply cannot completely ignore all font requests. Even, in the safer modes.

Yes these caches may need to be updated from time to time as more glyphs are developed, but not strictly necessary.

To summarise:

  • Can Font Awesome be supported by being packaged into Tor Browser itself?
  • Can we provide some support for popular webfonts in a similar manner?


Note: See TracTickets for help on using tickets.