Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Font issue on linux #8069

Closed
SwartzCr opened this issue Apr 4, 2017 · 25 comments
Closed

Font issue on linux #8069

SwartzCr opened this issue Apr 4, 2017 · 25 comments

Comments

@SwartzCr
Copy link

SwartzCr commented Apr 4, 2017

  • Did you search for similar issues before submitting this one?
    sure did

  • Describe the issue you encountered:
    running a fresh install of brave, numbers are seem like they're coming from a different font set than text. They are hollow and hard to read. 7 is specifically distorted.

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    freshly installed stretch

  • Brave Version (revision SHA):
    0.14.1

  • Steps to reproduce:

    1. install debian stretch
    2. install brave for linux (then figure out how to get namespaces working)
    3. go to a page with numbers on it
  • Actual result:
    numbers appear hard to read and seem to be a different font than text.

  • Expected result:
    numbers should look normal, like letters on apage.

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?
    I would hope so

  • Is this an issue in the currently released version?
    yes

  • Can this issue be consistently reproduced?
    yes

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:
    bravenumbers

  • Any related issues:

@SwartzCr SwartzCr changed the title Numbers be all whack on linux Numbers be fucked on linux Apr 5, 2017
@luixxiul luixxiul changed the title Numbers be fucked on linux Font issue on linux Apr 7, 2017
@luixxiul
Copy link
Contributor

luixxiul commented Apr 7, 2017

please avoid f word thanks

@SwartzCr
Copy link
Author

SwartzCr commented Apr 9, 2017

I've edited the posting - any idea how one might investigate the fonts that Brave is trying to use?

@torgo
Copy link

torgo commented Apr 19, 2017

I've got asimilar fonts related issue in that in certain places (e.g. github) i see no spaces and all the numbeers are emojis. See attached. Has only been happening since I installed 0.14.1. I am on Ubuntu 16.10.

image

@jonathansampson
Copy link
Collaborator

jonathansampson commented Apr 19, 2017

@torgo @SwartzCr Are either of you able to poke around in the styles (ctrl+shift+I) and see if toggling anything off/on resolves/modifies the presentation?

You might try running document.body.style.fontFamily = 'initial' from the console.

@SwartzCr
Copy link
Author

disabling this seems to help me:
body {font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
fwiw I think my weird characters are emoji as well. It seems to be that emoji is taking precedence over the normal font?
This is also happening to me in standard chrome

@jonathansampson
Copy link
Collaborator

@SwartzCr We should file this issue against Chrome as well then. Are you able to tell which of those fonts are being applied? I doubt Segoe fonts will be on there, and I'd be shocked if Apple Color Emoji was. But at this point, I'm completely befuddled by this entire issue :)

@SwartzCr
Copy link
Author

Weirdly it's Helvetica???
withhelvetica
sanshelvetica

@jonathansampson
Copy link
Collaborator

@SwartzCr Do you also see the issue here? https://jsfiddle.net/jonathansampson/5e5o0feb/

@SwartzCr
Copy link
Author

well none of those names have numbers in them so I can't tell...

@jonathansampson
Copy link
Collaborator

@SwartzCr Oh, my bad. Please check now.

@SwartzCr
Copy link
Author

fonttest

@jonathansampson
Copy link
Collaborator

@SwartzCr Whoa.

@cndouglas
Copy link

Maybe it's a Chromium issue? Here's a list of bug reports for fonts/emoji.

@torgo
Copy link

torgo commented Apr 20, 2017

Confirmed - I am seeing the same issue on Chromium 57.0.2987.98

@jonathansampson
Copy link
Collaborator

@torgo Can you share what you see when you visit https://jsfiddle.net/jonathansampson/5e5o0feb/?

@SwartzCr
Copy link
Author

fwiw I'm using google-chrome on Debian 9, not chromium, and also brave

@cndouglas
Copy link

Both Google Chrome and Brave actually use Chromium behind the scenes. So if there is an issue in both browsers, the problem might be coming from Chromium.

The upcoming version of Brave (0.15.0) will use Chromium 58 (and I think Google Chrome 58 is currently being rolled out). We can see if the problem still exists with version 58 and file a bug report with Chromium if it's still happening.

@SwartzCr
Copy link
Author

any movement on this? When is the next version of chromium planned to be release? And has anyone opened a bug for them?

@jonathansampson
Copy link
Collaborator

@SwartzCr We released 0.15.0, which uses Chromium 58. Do you still see the same behavior?

@SwartzCr
Copy link
Author

no, still broken in chrome 58

@jonathansampson
Copy link
Collaborator

jonathansampson commented Apr 29, 2017

@SwartzCr Sorry, did you mean Chromium instead? Or do you see this issue in both Brave 0.15.0, and Chrome 58? If you're seeing this in Chrome, we should file a crbug.

@torgo
Copy link

torgo commented May 2, 2017

Still seeing the issue... And also in Chromium. Doesn't look like any current chromium bug is applicable. :( I am now on brave 15.1 and I also see the issue on Chromium 58.0.3029.81.

@SwartzCr
Copy link
Author

fwiw I opened a chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=725569

@jonathansampson
Copy link
Collaborator

@SwartzCr Looks like we aren't making much progress with the Chrome team. I managed to come across another project here that was seeing similar issues: 13rac1/emojione-color-font#40.

@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
@bsclifton bsclifton removed this from the Triage Backlog milestone Aug 30, 2018
@blueforesticarus
Copy link

I had a similar problem, except the issue wasn't Helvetica. Chromium was trying to render numbers with the Segoe UI Emoji font. On my system, this actually mapped to Noto Color Emoji, which resulted in all numbers being rendered as orange bubbles (like the example above with blue circles around numbers). The issue also showed up on other websites like todoist.com

The solution for me was to uninstall the Noto Emoji fonts from my system.
I found this thread discussing what I assume is the source of the problem.

I should note that this happened in all chromium based browsers I tested but did not show up in firefox because firefox matched a different font to Segoe UI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants