protonscr

Font issue in Fedora 37

steamopen Steam clientDistro Family: Fedora
ValveSoftware/steam-for-linux#8935 · opened 2022-11-19 by Mulgish · updated 2022-12-19 · 2 comments · github
MMulgish 2022-11-19 github

Your system information

  • Steam client version (build number or date): Nov 17 2022 02:42:14
  • Distribution (e.g. Ubuntu): Fedora 37
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

After upgrading to Fedora 37 (from Fedora 36), Steam is missing some font and displays it as rectangles.
image

I have verified that both lib32-fontconfig and ttf-liberation are installed and that Arial font does not fall back to Helvetica as per this article.

fc-match -v Arial
Pattern has 41 elts (size 48)
	family: "Liberation Sans"(s)
	familylang: "en"(s)
	style: "Regular"(s)
	stylelang: "en"(s)
	fullname: "Liberation Sans"(w)
	fullnamelang: "en"(s)
	slant: 0(i)(s)
	weight: 80(f)(s)
	width: 100(f)(s)
	size: 12(f)(s)
	pixelsize: 12.5(f)(s)
	foundry: "1ASC"(s)
	antialias: True(w)
	hintstyle: 1(i)(w)
	hinting: True(s)
	verticallayout: False(s)
	autohint: False(s)
	globaladvance: True(s)
	file: "/usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf"(s)
	index: 0(i)(w)
	outline: True(s)
	scalable: True(s)
	dpi: 75(f)(s)
	rgba: 1(i)(w)
	scale: 1(f)(s)
	charset: 
	0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
	0001: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
	0002: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
	0003: ffffffff ffffffff ffffffff 7c30ffff ffffd7f0 fffffffb ffff7fff ffffffff
	0004: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
	0005: 3c0fffff 00000000 00000000 00000000 fffe0000 ffffffff ffff00ff 001f07ff
	001d: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 000007ff c0000000
	001e: ffffffff ffffffff ffffffff ffffffff 4fffffff ffffffff ffffffff 03ffffff
	001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
	0020: fffdffff 561dfc47 40000010 83f0fc00 001f03ff 803fffff 00000000 00010000
	0021: 00c80020 00004044 78186000 00000000 003f0010 00000100 00100000 00000000
	0022: c6268044 00000a00 00000100 00000037 00000000 00000000 00000000 00000000
	0023: 00010004 00000003 00000000 00000000 00000000 00000000 00000000 00000000
	0025: 11111005 10101010 ffff0000 00001fff 000f1111 14041c03 03ff9c10 00000040
	0026: 00000000 9c000000 000000ff 00009e69 00000000 00000000 00000000 00000000
	002c: 00000000 00000000 00000000 00fe3fff 00000000 00000000 00000000 00000000
	002e: 00800000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	00a7: ff800000 00000003 00000000 00000000 00001f00 00000000 00000000 00000000
	00fb: e0000006 5f7fffff 0000ffdb 00000000 00000000 00000000 00000000 00000000
	00fe: 00000000 0000000f 00000000 00000000 00000000 00000000 00000000 00000000
	00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10000000
(s)
	lang: aa|ab|af|ast|av|ay|az-az|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|ff|fur|fy|ga|gd|gl|gn|gv|ha|haw|he|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|sco|se|sel|sh|shs|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|ve|vi|vo|vot|wa|wen|wo|xh|yap|yi|yo|zu|ak|an|ber-dz|crh|csb|ee|fat|fil|hsb|ht|hz|jv|kab|kj|kr|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
	fontversion: 137625(i)(s)
	capability: "otlayout:DFLT otlayout:bopo otlayout:copt otlayout:cyrl otlayout:grek otlayout:hebr otlayout:latn"(w)
	fontformat: "TrueType"(s)
	embeddedbitmap: True(s)
	decorative: False(s)
	lcdfilter: 1(i)(w)
	namelang: "en"(s)
	prgname: "fc-match"(s)
	postscriptname: "LiberationSans"(s)
	color: False(s)
	symbol: False(s)
	variable: False(s)
	fonthashint: True(s)
	order: 0(i)(s)

