Earlier quoted context omitted.
Depends. The Navajo Nation and Cherokee Nation both have flags to use that could theoretically be incorporated into Unicode if they didn't draw the line at National flags, but you could always draw flag representations in SVG instead. But I also think this discussion has gone so far into the theoretical it's kind of ignored a very practical point: how many languages do you need to present in your software, because yo…
> Most software isn't going beyond the top two or three recognized languages in a given UN-recognized country There are over 30 languages in India with at least a million NATIVE speakers. 7 of those are in the top 30 most spoken languages in the world
Some flag emojis aren’t working on Chrome on Windows
181–190 of 328 posts
Re: Some flag emojis aren’t working on Chrome on Windows
#182Earlier quoted context omitted.
What does "actually in control" mean? When the IRA set up a checkpoint in Rosslea, should that have moved the border on the map? When there are disputes over uninhabited islands, do you want it to show whoever visited first? Obviously these are small examples, but the same issues apply to full-scale civil wars. You'd also be essentially legitimising the right of conquest if as soon as country A invades country B you…
> You'd also be essentially legitimising the right of conquest Documenting reality doesn't endorse what happened. Istanbul was Constantinople. Shit happens. If I'm travelling, I'd much rather the flags and borders reflect the situation on the ground instead of making meaningless humanitarian gestures.
Re: Some flag emojis aren’t working on Chrome on Windows
#183I don't get why Google doesn't want to ship them with Chrome, since they're not taking any more of a political stance by doing so than they are by shipping them with Android.
Chrome relies on the os certs.
I think that's the correct way how software should works.
Re: Some flag emojis aren’t working on Chrome on Windows
#184Dumb decision from Microsoft. Will they remove country borders from Bing Maps because they might be considered political too?
Re: Some flag emojis aren’t working on Chrome on Windows
#185> My approach was to draw an American flag emoji and then look at the pixels to see if any of them contained a non-grayscale color. This works because the Windows fallback emoji is just black/white text Wait. I thought Windows has ClearType which could render black text on white background using colors. And furthermore there is a wizard to allow users to adjust how much ClearType adjustment there is. This feels like…
The polyfill mentioned and linked in the article has a cleverer solution. It attempts to render the same flag emoji in two different text colors and checks if they end up being the same color or not (same color = probably a color glyph, ie an emoji). https://github.com/talkjs/country-flag-emoji-polyfill/blob/5...
Just randomly sharing, the part of the trick I like the most is that it renders the emojis scaled down to a 1x1 canvas, so it renders just a single pixel. That makes checking stuff like "am i not accidentally reading in the transparent area of the glyph" and stuff like that no problem, because the whole emoji is blurred down to a single pixel.
The author's example is a bit weird in this regard, it does the same trick (set the canvas width and height to 1), and then it still loops through all 1 pixels and discards any transparent ones.
Re: Some flag emojis aren’t working on Chrome on Windows
#186The main issue I have with these flags is that they are more often than not used to indicate language, not country. But many countries have more than one official language and many languages are official language of more than one country. Not many languages have some official flags though. There is one for Esperanto and Francophonie for example. But while anyone speaking Esperanto will certainly recognize the green f…
Re: Some flag emojis aren’t working on Chrome on Windows
#187Nice writeup btw. I still can't get over how ridiculous it is that Windows doesn't have country flags emojis. It just means that every app/website ends up applying a hacky patch like this.
Re: Some flag emojis aren’t working on Chrome on Windows
#188I don't get why Google doesn't want to ship them with Chrome, since they're not taking any more of a political stance by doing so than they are by shipping them with Android.
A 1.4MB binary size cost is massive. I'm a chrome developer and our threshold for what you need to explain the cost/benefit of is 16KB. To me this just isn't worth the cost.
Re: Some flag emojis aren’t working on Chrome on Windows
#189I don't get why Google doesn't want to ship them with Chrome, since they're not taking any more of a political stance by doing so than they are by shipping them with Android.
A 1.4MB binary size cost is massive. I'm a chrome developer and our threshold for what you need to explain the cost/benefit of is 16KB. To me this just isn't worth the cost.
Re: Some flag emojis aren’t working on Chrome on Windows
#190The main issue I have with these flags is that they are more often than not used to indicate language, not country. But many countries have more than one official language and many languages are official language of more than one country. Not many languages have some official flags though. There is one for Esperanto and Francophonie for example. But while anyone speaking Esperanto will certainly recognize the green f…
Are there any good iconic systems you know that identify languages directly?
What I tend to do is have a dropdown with a country icon and language name localized to that language for each language. My pet peeve is trying to switch a website from a language I don't speak into one I do speak and the dropdown listing "Dutch" as "Néerlandais" or whatever instead of "Nederlands". I don't speak french, why would I know what dutch is called in french?