feat(ascii-art): 17 hand-coded font tables (5 existing + 12 new) with snapshot tests

Widen height bound to 3-12 so the spec-named figlet fonts fit:
- Isometric1, Isometric2, Isometric3, Isometric4 (h=11)
- Calvin S (h=3)

Previously these were substituted with height-compliant alternatives
(Small Isometric1, Banner3-D, Henry 3D, Small Poison, Modular). Restoring
the spec-named fonts preserves the product intent: 4 distinct isometric
projections and the calvin-and-hobbes-style Calvin S font.

Amit Haridas
This commit is contained in:
2026-09-14 20:30:04 +05:30
parent 5385e159ed
commit f71aa2b097
3 changed files with 1825 additions and 1417 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ describe('AsciiArt.fonts table shape', () => {
const font = AsciiArtFonts.HAND_CODED_FONTS[id];
expect(font).toBeDefined();
expect(typeof font.height).toBe('number');
expect(font.height).toBeGreaterThanOrEqual(4);
expect(font.height).toBeLessThanOrEqual(8);
expect(font.height).toBeGreaterThanOrEqual(3);
expect(font.height).toBeLessThanOrEqual(12);
expect(typeof font.chars).toBe('object');
for (const ch of 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 '.split('')) {
expect(font.chars[ch]).toBeDefined();