The LinkPeek snapshot workers now have support for Google Web Fonts!
We solved this issue by installing the fonts locally on each snapshot worker. As a way of giving back to the community, we have decided to share our font install proceedure.
How to install Google web fonts to a Linux localhost
-
create a directory for google fonts
mkdir -p /usr/share/fonts/truetype/google-fonts/
-
install mercurial hg
# ubuntu or debian sudo apt-get install -y mercurial # fedora or redhat or centos sudo yum install -y mercurial
-
clone the hg font repo (this could take a while)
hg clone https://googlefontdirectory.googlecode.com/hg/ googlefontdirectory;
-
install fonts: find fonts, copy to the new directory, fix mode
cd googlefontdirectory find . -name '*.ttf' -exec sudo cp {} /usr/share/fonts/truetype/google-fonts/ \; sudo chmod -R 644 /usr/share/fonts/truetype/google-fonts/
Now local applications like Libre Office and Gimp should have access to web fonts!