Closed
Bug 1396987
Opened 7 years ago
Closed 7 years ago
emoji fonts breaks text rendering when selected from fonts list
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: giuseppeit18, Unassigned)
Details
(Keywords: fonts)
Attachments
(1 file)
34.54 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170824000000
Steps to reproduce:
-Change font to emojiOne mozilla or noto emojii
-open https://ftp.mozilla.org/pub/firefox/releases/
Actual results:
You can see the text numbers replaced by emoji numbers or some text rendering artifacts
Expected results:
maybe a problem with the emojionemozilla.ttf file or the fonts handling
I reproduced the bug on:
-Opensuse Tumbleweed
-Opensuse Leap 42.3
-Kubuntu 17.10 beta
Updated•7 years ago
|
Component: Untriaged → Layout: Text
OS: Unspecified → Linux
Product: Firefox → Core
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
reproducible even on Windows 7 SP1 x64
Comment 2•7 years ago
|
||
I'm not sure I would consider this a bug.... if you change the (default) font to a color-emoji font that has emoji-style glyphs for the ASCII numbers (as both EmojiOne and Noto do), then naturally this will be the result on a page that does not explicitly set any other font family.
Setting the browser's default serif or sans-serif font family to an emoji font just isn't a very useful thing to do.
Reporter | ||
Comment 3•7 years ago
|
||
I temporarily changed the character to force the visualization of the emoji. The wrong visualization is present with a specific combination of dots and numbers and not all the websites.Numbers Dots and emoji have different unicode.I check this problem with other version of firefox and symbols font.
windows 7
FF nightly : segoe ui -phoronix.com ok ftp.mozilla ok
emojione -phoronix.com ok ftp.mozilla wrong
FF 55 : segoe ui -phoronix.com ok ftp.mozilla ok
emojione -phoronix.com ok ftp.mozilla wrong
Linux
FF 55 emojione -phoronix.com wrong ftp.mozilla wrong
As you can see linux and windows on phoronix.com have a different rendering. I think that it's possible only with a bug in the font handling.
Updated•7 years ago
|
Priority: -- → P3
Comment 4•7 years ago
|
||
(In reply to Giuseppe Salinaro from comment #3)
> I temporarily changed the character to force the visualization of the emoji.
> The wrong visualization is present with a specific combination of dots and
> numbers and not all the websites.Numbers Dots and emoji have different
> unicode.I check this problem with other version of firefox and symbols font.
>
> windows 7
>
> FF nightly : segoe ui -phoronix.com ok ftp.mozilla ok
> emojione -phoronix.com ok ftp.mozilla wrong
>
> FF 55 : segoe ui -phoronix.com ok ftp.mozilla ok
> emojione -phoronix.com ok ftp.mozilla wrong
>
> Linux
>
> FF 55 emojione -phoronix.com wrong ftp.mozilla wrong
>
> As you can see linux and windows on phoronix.com have a different rendering.
> I think that it's possible only with a bug in the font handling.
The EmojiOne font has "emoji-style" default glyphs for the regular ASCII numbers, so AFAICS the rendering shown in the screenshot is exactly what would be expected if you change the browser's default font to be EmojiOne.
Segoe UI Emoji doesn't do this, it has "normal" text-style glyphs for the numbers.
At this point it looks to me as though it's working as expected for the fonts involved. If you think something is wrong (aside from the "unexpected" glyphs in EmojiOne for ASCII numbers, and perhaps a few other symbols), please provide a specific testcase (minimal HTML file that shows the problem), and screenshots showing the results you get.
Comment 5•7 years ago
|
||
As described in comment 4, I think this is working as expected, given that the EmojiOne font has (emoji-style) glyphs for the ASCII numbers etc. Choosing such a font as the browser's default is bound to result in some pretty bad-looking pages, when the site itself doesn't specify a different font-family.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•