Fixing DDG Proxima Nova Web font issues on Linux

shmerl shmerl
Created: 4 years and 2 months ago • Updated: 4 years and 2 months ago
New DDG UI introduced DDG_ProximaNova Web font, which appears somewhat messed up for me on Linux. For example letter "i" has a shifted dot (see word Wikipedia in the last search result in the next image):

[https://i.imgur.com/SsicEFJ.png]

The problem seems to be with hinting information (it can be a bug in the font), so switching autohinter on for that font made it look better. Here is the snippet to add to $HOME/.config/fontconfig/fonts.conf (note that it doesn't include needed wrapping tags for the whole file. See https://wiki.archlinux.org/index.php/Fon... for more info).

Code:
<match target="font">
  <test name="family">
    <string>@font-face:DDG_ProximaNova</string>
  </test>
  <edit mode="assign" name="autohint">
    <bool>true</bool>
  </edit>
  <edit mode="assign" name="lcdfilter">
    <const>lcddefault</const>
  </edit>
</match>


Compare the new result to the above:

[http://i.imgur.com/Ehh0rZU.png]

It still looks very slightly shifted but at least its much better this way.

This forum has been archived

Thank you all for the many comments, questions and suggestions. Particular thanks go to user x.15a2 for constantly monitoring, replying and helping so many users here. To continue these discussions, please head over to the DuckDuckGo subreddit.


anonymous
Thank you. This looks so much better.
posted by <hidden> • 4 years and 2 months ago Link