charmbracelet / vhs-action

Keep your GIFs up to date with VHS + GitHub actions 📽️
MIT License
164 stars 5 forks source link

Unable to Render Glyphs in GHA Context #228

Open osterman opened 8 months ago

osterman commented 8 months ago

Problem

Specific glyphs (e.g. ⧉ ✗ ⨠) do not render using any of the Nerd Fonts that I've tried. The Glyphs render in the terminal output (stdout) of the GHA, but not in the rendered Gif.

Demo

Here's an example of a corresponding run that generated it: (See Job Summary)

https://github.com/cloudposse/demo-vhs/actions/runs/7290247606#summary-19866608928

Setting the following environment in the workflow has no effect on the outcome.

  TERM: "xterm-256color"
  COLORTERM: "truecolor"
  LANG: "en_US.UTF-8"

Expected Output

Here's what I get on my Mac, by running make demo.

Demo

Note, that the output from vhs in the job is correct:

CleanShot 2023-12-21 at 09 42 08

Reproduction

Here's how to reproduce it locally.

Clone https://github.com/cloudposse/demo-vhs

Then run make demo.

This produces the expected output on my Mac, but not in the GitHub Action using the official vhs-action.

References

jeeftor commented 1 month ago

Did you set the font family? I set this:

Set FontFamily "JetBrainsMono Nerd Font"

And my lsd output shows the symbols

image