-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
theme settings seems to be ignored #249
Comments
Ah, turns out the player doesn't yet implement extraction of a theme from the file.. I completely forgot about that! There's related idea of adding ability to specify custom format via player's options using the same format as in the cast file (#212 (comment)). I hope to get this in place for v3.7. |
The fix (#256) is ready and will be released soon in v3.7. Regarding the line height: Adjusting line height is currently the only way of fixing the rendering of block characters, but it's not a 100% solution, as it highly depends on the font and how the OS/browser renders text. I believe the proper/ultimate solution to this problem is to render the block (and other "ascii drawing") characters not with text (as it's done currently) but with canvas or svg, making them use full row height regardless of the line height. This is something I plan to tackle soon 🤞 |
@mkrueger Does the theme look correct here? |
Btw, this is lovely ANSI art! |
I'm currently making an ansi editor and for the animation part I added an asiciinema export function (as well as video formats).
According to the docs "theme" should work in the header description
Animation:
https://asciinema.org/a/46SkhiCE9yAhCjYGByiKxzAF7
But the theme setting gets ignored:
Or do I misunderstood something from https://github.com/asciinema/asciinema/blob/main/doc/asciicast-v2.md?
I should get more dos like colors as output.
One feature request: it would be awesome if line height could be part of the format as well - I need a 1.1em setting for the CP437 stuff my tool can animate. I'll add unicode at some point as well but block chars are quite common in the CP437 scene.
Thanks - awesome project btw.
The text was updated successfully, but these errors were encountered: