element-hq / element-hq/element-web
Failure to load fonts in debian sid leads to all text being missing
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
When running element-desktop 1.12.0 in debian sid no text is displayed, making the UI unusable.
### Outcome
I get the following (abbreviated) output when running from CLI:
```
...
Opening main window
[2232:1006/182334.800058:ERROR:ui/gfx/platform_font_skia.cc:258] Could not find any font: DejaVu Sans, sans. Falling back to the default
...
[4218:1006/182336.927471:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[4218:1006/182336.927711:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[4218:1006/182336.929431:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[2232:1006/182336.993673:ERROR:ui/gfx/platform_font_skia.cc:258] Could not find any font: DejaVu Sans, sans. Falling back to the default
[4218:1006/182337.942555:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[4218:1006/182337.942819:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[4218:1006/182337.943009:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
[4218:1006/182337.943190:ERROR:third_party/blink/renderer/core/css/remote_font_face_source.cc:357] NOTREACHED hit.
...
```
For clarity's sake, `fonts-dejavu` `fonts-dejavu-core` `fonts-dejavu-extra` `fonts-dejavu-mono` are installed. I fixed it by downgrading to 1.11.99 which was still in my apt cache
### Operating system
Debian Sid
### Application version
1.12.0
### How did you install the app?
https://packages.element.io/debian/
### Homeserver
matrix.org
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.