Maui Forums
Youtube strange font rendering for digits - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: Youtube strange font rendering for digits (/showthread.php?tid=24365)



Youtube strange font rendering for digits - leszek - 10th April 2017

Since a few days Youtube changed the rendering of fonts especially digits which leads to some strange looking fonts like those: http://imgur.com/a/zIWy9

The issue appears on all browsers as it is linked to the noto font. It tries to use the Arabic part of the noto font to render the digits. 
Youtube is aware of that problem already: https://www.reddit.com/r/youtube/comments/643j9e/is_there_a_new_number_font_on_youtube/dfz6a7d/

To fix the issue temporary you can blacklist the using of the arabic noto font (of course don't do this if you need that specific font).
To do this create a directory ~/.config/fontconfig/conf.d/ and add the file 78-Reject.conf to it with the contents
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- Generated by Font Manager. Do NOT edit this file. -->
<fontconfig>
  <selectfont>
    <rejectfont>
      <pattern>
        <patelt name="family">
          <string>Noto Naskh Arabic UI</string>
        </patelt>
      </pattern>
    </rejectfont>
  </selectfont>
</fontconfig>

Save this file and restart your browser.
This should fix the font rendering issue on Youtube for digits.