Repository navigation
Commit 0066093
fix(examples): text-version-stamp bevel check no longer depends on the release-cycle suffix
The 5.2.3-candidate daily failed with exit 6. The check asserted the
whole x-extent grows by exactly 2 x bevel_depth, but the right edge is
the version_string suffix. "5.2.3 Release Candidate" ends in "e", whose
curved outline grows 0.02080 for a 0.02 bevel (TOL 1e-4). "LTS" grows
0.02007, Beta / Alpha 0.02000, so release builds passed by luck.
The left edge is always a digit (check 14), and it grows exactly
0.02000 on every body probed. The check now asserts that edge exactly,
and gives the trailing edge a band of [bevel, 1.1 x bevel].
Live runs (happy exit 0, --wrong-body exit 4) on 4.5.14 LTS, 5.2.1 LTS
and the 5.2.3 LTS daily (e13b728c6880). A harness that swaps
version_string for "<ver> Release Candidate" / LTS / Beta / Alpha
returns 0 on all three. Falsifier: shearing every FONT curve by 0.5
slants the leading digit, and the check exits 6 (left growth 0.03236
on 4.5.14, 0.02587 on 5.2.3).
Closes #505
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0c8db00 commit 0066093
3 files changed
Lines changed: 30 additions & 8 deletions
File tree
- docs/gallery/text-version-stamp
- examples/text-version-stamp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
117 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
118 | 132 | | |
119 | 133 | | |
120 | 134 | | |
121 | 135 | | |
| 136 | + | |
122 | 137 | | |
123 | | - | |
124 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
125 | 142 | | |
126 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
127 | 146 | | |
128 | 147 | | |
129 | 148 | | |
| |||
0 commit comments