Sharing Thumbnail (svg) Font Family does not appear from Terminal font family settings

I have this issue with the cast I uploaded recently dotfiles: tmuxp - lazyvim - tree-sitter - lspconfig - lazygit - asciinema.org

Main page shows correct Thumbnail Preview (svg). What I mean correct is it follows the Font Family I set (the Nerd Font - JetBrains Mono) and reflects what I expect. Hower, when sharing the cast like HTML or Markdown the Thumbnail Preview (svg) the Font Family I set (the Nerd Font - JetBrains Mono) is not working.

Looking forward for future fixes and improvements.

Thanks,
Nil

That’s a known limitation at the moment, but I’m looking for a solution.

Can you check one thing? Open that SVG URL, open browser’s inspector pane, and edit the font-family attribute of the top-level svg element to include `JetBrainsMono Nerd Font` (or some variations of it with white-space added/removed if it doesn’t work).

The thing with SVG is that the custom font will only work if a given font is installed on user’s (viewer’s) system. In theory there’s a way to include a reference (URL) to a web font inside an SVG file, but it typically doesn’t load due to browser security restrictions.