From 0ef534fe89a997df3120d6d5678f98aa205326a9ee01ac86b5ae05743c9cc03f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 1 Sep 2021 10:13:09 +0000 Subject: [PATCH] - Update to 1.8.0: * Added basic support for the Kitty and iTerm2 graphics protocols. These are enabled automatically when corresponding terminal support is detected, or manually with -f kitty or -f iterm. * Implemented an 8-color mode, selectable with -c 8 * Implemented a foreground-only switch, --fg-only. This produces character art using foreground colors only, and will avoid modifying or resetting the background color. Looks best with non-contiguous symbols (e.g. ascii). * Added builtins for Japanese kana fullwidth symbols. These can now be used without loading any external fonts (try -c none --symbols wide). * Added builtins for legacy computer symbols (mainly wedges and sextant blocks). These were widely used in PETSCII and Teletext, and can be enabled using --symbols or --fill with their respective tags: legacy, wedge and sextant (@hodefoting). * Since there is a growing number of builtin symbols that may not be available everywhere, the default selection has been restricted to the widely supported block and border sets. * If possible, we now select a visually blank character from the specified symbol/fill sets instead of hardcoding ASCII space for featureless cells. One practical upshot of this is that the constant-width braille range can be used to produce consistent images even in contexts with variable-width fonts. U+2800 (BRAILLE PATTERN BLANK) will then be used in blank cells. * Improved terminal size detection when used with pipelines and redirection. This should now produce an image properly sized for your terminal: curl https://i.imgur.com/WFDEFVg.jpeg | chafa - | tee out * ChafaCanvas gained API functions for programmatically getting and setting character cell contents. These are used in a new example in tests/ncurses.c demonstrating ncurses integration. * Made --disable-rpath the default in order to simplify packaging. OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=19 --- chafa-1.6.1.tar.xz | 3 --- chafa-1.8.0.tar.xz | 3 +++ chafa.changes | 45 +++++++++++++++++++++++++++++++++++++++++++++ chafa.spec | 2 +- 4 files changed, 49 insertions(+), 4 deletions(-) delete mode 100644 chafa-1.6.1.tar.xz create mode 100644 chafa-1.8.0.tar.xz diff --git a/chafa-1.6.1.tar.xz b/chafa-1.6.1.tar.xz deleted file mode 100644 index 0a03b4c..0000000 --- a/chafa-1.6.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76c98930e99b3e5fadb986148b99d65636e9e9619124e568ff13d364ede89fa5 -size 418720 diff --git a/chafa-1.8.0.tar.xz b/chafa-1.8.0.tar.xz new file mode 100644 index 0000000..d0641f1 --- /dev/null +++ b/chafa-1.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21ff652d836ba207098c40c459652b2f1de6c8a64fbffc62e7c6319ced32286b +size 435712 diff --git a/chafa.changes b/chafa.changes index 10ff127..4231b8b 100644 --- a/chafa.changes +++ b/chafa.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Wed Sep 1 10:08:10 UTC 2021 - Michael Vetter + +- Update to 1.8.0: + * Added basic support for the Kitty and iTerm2 graphics protocols. + These are enabled automatically when corresponding terminal support + is detected, or manually with -f kitty or -f iterm. + * Implemented an 8-color mode, selectable with -c 8 + * Implemented a foreground-only switch, --fg-only. This produces + character art using foreground colors only, and will avoid + modifying or resetting the background color. Looks best with + non-contiguous symbols (e.g. ascii). + * Added builtins for Japanese kana fullwidth symbols. These can + now be used without loading any external fonts (try -c none --symbols wide). + * Added builtins for legacy computer symbols (mainly wedges and + sextant blocks). These were widely used in PETSCII and Teletext, + and can be enabled using --symbols or --fill with their respective + tags: legacy, wedge and sextant (@hodefoting). + * Since there is a growing number of builtin symbols that may not + be available everywhere, the default selection has been restricted + to the widely supported block and border sets. + * If possible, we now select a visually blank character from the + specified symbol/fill sets instead of hardcoding ASCII space for + featureless cells. One practical upshot of this is that the constant-width + braille range can be used to produce consistent images even in contexts + with variable-width fonts. U+2800 (BRAILLE PATTERN BLANK) will then be used in blank cells. + * Improved terminal size detection when used with pipelines and redirection. + This should now produce an image properly sized for your terminal: + curl https://i.imgur.com/WFDEFVg.jpeg | chafa - | tee out + * ChafaCanvas gained API functions for programmatically getting and + setting character cell contents. These are used in a new example + in tests/ncurses.c demonstrating ncurses integration. + * Made --disable-rpath the default in order to simplify packaging. + * Added a HACKING file featuring a much needed release checklist. + * Improved terminal support: + + Ctx will now use optimizing REP sequences at high -O levels. + + foot now defaults to sixels. + + iTerm2 now defaults to the iTerm2 protocol. + + Kitty now defaults to the Kitty protocol. + + st now defaults to truecolor symbols. + * Bug fixes: + + #44 Missing error handling on stdout writes. + + [unfiled] Solid symbols erroneously replaced by fill in FGBG mode. + + [unfiled] Integer formatter was not using fast path for 8-bit values. + ------------------------------------------------------------------- Mon Jun 7 18:30:46 UTC 2021 - Michael Vetter diff --git a/chafa.spec b/chafa.spec index 1288214..d3698b2 100644 --- a/chafa.spec +++ b/chafa.spec @@ -17,7 +17,7 @@ Name: chafa -Version: 1.6.1 +Version: 1.8.0 Release: 0 Summary: Image-to-text converter for terminal License: LGPL-3.0-or-later