Inconsistent emojis display (Win 8.1)

User Help for Mozilla Firefox
Post Reply
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

In order to be able to display as many recent symbols and emojis as possible with Firefox on a Windows 8.1 machine, I've done the following:

Checked TwemojiMozilla.tff version which is the latest one as of today, v0.7.0
Copied/Pasted EmojiOneMozilla.ttf in the Firefox fonts folder, where the previous font is, just in case ; v0.2.2
Updated Segoe UI Emoji font seguiemj.ttf to the one from Windows 11, v1.33
Installed Segoe MDL2 Assets segmdl2.ttf from Windows 11, v1.86
Installed Noto Emoji Regular NotoEmoji-VariableFont_wght.ttf v2.001, black and white emojis but no other choice for now for Unicode 15 because NotoColorEmoji.ttf is a CBDT font which requires at least Windows 10 v1607
Installed Wingdings2 WINGDNG2.TTF from Windows 11, v1.55
Installed Wingdings3 WINGDNG3.TTF from Windows 11, v1.55
Installed George Douros' Symbola font Symbola.otf, v13.00

Problem: when using this test page:
https://unicode.org/Public/emoji/15.0/emoji-test.txt

Firefox doesn't display any Unicode 14 nor any Unicode 15 emojis (those marked E14.0 and E15.0), I got a rectangle with the hex number of the emoji instead:

Image


But Librewolf is displaying them all but the Unicode 15 E15.0 ones (at the bottom):

Image


However, older engines used by Waterfox Classic or Palemoon display them all (E15.0 being displayed by Noto Emoji Regular NotoEmoji-VariableFont_wght.ttf font):

Image

Any idea about what is going on ? And how to solve it ?
Disabling all extensions didn't help.
Last edited by DanRaisch on March 27th, 2023, 7:53 am, edited 1 time in total.
Reason: (Win 7) added to subject
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

Last edited by DanRaisch on 27 Mar 2023 15:53
Reason: (Win 7) added to subject
It's not Windows 7 but Windows 8.1 as I said in my first post, so I have edited the subject accordingly. The user agent of my messages has nothing to do in this case.
Anyway, this is not about the OS but about different browsers from the Mozilla family which don't behave the same on the same machine.
User avatar
MarkRH
Posts: 1358
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

Re: Inconsistent emojis display (Win 8.1)

Post by MarkRH »

Just FYI, I am using Firefox 111.0.1 in Windows 10 Pro and I am seeing the E14 emoticons. I am not seeing the E15 ones though. My Segoe UI Emoji font is version 1.29 and TwemojiMozilla.tff is version 0.7.0. Don't have other browsers installed at the moment to check with them.
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Inconsistent emojis display (Win 8.1)

Post by morat »

I thought the operating system had to support the unicode version to display the emojis correctly.

In Firefox, I see the same emojis as MarkRH.

Segoe UI Emoji 1.29
Twemoji Mozilla 0.7.0
Firefox 111.0.1
Windows 10 Pro 21H2 32-bit

In Google, I only see some E13 emojis, I don't see E14 emojis, I don't see E15 emojis.

Chrome 111.0.5563.147
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

Yes, Firefox should use TwemojiMozilla.tff for Unicode 14 but it doesn't work. However, it works with my other Mozilla based browsers on the same machine as shown in my first post.
I can see in Firefox inspector that TwemojiMozilla.tff is loaded but it seems not to be used so there is something which is blocking it.

Or is it about priority ? Maybe since I've upated Segoe UI Emoji it's taking over Twemoji Mozilla ?
So how does Firefox manage fonts usage priority ?
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

I've done more tests and I've found something even more strange: when I open this page Twemoji Mozilla is being used:
https://emojipedia.org/melting-face/

Waterfox and Librewolf are showing both emojis, the one at the top and the one at the bottom:

Image


But Firefox doesn't show the one at the bottom:

Image


With this page we can see Noto Emoji is used for Unicode 15:
https://emojipedia.org/shaking-face/


Again, Waterfox is showing both emojis:

Image


And again Firefox doesn't show the one at the bottom and this time Librewolf does the same:

Image


There is something fishy! :shock:
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Inconsistent emojis display (Win 8.1)

Post by morat »

Lotesdelere wrote:Firefox should use TwemojiMozilla.tff for Unicode 14 but it doesn't work.
note: file extension should be .ttf not .tff

What are the values of these preferences?

* font.name-list.emoji
* gfx.bundled-fonts.activate

These preferences are equal to "Segoe UI Emoji, Twemoji Mozilla" and -1 on my system.

font.name-list.emoji no longer working (see comment 4)
http://bugzilla.mozilla.org/show_bug.cgi?id=1694378#c4

Determine if we still need to load TwemojiMozilla.ttf (see comments about Win8.1)
http://bugzilla.mozilla.org/show_bug.cgi?id=1686274#c2

Try setting the gfx.bundled-fonts.activate to 1, then restart.

