Add support for 0x1fb90
Allocation in box_glyph_id is larger than necessary to account for the addition of 0x1fb8c ... 0x1fb94 eventually, which are quite similar but will require more work to add. Note that 0x1fb93 is not present in the standard yet, but it is easy to guess what it will likely be from context, so it should be kept in the allocation imo.
This commit is contained in:
parent
c247fe2336
commit
28b84a2d5b
@ -543,6 +543,7 @@ START_ALLOW_CASE_RANGE
|
|||||||
case 0xe0b0 ... 0xe0bf: // powerline box drawing
|
case 0xe0b0 ... 0xe0bf: // powerline box drawing
|
||||||
case 0x1fb00 ... 0x1fb8b: // symbols for legacy computing
|
case 0x1fb00 ... 0x1fb8b: // symbols for legacy computing
|
||||||
case 0x1fba0 ... 0x1fbae:
|
case 0x1fba0 ... 0x1fbae:
|
||||||
|
case 0x1fb90: // inverse medium shade
|
||||||
return BOX_FONT;
|
return BOX_FONT;
|
||||||
default:
|
default:
|
||||||
*is_emoji_presentation = has_emoji_presentation(cpu_cell, gpu_cell);
|
*is_emoji_presentation = has_emoji_presentation(cpu_cell, gpu_cell);
|
||||||
@ -585,6 +586,9 @@ START_ALLOW_CASE_RANGE
|
|||||||
return 0x151 + ch - 0x1fba0;
|
return 0x151 + ch - 0x1fba0;
|
||||||
case 0x2800 ... 0x28ff:
|
case 0x2800 ... 0x28ff:
|
||||||
return 0x160 + ch - 0x2800;
|
return 0x160 + ch - 0x2800;
|
||||||
|
case 0x1fb90:
|
||||||
|
// Allocated to allow for 0x1fb8c ... 0x1fb94 eventually
|
||||||
|
return 0x25f + ch - 0x1fb8c;
|
||||||
default:
|
default:
|
||||||
return 0xffff;
|
return 0xffff;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -865,6 +865,7 @@ box_chars: Dict[str, List[Callable[[BufType, int, int], Any]]] = {
|
|||||||
'░': [p(shade, light=True)],
|
'░': [p(shade, light=True)],
|
||||||
'▒': [shade],
|
'▒': [shade],
|
||||||
'▓': [p(shade, light=True, invert=True)],
|
'▓': [p(shade, light=True, invert=True)],
|
||||||
|
'🮐': [p(shade, invert=True)],
|
||||||
'▔': [p(eight_bar, horizontal=True)],
|
'▔': [p(eight_bar, horizontal=True)],
|
||||||
'▕': [p(eight_bar, which=7)],
|
'▕': [p(eight_bar, which=7)],
|
||||||
'▖': [p(quad, y=1)],
|
'▖': [p(quad, y=1)],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user