-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icons #8
Comments
It tries to take the system fonts. I am guessing this can be fixed if you install any of the colored emojis and refresh font cache. |
yeah, looks like it's because of that, but this solution doesn't seem to work for me, PopOS/Ubuntu 19.04 with Microsoft fonts installed. Also just noticed that I have the same issue in Chrome, the screenshot was from Firefox. For some reason my Chrome always chooses Segoe UI Symbol according to DevTools :( Firefox used Segoe UI Emoji and changed to Noto after adding the file from the answer above. |
One of the issues with my Chrome was that I didn't restart it properly, the process was still alive after closing it, so I killed it manually and it started working correctly here https://jsfiddle.net/s5om3r2e/ and here https://eosrei.github.io/emojione-color-font/full-demo.html but on notion.so (and lotion) it still for some reason chooses Segoe UI Symbol, maybe because of its CSS. |
Yeah, looks like it's indeed because of the CSS. There is this on some top-level div:
If I delete |
There may be a chance that Chrome was using font cache from a different source. Usually, you can change the font priority using the font config file. |
I fixed my issue by installing the font JoyPixels from https://www.joypixels.com/ and changing the font-family by typing in the Notion app's console: document.querySelector('div.notion-app-inner').style.fontFamily = '"Segoe UI", "JoyPixels"' For Fedora (or maybe other distros) where Noto Color Emoji is installed by default, users can change Also, on Firefox, the emoji font is Twemoji Mozilla, which cannot be displayed properly on Chrome on Linux:
Some more details can be found here: |
it will disappear after restart. Is there any way to make it permanent? In normal Chrome you can use extensions like TamperMonkey or Stylus. btw I sent the bug report to Notion, maybe they will add Noto to the list of fonts in the future.
Ubuntu too. |
That's true, and I am not sure if @puneetsl can add a script to set the startup behavior of Notion(or Lotion), as it is created by What I do is just |
Unfortunately, I am not able to replicate this behavior. After testing one my 2 Linux laptops, it always came down to fixing system fonts and updating font cache. This problem is one of the most important hindrances for Notion folks to release a native Notion app for Linux. |
Here is how I reproduced it now:
|
The workaround for me for now was to remove One strange thing is that without the config Chrome chooses (I would prefer the colored |
Found this in my notes somewhere to install emojis in Ubuntu.. it might work for some people:
|
I don't know what changed but after I had made a fresh re-install of Fedora 31, this method actually worked: https://victor.kropp.name/blog/emoji-on-linux/ My <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>JoyPixels</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>JoyPixels</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>JoyPixels</family>
</prefer>
</alias>
</fontconfig> |
Closing this issue as it is more or less fixed |
Perfect! Thanks for letting us know |
Why some icons are different from the web version? (worse)
For example the stars:
I thought this app is just a web browser opening notion.so, why does it need to replace the icons?
The text was updated successfully, but these errors were encountered: