Skip to content
Discussion options

You must be logged in to vote

Good question!

Honestly, I'm not 100% sure if this would work, but I think this could be do-able with a custom layer.
A quick search brought up this article: https://jurgen.si/posts/lambda-headless-chrome-emojis/

They downloaded a custom font, added them as a layer and referenced them in the Puppeteer script.

sidecar-browsershot currently does have a layer-config, but that can only be a single value, as we push that into an array here.

To make this easier, we could add a new layers-config, so userland can add as many layers as you want.
But one still would need to update the browser.js-file and tell Chromium to load the fonts. 🤔

Or maybe we update sidecar-browsershot to support Emojis out…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stefanzweifel
Comment options

@stefanzweifel
Comment options

Answer selected by stefanzweifel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants