Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 905 Bytes

File metadata and controls

29 lines (19 loc) · 905 Bytes

puppeteer-heroku-buildback-fonts

Heroku buildpack adding missing fonts for jontewks/puppeteer-heroku-buildpack

This buildpack add 22MBs of fonts to the built Heroku slug size so it is not added by default.

It aims to support Chinese, Korean, and Japanese characters. If you are facing missing character sets, feel free to open a PR.

Usage

# clear cache and current buildpacks
heroku builds:cache:purge
heroku buildpacks:clear

# puppeteer
heroku buildpacks:add -i 1 jontewks/puppeteer

# fonts
heroku buildpacks:add -i 2 https://github.com/gnuletik/puppeteer-heroku-buildpack-fonts

# other buildpack
heroku buildpacks:add -i 3 heroku/nodejs

Credits

Thanks to @jonknapp for its initial fork (see CoffeeAndCode/puppeteer-heroku-buildpack#3)