Skip to content

polarsteps/puppeteer-heroku-buildpack-fonts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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, Japanese, Arabic, Hebrew, Thai, Hindi and a few others). It will support all the language that puppeteer/puppeteer docker image supports 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/anandtripathi5/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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%