Android-Umsetzung der Homepage
Some checks failed
Code Analysis and Production Deploy / analyze (push) Failing after 2m22s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Has been skipped

This commit is contained in:
Torsten Schulz (local)
2026-05-27 17:54:24 +02:00
parent 817f5e02ca
commit 7e0c92368e
6816 changed files with 111919 additions and 53 deletions

View File

@@ -0,0 +1,37 @@
Fonts für die Android-App
Dieses Verzeichnis soll die gebündelten TTF-Dateien enthalten, damit die App die gleichen Schriften wie die Web-UI verwendet.
Automatischer Download (empfohlen):
1. Ausführbar machen:
```bash
chmod +x android-app/scripts/download-fonts.sh
```
2. Script ausführen:
```bash
./android-app/scripts/download-fonts.sh
```
Das Script lädt die variable Font-Dateien `Inter[opsz,wght].ttf` und `Montserrat[wght].ttf` in `app/src/main/res/font/` und benennt sie in `inter_variable.ttf` und `montserrat_variable.ttf`.
Manuelle Alternative:
- Lade `Inter` und `Montserrat` vom Google Fonts Repo herunter und lege die TTFs in dieses Verzeichnis.
- Benenne die Dateien wie oben.
Compose-Nutzung (Beispiel in Kotlin):
```kotlin
val Inter = FontFamily(
Font(R.font.inter_variable)
)
val Montserrat = FontFamily(
Font(R.font.montserrat_variable)
)
```
Hinweis: Das Herunterladen der Fonts erfolgt von GitHub (Raw URLs). Prüfe die Lizenzen (Google Fonts sind in der Regel OFL-lizenziert).