diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d55e12 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.ttf +fonts/pixel_operator/LICENSE.txt diff --git a/fonts/pixel_operator/build_reduced_ttf.sh b/fonts/pixel_operator/build_reduced_ttf.sh new file mode 100644 index 0000000..dadb17e --- /dev/null +++ b/fonts/pixel_operator/build_reduced_ttf.sh @@ -0,0 +1,5 @@ +# Reduces ttf files to a subset of their original size to reduce the bandwidth +# usage. + +pyftsubset PixelOperator-Bold.ttf --output-file=PixelOperator-Bold_reduced.ttf --text-file=header_text.txt +pyftsubset PixelOperator.ttf --output-file=PixelOperator_reduced.ttf --unicodes="U+0020-007E" diff --git a/fonts/pixel_operator/header_text.txt b/fonts/pixel_operator/header_text.txt new file mode 100644 index 0000000..d3650ff --- /dev/null +++ b/fonts/pixel_operator/header_text.txt @@ -0,0 +1,3 @@ +Welcome to My Small Corner of ~town +My Things +Other People's Things diff --git a/index.html b/index.html index 5b0baf4..17b786f 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,14 @@