flathub / flathub/com.valvesoftware.Steam

[Bug + Solution] Broken cyrillic fonts in the Big Picture mode

Open
#827 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
421
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I've stumbled upon broken cyrillic fonts in the Steam client, they are replaced with a monospaced font:
![tfw_no_fonts](https://user-images.githubusercontent.com/65257009/141019225-936d3bbd-5f56-4cac-9205-b4c13558d05f.jpg)

System information:
- Host: Linux Mint 20.2 Cinnamon with Linux 5.4.0-80-generic kernel
- flatpak: v1.12.2 installed from `ppa:flatpak/stable`
- Steam flatpak distribution: 1.0.0.72
- Steam client info: build Oct 13 2021, 19:47:24, Steam API v020, Steam version 1634158817

**TL;DR of my solution**: copy microsoft fonts into the flatpak runtime used by Steam

Detailed solution:

1. Exit Steam
2. Install `ttf-mscorefonts-installer` on host system and run `fc-cache -f -v`
3. Find what flatpak runtime is used by Steam: `flatpak list --app --columns=application,runtime | fgrep -i 'steam'`
4. Copy the freshly installed fonts into this runtime: `cp -rt /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/VERSION/HASH/files/share/fonts/ /usr/share/fonts/truetype/msttcorefonts` (requires root)
5. Start Steam and launch the Big Picture mode, cyrillic text looks good now:
![tfw_have_fonts_now](https://user-images.githubusercontent.com/65257009/141020257-4e06aca8-ef34-45cf-9bcc-010e525bda99.jpg)

Would it be possible to embed these fonts into the flatpak distribution so the cyrillic text could look nice ootb?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.