I think that the problem is that the installer is trying to download the data with wget to the read-only destination and that won’t work on Silverblue. Looks like the installer needs to be modified to use a writable directory.
Ah I see. Thanks for the pointers, I’ll try to workaround it with the croscore and liberation fonts for now. Definitely need proper fonts for interoperability with Microsoft Office. LibreOffice and WPS Office are nice, but not of much use if exchanged documents and presentations don’t look the same due to missing fonts…
You don’t really need to use any package overlaying for this (and it’s not as if these fonts are ever going to be updated).
Firstly build cabextract.
wget https://www.cabextract.org.uk/cabextract-1.9.1.tar.gz
tar -xvf cabextract-1.9.1.tar.gz
cd cabextract-1.9.1
./configure --prefix=/usr/local && make
sudo make install
Then just fetch and extract all the corefonts.
mscorefonts.sh
#!/bin/bash
_sfpath="http://downloads.sourceforge.net/corefonts"
fonts=($_sfpath/andale32.exe $_sfpath/arial32.exe $_sfpath/arialb32.exe $_sfpath/comic32.exe $_sfpath/courie32.exe $_sfpath/georgi32.exe
$_sfpath/impact32.exe $_sfpath/times32.exe $_sfpath/trebuc32.exe $_sfpath/verdan32.exe $_sfpath/webdin32.exe)
for i in "${fonts[@]}"
do
wget $i
cabextract $(basename $i) -d fonts
done
If you own a Windows computer/VM or a Mac you can also just copy the fonts files directly from the computer. You get way more fonts and it’s technically from a license you’ve already bought so it’s really better in that regard as well. I’m not sure how Silverblue’s read-only filesystem will affect copying the files though.
Windows stores its font files in C:\Windows\Fonts and Mac uses two locations-- /System/Library/Fonts and /System Folder/Fonts (check both!). Just put the files in your /usr/share/fonts folder (preferably in its own descriptively named folder) and run sudo fc-cache -fv. If everything is good with the read-only filesystem, you should have a ton of proprietary fonts at your disposal.