Skip to content

Native Android client for Spotify, built with Jetpack Compose

App font: Manrope (Latin, Cyrillic and Greek) instead of Figtree, so Russian and Ukrainian text no longer falls back to the system font line by line (#62)

kota-zoc66fcac90608
diff --git a/README.md b/README.md
index f3df99b9..e370cfa5 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,7 @@ Every push builds and tests on GitHub Actions. A `v*` tag publishes a signed APK
- [SpotiFLAC Mobile](https://github.com/zarzet/SpotiFLAC-Mobile) (MIT) and its [extensions](https://github.com/zarzet/SpotiFLAC-Extension) (Apache-2.0): the signed download sessions and the Tidal / Qobuz requests.
- [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) (GPL-3.0): music videos.
- Lyrics: [LRCLIB](https://lrclib.net), LyricsPlus, lrc.red, Kugou and NetEase; song meanings: [Genius](https://genius.com).
-- [Material Icons](https://github.com/google/material-design-icons) (Apache 2.0) and the [Figtree](https://github.com/erikdkennedy/figtree) font (SIL OFL 1.1, see `base/licenses/`).
+- [Material Icons](https://github.com/google/material-design-icons) (Apache 2.0) and the [Manrope](https://github.com/googlefonts/manrope) font (SIL OFL 1.1, see `base/licenses/`).
Full notices: [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md).
diff --git a/base/app/src/main/java/com/music/spotui/ui/theme/Type.kt b/base/app/src/main/java/com/music/spotui/ui/theme/Type.kt
index b714d840..ba381757 100644
--- a/base/app/src/main/java/com/music/spotui/ui/theme/Type.kt
+++ b/base/app/src/main/java/com/music/spotui/ui/theme/Type.kt
@@ -9,9 +9,12 @@ import androidx.compose.ui.unit.sp
import app.myspoti.engine.R
/**
- * UI typeface: Figtree (SIL Open Font License 1.1, licenses/Figtree-OFL.txt), a free
- * geometric grotesque close to the official app's look. One variable font file,
- * each weight picked through its "wght" axis.
+ * UI typeface: Manrope (SIL Open Font License 1.1, licenses/Manrope-OFL.txt), a free
+ * geometric sans close to the official app's look. One variable font file, each weight
+ * picked through its "wght" axis (200 to 800: the heaviest cut asks for 900 and gets 800).
+ * It has Latin, Cyrillic and Greek glyphs. The Figtree it replaced had no Cyrillic, so Android
+ * drew those letters with the system font and a Russian or Ukrainian interface jumped between
+ * two typefaces (issue #62).
*/
@OptIn(androidx.compose.ui.text.ExperimentalTextApi::class)
private fun sans(weight: Int) = Font(
diff --git a/base/app/src/main/res/font/app_sans.ttf b/base/app/src/main/res/font/app_sans.ttf
index 579e2ab5..75274da5 100644
Binary files a/base/app/src/main/res/font/app_sans.ttf and b/base/app/src/main/res/font/app_sans.ttf differ
diff --git a/base/licenses/Figtree-OFL.txt b/base/licenses/Manrope-OFL.txt
similarity index 98%
rename from base/licenses/Figtree-OFL.txt
rename to base/licenses/Manrope-OFL.txt
index 80b12bb3..e271172a 100644
--- a/base/licenses/Figtree-OFL.txt
+++ b/base/licenses/Manrope-OFL.txt
@@ -1,4 +1,4 @@
-Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
+Copyright 2018 The Manrope Project Authors (https://github.com/googlefonts/manrope)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: