Skip to content

Instantly share code, notes, and snippets.

@jacksonpradolima
Last active June 17, 2024 09:59
Show Gist options
  • Save jacksonpradolima/840b4a20c617204a65b15da61e124bf6 to your computer and use it in GitHub Desktop.
Save jacksonpradolima/840b4a20c617204a65b15da61e124bf6 to your computer and use it in GitHub Desktop.
Installing Adobe's Source Pro fonts in Ubuntu: Source Code Pro, Source Serif Prof, and Source Sans Pro
#!/bin/bash
mkdir /tmp/adodefont
cd /tmp/adodefont
mkdir -p ~/.fonts
wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
unzip 1.050R-it.zip
cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/
wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip
unzip 2.000R.zip
cp source-serif-pro-2.000R/OTF/*.otf ~/.fonts/
wget https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.zip
unzip 1.075R-it.zip
cp source-sans-pro-2.020R-ro-1.075R-it/OTF/*.otf ~/.fonts/
fc-cache -f -v
@Nill-R
Copy link

Nill-R commented Feb 25, 2023

#!/usr/bin/env bash

cd $(mktemp -d /tmp/script.XXXXXXX)
TEMP_DIR=$(pwd)

mkdir -p ~/.fonts

wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip
unzip 1.050R-it.zip
cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/

wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip
unzip 2.000R.zip
cp source-serif-pro-2.000R/OTF/*.otf ~/.fonts/

wget https://github.com/adobe-fonts/source-sans-pro/archive/2.020R-ro/1.075R-it.zip
unzip 1.075R-it.zip
cp source-sans-pro-2.020R-ro-1.075R-it/OTF/*.otf ~/.fonts/

fc-cache -f -v

cd ~
rm -rf $TEMP_DIR
exit 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment