NEWS: fix typos info: dump more unicode

This commit is contained in:
nick black 2021-06-13 10:13:25 -04:00
parent 3d830f5e73
commit a290e3f741
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 21 additions and 9 deletions

View File

@ -11,10 +11,10 @@ rearrangements of Notcurses.
* `ncvisual_inflate()` has been rewritten as a wrapper around the new
function `ncvisual_resize_noninterpolative()`, and deprecated. It will be
removed for ABI3. Godspeed, `ncvisual_inflate()`; we hardly knew ye.
* `ncdirect_renderf()` has been changed to accept a `ncvisual_options`,
* `ncdirectf_render()` has been changed to accept a `ncvisual_options`,
replacing and extending its four final arguments. Sorry about the breakage
here, but `ncdirect_renderf()` was introduced pretty recently (2.3.1).
As a result, `ncdirect_renderf()` and `ncdirect_stream()` now honor
here, but `ncdirectf_render()` was introduced pretty recently (2.3.1).
As a result, `ncdirectf_render()` and `ncdirect_stream()` now honor
`NCVISUAL_OPTION_BLEND` and `NCVISUAL_OPTION_NOINTERPOLATE`. All of this
also applies to `ncdirect_geomf()`.
* `ncplayer` now accepts `-n` to force non-interpolative scaling.

View File

@ -43,12 +43,24 @@ tinfo_debug_caps(const tinfo* ti, FILE* debugfp, int rows, int cols,
capbool(ti->sextants), capbool(ti->braille),
capbool(images), capbool(videos));
if(ti->utf8){
fprintf(debugfp, "%s Halves {%ls} Quads {%ls}\n", indent,
get_blitter_egcs(NCBLIT_2x1), get_blitter_egcs(NCBLIT_2x2));
fprintf(debugfp, "%sSextants ⎧%.120ls⎫\n", indent, get_blitter_egcs(NCBLIT_3x2));
fprintf(debugfp, "%s ⎩%ls⎭\n", indent, get_blitter_egcs(NCBLIT_3x2) + 32);
fprintf(debugfp, "%s Braille {%ls}\n", indent, get_blitter_egcs(NCBLIT_BRAILLE));
fprintf(debugfp, "%sLower ⅛s {%ls}\n", indent, get_blitter_egcs(NCBLIT_8x1));
fprintf(debugfp, "%s Halves {%ls} Quads {%ls} Light ⎧%.6ls%.3ls⎫ Heavy ⎧%.6ls%.3ls⎫\n", indent,
get_blitter_egcs(NCBLIT_2x1), get_blitter_egcs(NCBLIT_2x2),
NCBOXLIGHTW, NCBOXLIGHTW + 4,
NCBOXHEAVYW, NCBOXHEAVYW + 4);
fprintf(debugfp, "%sSextants ⎧%.120ls⎫ ⎩%.6ls%.3ls⎭ ⎩%.6ls%.3ls⎭\n", indent,
get_blitter_egcs(NCBLIT_3x2),
NCBOXLIGHTW + 2, NCBOXLIGHTW + 5,
NCBOXHEAVYW + 2, NCBOXHEAVYW + 5);
fprintf(debugfp, "%s ⎩%ls⎭ Round ⎧%.6ls%.3ls⎫ Frame ⎧%.6ls%.3ls⎫\n", indent,
get_blitter_egcs(NCBLIT_3x2) + 32,
NCBOXROUNDW, NCBOXROUNDW + 4,
NCBOXDOUBLEW, NCBOXDOUBLEW + 4);
fprintf(debugfp, "%s Braille {%ls} ⎩%.6ls%.3ls⎭ ⎩%.6ls%.3ls⎭\n", indent,
get_blitter_egcs(NCBLIT_BRAILLE),
NCBOXROUNDW + 2, NCBOXROUNDW + 5,
NCBOXDOUBLEW + 2, NCBOXDOUBLEW + 5);
fprintf(debugfp, "%sLower ⅛s {%ls} Upper ⅛s {%s}\n", indent,
get_blitter_egcs(NCBLIT_8x1), " ▔🮂🮃▀🮄🮅🮆█");
}
if(ti->bg_collides_default){
fprintf(debugfp, "%sbackground of 0x%06lx is considered transparent\n", indent, ti->bg_collides_default & 0xfffffful);