File: 2002_use-Noto-font-instead-of-Ubuntu-font.patch

package info (click to toggle)
lomiri-system-settings 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,484 kB
  • sloc: cpp: 15,892; python: 5,994; xml: 362; javascript: 80; makefile: 46; sh: 5
file content (26 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: In Debian, use Noto Sans font, not Ubuntu font.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: not needed, Debian-specific

--- a/plugins/background/Components/ListItemsHeader.qml
+++ b/plugins/background/Components/ListItemsHeader.qml
@@ -44,7 +44,7 @@
             }
 
             color: theme.palette.normal.foregroundText
-            font.family: "Ubuntu"
+            font.family: "Noto Sans"
             fontSize: "medium"
             elide: Text.ElideRight
             textFormat: Text.PlainText
--- a/plugins/battery/PageComponent.qml
+++ b/plugins/battery/PageComponent.qml
@@ -138,7 +138,7 @@
                     ctx.lineWidth = units.dp(2)
 
                     var fontHeight = FontUtils.sizeToPixels("small")
-                    ctx.font="%1px Ubuntu".arg(fontHeight)
+                    ctx.font="%1px Noto Sans".arg(fontHeight)
 
                     ctx.translate(0, 1)