Code: Select all

# Whether to load fonts (e.g. Twemoji Mozilla) bundled with the application:
#  -1 - Auto behavior based on OS version (currently, disables loading on
#       "low-memory" Android devices)
#   0 - Skip loading any bundled fonts
#   1 - Always load bundled fonts
- name: gfx.bundled-fonts.activate
  type: int32_t
  value: -1
  mirror: once
Reference
http://searchfox.org/mozilla-release/se ... &path=yaml

Here is how to create a list of all emoji fonts in the system clipboard using the browser console.

More info: http://forums.mozillazine.org/viewtopic ... #p14859203

All emoji fonts on my system: EmojiOne Color, Segoe UI Emoji, Twemoji Mozilla

* C:\Windows\Fonts\EmojiOneColor-SVGinOT.ttf (version 1.3.20160725)
* C:\Windows\Fonts\seguiemj.ttf (version 1.29)
* C:\Program Files\Mozilla Firefox\fonts\TwemojiMozilla.ttf (version 0.7.0)

Maybe you can set the font.system.whitelist preference to load these fonts on your system.

Similar threads
http://forums.mozillazine.org/viewtopic ... &t=3033601
http://forums.mozillazine.org/viewtopic ... &t=3039069
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

Sorry, I think I wasn't clear enough.

When you visit this page:
https://emojipedia.org/melting-face/

This is a big emoji at the top just before the "Melting Face" text, and not an image. It can be selected with the mouse cursor then copied and pasted like any other part of the text.
However, this is the same emoji just before the "Copy" button but it is not displayed, as you can see in the screenshot.

How come on the same page the same emoji is once displayed and once not ?

Image
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Inconsistent emojis display (Win 8.1)

Post by morat »

The following page displays correctly for me in Firefox, but not in Chrome. I can uncheck the "font-family: inherit;" rule for the input element in developer tools to show the emoji in the copy box in Chrome. The issue gets more complicated when dealing with html files when compared to txt files.

Melting Face Emoji
http://emojipedia.org/melting-face/

Unicode code converter
http://r12a.github.io/app-conversion/
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Inconsistent emojis display (Win 8.1)

Post by dickvl »

For me Firefox uses the Twemoji Mozilla font to display the melting pod and other E 14 emojis.
E 15 fonts do not work for me.
Transport and Map Symbols
Symbols and Pictographs Extended-A
https://en.wikibooks.org/wiki/Unicode/C ... F000-1FFFF
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

dickvl wrote:Transport and Map Symbols
Symbols and Pictographs Extended-A
https://en.wikibooks.org/wiki/Unicode/C ... F000-1FFFF
A very interesting page because it has shown me the problem with my Firefox: in some cases it's not using the same font for a given character set as the other browsers, as you can see below:

Characters from 1F6CB:
Font with Waterfox:
Image

Font is different with Firefox:
Image


In this section all of the characters are impacted:
Font with Waterfox:
Image

Font is different with Firefox:
Image


Does anyone know why this is happening ? How is font priority managed by Firefox ?
morat
Posts: 6403
Joined: February 3rd, 2009, 6:29 pm

Re: Inconsistent emojis display (Win 8.1)

Post by morat »

I'm curious. Are there any changes on the wikibooks.org site after setting the gfx.bundled-fonts.activate pref to 1? Remember to restart before testing.

P.S.

I guess you could change the order of the font.name-list.emoji pref to change the font priority.

Unicode country flags not displayed (see comment 8)
http://bugzilla.mozilla.org/show_bug.cgi?id=1692498#c8
Lotesdelere
Posts: 32
Joined: March 13th, 2013, 4:38 am

Re: Inconsistent emojis display (Win 8.1)

Post by Lotesdelere »

morat wrote:Are there any changes on the wikibooks.org site after setting the gfx.bundled-fonts.activate pref to 1? Remember to restart before testing.
Nope, no changes at all, same display as in my screenshots.

morat wrote:I guess you could change the order of the font.name-list.emoji pref to change the font priority.
There are only two values in this key: Segoe UI Emoji and Twemoji Mozilla . I just inverted them and now Firefox uses the same font as Waterfox for displaying the emojis (TwemojiMozilla) but still doesn't display some of them which are displayed with TwemojiMozilla by Waterfox, as you can see in my previous post:

Image

Notice that Waterfox Classic is using the old engine. However, Librewolf is using the new engine and behaves better than Firefox (E15 are missing but not E14):

Image

I need to find the difference in the settings between Firefox and Librewolf.

morat wrote:Unicode country flags not displayed (see comment 8)
http://bugzilla.mozilla.org/show_bug.cgi?id=1692498#c8
Flags are showing fine in Firefox but the England, Scotland and Wales ones, a black flag is shown instead:

Image

I've found some related bug reports:
https://bugzilla.mozilla.org/show_bug.cgi?id=1686274
https://bugzilla.mozilla.org/show_bug.cgi?id=1687691
Post Reply