The PicoCalc draws its path lines as chips
The console font gains the two powerline chevrons, drawn into the next two donor slots (U+2559 and U+255B, which nothing draws), in both the 6x12 and the 6x8 builds. With them in its inventory, the PicoCalc's verdict is core, so its routes are ribbons of chips like the Cardputer's. A chip there can only be filled from the eight background slots, since under a 512-glyph font the VT has no bright backgrounds. So a node's chip is the dim twin of its hue (theme.DIM_TWIN), and its label is the hue itself: the colour the name has in every list and in arrow mode. A hash label and an annotation are that colour throughout. A keyless chip is white on light grey, the same pair one bank down. Our star, a faded hop and the composer's slot have no dark grey to stand on, so they stand on the page, the slot as a white + in a break of the ribbon. Two chips of one colour join on a thin chevron in that colour. Bold is brightness on the console, and Rich merges a selected row's bold into every span on it, which turned the dim fills bright. Every chip style there says "not bold"; the tests read the rendered row back through the emulator's VT to hold that. The new font takes effect once the font script runs again on the Lyra (as root). Until then the PicoCalc's installed font lacks the chevrons. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c07f15f4ec
commit
69d9836546
9 files changed
+350
-71
No files matched your search
@@ -170,6 +170,14 @@ MARKS = {
|
||||
0x26BF: art([ # SQUARED KEY (drawn as a padlock) -- private channel
|
||||
"......", "......", ".####.", ".#..#.", "######", "######",
|
||||
"##..##", "##..##", "######", "######", "......", "......"]),
|
||||
# The two powerline chevrons of the path chips (meshterm/ui/pathline.py). They fill
|
||||
# the full cell, so that the point of one chip touches the fill of the next.
|
||||
0xE0B0: art([ # POWERLINE SOLID RIGHT TRIANGLE: the seam between two chips
|
||||
"#.....", "##....", "###...", "####..", "#####.", "######",
|
||||
"######", "#####.", "####..", "###...", "##....", "#....."]),
|
||||
0xE0B1: art([ # POWERLINE THIN RIGHT CHEVRON: the seam between two chips of one colour
|
||||
"#.....", ".#....", "..#...", "...#..", "....#.", ".....#",
|
||||
".....#", "....#.", "...#..", "..#...", ".#....", "#....."]),
|
||||
}
|
||||
|
||||
# Donor codepoints whose glyph slots we may repurpose (glyphs MeshTerm never draws).
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
# one; point SHARED at it if it does not. The shared generator is additionally offered
|
||||
# under GPL-2.0-only by its source file, permitting its extraction and use here.
|
||||
#
|
||||
# WHAT IS ONLY HERE. The GPL-2.0 base bitmap, its CP437 unicode mapping, and the same 18
|
||||
# WHAT IS ONLY HERE. The GPL-2.0 base bitmap, its CP437 unicode mapping, and the same 20
|
||||
# marks redrawn for the shorter cell (MARKS8).
|
||||
#
|
||||
# The 6x8 base has CP437 coverage, so unlike the Terminus base it has NO CYRILLIC: a node
|
||||
@@ -72,7 +72,7 @@ exec(compile(_block.group(1), SHARED, "exec"), globals())
|
||||
|
||||
OUT8 = os.environ["OUT8"]
|
||||
|
||||
# The same 18 marks redrawn for the 6x8 cell (first-draft art; a later tweak round
|
||||
# The same 20 marks redrawn for the 6x8 cell (first-draft art; a later tweak round
|
||||
# refines whichever font wins the A/B).
|
||||
MARKS8 = {
|
||||
0x25CF: art([ # BLACK CIRCLE
|
||||
@@ -111,6 +111,10 @@ MARKS8 = {
|
||||
"..##..", "......", "#.##.#", "#.##.#", "......", "..##..", "......", "......"]),
|
||||
0x26BF: art([ # SQUARED KEY -- padlock
|
||||
".####.", ".#..#.", "######", "##..##", "##..##", "######", "######", "......"]),
|
||||
0xE0B0: art([ # POWERLINE SOLID RIGHT TRIANGLE: the full cell
|
||||
"##....", "###...", "#####.", "######", "######", "#####.", "###...", "##...."]),
|
||||
0xE0B1: art([ # POWERLINE THIN RIGHT CHEVRON: on the edge of the solid triangle
|
||||
"##....", ".##...", "...##.", "....##", "....##", "...##.", ".##...", "##...."]),
|
||||
}
|
||||
|
||||
# --- the base bitmap: the Linux kernel's font_6x8 (GPL-2.0; see the header) ------------
|
||||
|
||||
Reference in new issue
Block a user