Not seeing some unicode characters
-
I am trying to resolve this issue but not being able to figure it out. I like using Vivaldi as my primary browser and noticed that when I am on certain sites some unicode characters do not work.
I am running Arch Linux and here is what Help/About has:
Vivaldi 5.1.2567.39 (Stable channel) stable (64-bit)
Revision 8963a81d8c1c8fcb85102a26391fa62c3887f8cd
OS Linux
JavaScript V8 9.8.177.9
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.88 Safari/537.36
Command Line /usr/bin/vivaldi-stable --enable-crashpad --flag-switches-begin --flag-switches-end --save-page-as-mhtml
Executable Path /opt/vivaldi/vivaldi
Profile Path /home/eric/.config/vivaldi/DefaultHere is an image of it not displaying:
Here is the same image though from Firefox:
I have installed so many fonts. Deja Vu, Noto, Nerd, Liberation. I have looked at my font settings in Vivaldi and here is what I have currently.
I am not sure what to put in for Cursive and Fantasy. So it defaulted to that. In Firefox it is the following.
Any help in this would be greatly appreciated. -
@esclaus I co not know on which web site i can test your wrong display with Vivaldi.
Firefox has its own built-in fonts and font replacement strategy.Blocked web fonts?
Broken replacement font?
Missing symbol fonts?
⇒ https://wiki.archlinux.org/title/FontsI do not know your font cache and fallbacks for missing fonts.
-
Sorry here is the website in question. https://gitlab.com/dwt1/dotfiles/-/blob/master/.config/qtile/config.py
If you scroll down you will see some unicode that isn't showing as per the image I show.
Here are the fonts that I have installed:
adobe-source-code-pro-fonts awesome-terminal-fonts cantarell-fonts gsfonts nerd-fonts-complete noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra powerline-fonts ttf-dejavu ttf-liberation ttf-opensans ttf-ubuntu-font-family xorg-font-util xorg-fonts-encodings
I also did some digging inspected the page and firefox is using noto-fonts and nerd-fonts while Vivaldi is using Noto-fonts
As the wiki and fallback fonts I am confused as how that works or what directory to put it in or what even to put in it to match what Firefox is doing. I am willing to learn though.
-
@esclaus Not a issue of Vivaldi, characters fail to display on Windows with Firefox 97, Edge 98 and Chromium 98 & 100, too.
Same on Debian 10 & Ubuntu 20 LTS GNOME & Manjaro 21 KDE with Chrome 98, Chromium 98 & 100, Vivaldi 5.0/5.1, Firefox 97.I do not know why your Firefoxcan display the missing font char, perhaps it guesses the wrong encoding.
Broken code display of GitLab web page, i fear.
-
@esclaus said in Not seeing some unicode characters:
https://gitlab.com/dwt1/dotfiles/-/blob/master/.config/qtile/config.py
The Python source show same missing characters, source is not correct UTF-8 Unicode, missing BOM!
I do not want to spend more time on this.
-
I decided to change my monospace font within Vivaldi from Noto monospace to agave Nerd. That resolved my issue. The only reason I am using agave Nerd is that is what Firefox was using. I will need to keep it on to see if it causes other issues but at least I am seeing the fonts render properly now.
I am not sure this would of been resolved through the Fallback fonts because that is confusing to me.
As for testing this on Windows I think that isn't a fair test. Windows would need the fonts installed just like Linux does. The fact that the site in question is configuration files for Linux would lean towards testing it in Linux.
Also I downloaded the python source and pulled it into nvim and it shows the correct fonts with no changes because my system has the fonts. Also I loaded this up in Visual Studio Code and at first it didn't show them correctly but after adding agave Nerd Font Mono to the fonts within the app it showed them.
If this is how you treat people that are having problems I would suggest not being a volunteer then. Is my problem resolved now? Yes but not because you helped. Instead you made it sound like I was in the wrong or the site is wrong when this is in fact a font issue and how Vivaldi and maybe perhaps all Chromium based browsers handle fonts.
Sorry to have even bothered posting on the forums and wasting your time.
-
If this is how you treat people that are having problems
I can not test all your fonts on different Linux distributions to get an idea what is wrong.
But i did not wanted to offend you. I apologize.after adding agave Nerd Font Mono
Thanks for hint!
I try now with
https://github.com/ryanoasis/nerd-fonts#patched-fonts
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Agave/complete/edit: Installed TTF font, but Python source on web page does not show up (Windows 11 & Manjaro 21) with correct chars
-
@esclaus Now i tried Manjaro package nerd-fonts-noto-sans-mono and only Firefox showed the chars, but not on Vivaldi, Chrome or Chromium.
I think it is a Chromium issue that the font does not show up.You found a Chromium bug!
Perhaps an other Arch user can help more. Good luck.
Please ask @pafflick from official Vivaldi Team for better advices.