[neon/neon/settings/Neon/release-lts] etc/fonts/conf.avail: remove the roboto hinting rules

Harald Sitter null at kde.org
Tue May 25 11:05:42 BST 2021


Git commit b52ae1e91dd3cd0bdf7f11d6d36fde0141be1afc by Harald Sitter.
Committed on 25/05/2021 at 05:47.
Pushed by sitter into branch 'Neon/release-lts'.

remove the roboto hinting rules

a) we don't ship roboto so we really do not care
b) they break kerning in firefox
c) seeing as this file is about noto we have no reason to meddle with
roboto to begin with :shrug:

BUG: 437547

M  +0    -9    etc/fonts/conf.avail/56-neon-noto.conf

https://invent.kde.org/neon/neon/settings/commit/b52ae1e91dd3cd0bdf7f11d6d36fde0141be1afc

diff --git a/etc/fonts/conf.avail/56-neon-noto.conf b/etc/fonts/conf.avail/56-neon-noto.conf
index 77b5b08..105608a 100644
--- a/etc/fonts/conf.avail/56-neon-noto.conf
+++ b/etc/fonts/conf.avail/56-neon-noto.conf
@@ -14,7 +14,6 @@
   <dir>/usr/share/fonts/monotype</dir>
   <dir>/usr/share/fonts/noto</dir>
   <dir>/usr/share/fonts/notocjk</dir>
-  <dir>/usr/share/fonts/roboto</dir>
   <dir>/usr/share/fonts/tibt-jomolhari</dir>
   <!-- Set preference for Noto, Droid and Monotype fonts -->
   <alias>
@@ -934,14 +933,6 @@
     <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
     <edit name="antialias" mode="assign"><bool>true</bool></edit>
   </match>
-  <!-- Roboto is BCI-hinted for widely used LGC characters -->
-  <match target="font">
-    <test name="family"><string>Roboto</string></test>
-    <edit name="hinting" mode="assign"><bool>true</bool></edit>
-    <edit name="autohint" mode="assign"><bool>false</bool></edit>
-    <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
-    <edit name="antialias" mode="assign"><bool>true</bool></edit>
-  </match>
   <!-- Treat Noto Color Emoji as scalable. It's scalable even though
        it's a bitmap font. -->
   <match target="scan">


More information about the Neon-commits mailing list