heroku-buildpack-system-fonts

by waggl

README.md

heroku-buildpack-system-fonts

This buildpack makes it easy to install system fonts on Heroku stacks.

Install

# Add the buildpack
heroku buildpacks:add https://github.com/waggl/heroku-buildpack-system-fonts.git

#Deploy
git push heroku master

Building

tar -czvf fonts.tar.gz ./fonts/

Fonts included

Chinese, Korean, and Japanese (https://github.com/CoffeeAndCode/puppeteer-heroku-buildpack/tree/master/fonts)

  • wqy-microhei.ttc
  • wqy-zenhei.ttc

Thai (Google Fonts)

  • Krub-Bold.ttf
  • Krub-Regular.ttf

Kannada (Google Fonts)

  • AkayaKanadaka-Regular.ttf

CLI Installation

For new applications:

$ heroku create --buildpack https://github.com/waggl/heroku-buildpack-system-fonts.git

For existing applications:

$ heroku buildpacks:set https://github.com/waggl/heroku-buildpack-system-fonts.git -a YOUR_APP_NAME