I also tried updating font cache via sudo fc-cache -v.

Note that so far I saw this issue only in Steam application.

Startup logs also don't have any obvious errors:

steam.sh[80529]: Running Steam on fedora 37 64-bit
steam.sh[80529]: STEAM_RUNTIME is enabled automatically
setup.sh[80601]: Steam runtime environment up-to-date!
steam.sh[80529]: Steam client's requirements are satisfied
[2022-11-19 23:15:44] Startup - updater built Nov 17 2022 02:42:14
[2022-11-19 23:15:44] Startup - Steam Client launched with: '/home/FooBar/.local/share/Steam/ubuntu12_32/steam'
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-19 23:15:44] Loading cached metrics from disk (/home/FooBar/.local/share/Steam/package/steam_client_metrics.bin)
[2022-11-19 23:15:44] Using the following download hosts for Public, Realm steamglobal
[2022-11-19 23:15:44] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2022-11-19 23:15:44] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2022-11-19 23:15:44] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-19 23:15:44] Verifying installation...
[2022-11-19 23:15:44] Verification complete
Loaded SDL version 2.25.0-p7648887

(steam:80672): Gtk-WARNING **: 23:15:44.416: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'

(steam:80672): Gtk-WARNING **: 23:15:44.418: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
Gtk-Message: 23:15:44.419: Failed to load module "pk-gtk-module"
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xed11b0d0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xed119840
ComputeStartupMode: found registry default startup mode: 0steamwebhelper.sh[80687]: Runtime for steamwebhelper: defaulting to /home/FooBar/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[80687]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
CAppInfoCacheReadFromDiskThread took 116 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)

(steam:80672): Gtk-WARNING **: 23:15:44.937: gtk_disable_setlocale() must be called before gtk_init()
local (potentially out of sync) copy of roaming config loaded - 1859 bytes.
Installing breakpad exception handler for appid(steam)/version(1668654564)
roaming config store loaded successfully - 1859 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1668654564)
BRefreshApplicationsInLibrary 1: 0ms
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
Installing breakpad exception handler for appid(steam)/version(1668654564)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/FooBar/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 2.40 seconds

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.

(steam:80672): LIBDBUSMENU-GLIB-WARNING **: 23:15:46.730: Trying to remove a child that doesn't believe we're it's parent.
Installing breakpad exception handler for appid(steam)/version(1668654564)
BuildCompleteAppOverviewChange: 306 apps

(steam:80672): Gtk-WARNING **: 23:15:48.936: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 7ms
RegisterForAppOverview 2: 7ms

(steam:80672): Gtk-WARNING **: 23:15:49.561: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-19 23:17:44] Background update loop checking for update. . .
[2022-11-19 23:17:44] Checking for available updates...
[2022-11-19 23:17:44] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2022-11-19 23:17:44] Manifest download: send request
Installing breakpad exception handler for appid(steam)/version(1668654564)
[2022-11-19 23:17:44] Manifest download: waiting for download to finish
[2022-11-19 23:17:45] Manifest download: finished
[2022-11-19 23:17:45] Download skipped: /steam_client_ubuntu12 version 1668654564, installed version 1668654564, existing pending version 0
[2022-11-19 23:17:45] Nothing to do

Steps for reproducing this issue:

  1. Upgrade to Fedora 37 (en_GB)
  2. Start Steam and observe the issue
MMulgish 2022-12-16 github

Managed to fix the issue by manually installing ttf-liberation in home directory.

  1. Download ttf-liberation
  2. Run mkdir -p ~/.local/share/fonts/
  3. Copy ttf liberation files to ~/.local/share/fonts/
  4. Clear font cache rm -rfv ~/.cache/fontconfig/*
  5. Run fc-cache -v
Rrtrajano 2022-12-19 github

The above ttf-liberation install steps fixed a similar issue in Arch using flatpak steam.

Nothing extracted yet.