/notebook/deprecated/install-google-fonts

Install Google Fonts


The advice on whether to install these fonts is a bit outdated as many of the fonts are going "variable weight" which does not play nice with xetex and thus pandoc. So the best thing to do would be to install an older version of google fonts, but I haven't found that older commit that works yet.

cd
mkdir ~/.fonts
cd ~/.fonts
git clone git://github.com/google/fonts.git
rm -rf fonts/ofl/cantarell
rm -rf fonts/ufl/ubuntu*
rm -rf fonts/.git
fc-cache -f

Tags

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!