Grimoire native · rendering research · Oct 29 2026 · re-run of 27 Oct
Rune text vs native macOS text, re-run on current Rune
Same paragraph, font, size, position and macOS reference as the 27 Oct comparison, now against Rune dev (origin/dev b41b6a2), in light mode and in dark mode. One Rune commit changed text rendering: 7f3f64b "Calibrate text weight against CoreText". It turns hinting off, adds a small centred outline emboldening and replaces the coverage exponent. Grimoire picked it up when it moved from the old grimoire-patches branch to Rune dev on 28 Oct. In light mode Rune's text weight now matches macOS on average (ink 0.784 → 0.978 at 2×) and the mean error is down by about a third. Rune's pixels still don't match macOS: about as many pixels are off by more than 8 as before, because Rune spreads the extra weight evenly while macOS dilates outlines in specific directions.
7.2% → 7.0%pixels off by >8, light, 2×: almost no change
0.89 → 0.94ink ratio, dark (#e6e6e6 on #1d1e22), 2×
What changed in Rune
The 27 Oct run used Rune's grimoire-patches branch at 45e12e6 (that branch's head on 27 Oct, 11:40; Grimoire built it from the rune-grimoire worktree). That branch came from an older import of Rune and has no common history with today's origin/dev, so I diffed the text code itself (text.rs and text/, shader.wgsl, render.rs, runtime.rs glyph instances, Cargo.lock) between 45e12e6 and dev b41b6a2, and used git log -S/-G on dev to find the commits. Today Grimoire builds against ~/projects/worktrees/rune-dev, branch grimoire-app-dev at f22ad06 (28 Oct). Its text code is identical to b41b6a2's; only Cargo.lock differs.
commit
what
effect on these pixels
7f3f64b (Kit Langton, 22 Oct) "Calibrate text weight against CoreText and reduce phase shimmer"
(1) .hint(false) at every scale (was on below 1.5×). (2) embolden(0.1·scale) with offset (−d, −d), so outlines grow 0.1 pt in every direction: ±0.2 px at 2×, ±0.1 px at 1×. It doesn't depend on font size or colour; the dilation goes into the atlas key. (3) glyph_coverage_exponent = 0.35 + (1.15 + 0.2·clamp(scale−1,0,1))·sRGB(luminance), replacing 0.78 + 0.22·sRGB(luminance). For #1d1e22 that is 0.806 → 0.509 (2×) / 0.486 (1×); for #e6e6e6, 0.978 → 1.568 / 1.387. Calibrated with SSIM against CoreText (research/23-text-quality.md).
All of the change. Light: ink up 25%, meanabs −35%. Dark: exponent above 1 thins light text and emboldening thickens it; net ink 0.89 → 0.94.
6ec2482 (24 Oct), bb7b37d (25 Oct)
Opt-in srgb_blend: gamma-space blending, with glyph exponent 1.0 when on.
None: Grimoire doesn't enable it. If it did, light 2× would be chain step 2: meanabs 3.02, ink 0.991.
None. Atlas still R8, unfiltered textureLoad, ¼-px x round, whole-pixel baselines, …UnormSrgb targets, no CAMetalLayer.colorspace.
Grimoire 4ec173a (28 Oct) + header
App moved to Rune dev; layout now through Rune's TextSystem; a 52 pt doc header now sits above the text.
Text box moved from (49, 40) to (49, 92) pt. I shifted the app renders up by 52 pt (104/52 px) so the old crops and macOS references apply unchanged.
Nothing on dev implements macOS's recovered smoothing algorithm (colour-bucketed, ppem-proportional radius, top-only growth, bevelled per-segment translation). The commit's notes say this was deliberate: "Five luminance-keyed atlas copies — Reject for this pass".
Setup
Same as 27 Oct: macOS 15.3 (24D60), Inter 4.1 Regular, 16 pt, line height 26 pt, 640 pt window, wrap 567 pt, 2× and 1×, text band 1280×180 / 640×90 px, same Swift CoreText reference. The re-rendered macOS images are byte-identical to 27 Oct's.
Rune: a fresh worktree at origin/dev b41b6a2. Grimoire was built from a scratch clone of grimoire-native (6abfd48) pointed at that worktree. Light: the app's own headless --snap (notes/plain.md, caret moved below the text).
Dark colours: neither the native app (theme.rs has no dark theme; --theme dark changes nothing) nor the web client (src/client CSS sets color-scheme: light, no dark rules) has a dark theme. So, as instructed, dark uses the representative pair #e6e6e6 on #1d1e22. Note: #e6e6e6 has linear luminance 0.79, which falls in macOS's q = 0.75 bucket, not q = 1. Its radius is 0.0133·ppem: 0.213 px at 16 px (1×), and at 32 px (2×) it hits the 0.3 px cap, same as q = 1. q = 1 needs grey ≥ #f1f1f1. I also ran the headline for the q = 1 inverse pair #fcfcfb on #1d1e22 (below).
Dark Rune renders: Grimoire can't draw light on dark, so a 20-line scratch Rune app (gpuprobe, outside every repo) draws the same paragraph through Rune dev's real GPU path. In light mode it is byte-identical to Grimoire's snap at both scales. That shows it is a faithful stand-in.
CPU copy of Rune (~/tmp/pixel-compare/probe), updated to dev: hinting off, centred embolden(0.1·scale) with offset (−d, −d), the new exponent, and the all-zero-mask skip. It matches the GPU to ±1 in 0.74% (light 2×), 0.57% (light 1×), 0.88% (dark 2×) and 1.09% (dark 1×) of band pixels, with meanabs ≤ 0.006 and ink 1.0000. That's slightly more ±1 pixels than the 0.3% on 27 Oct; the steeper exponents round differently on the GPU. In its old mode it reproduces the 27 Oct CPU image byte for byte (±1 vs the old app in 0.32%), and that is the "Rune 27 Oct" baseline used for dark mode.
macOS dark appearance: drawing with NSAppearance.darkAqua set (app and current appearance; NSTextView.appearance) changes nothing: 0 differing pixels for CTFontDrawGlyphs, CTLineDraw, NSAttributedString and NSTextView, in both colour pairs. With explicit colours, only the text colour's luminance matters. AppleFontSmoothing is unset (default).
"meanabs" = mean |difference| per channel on 0–255 (green). "max" = largest channel difference. "ink" = summed |pixel − paper| relative to macOS, so it works for light on dark too.
Mode:
Light: see it
#1d1e22 on #fcfcfb. Drag to swipe, Flicker to alternate in place, Zoom for 3× pixels. Images are the text band only (1280×180 px at 2×, 640×90 at 1×).
Where the pixels differ
identicalfirst image has less ink than macOSfirst image has more ink
Rune 27 Oct vs macOS, 2×.Rune dev vs macOS, 2×: the red halo is mostly gone from sides, but red stays on top edges and blue appears on bottom edges: Rune grows glyphs downward as much as upward, macOS only upward.Rune 27 Oct vs macOS, 1×.Rune dev vs macOS, 1×.Rune's pipeline with sRGB blending, ¼-pt quantisation and macOS's dilation copied, 2×.Raw rasteriser difference: Rune steps 2–3, no emboldening, vs macOS with smoothing off, 2×.
Light: headline numbers
vs macOS (CoreText, defaults)
differing px
off by >8
max
meanabs
Rune ink ÷ macOS ink
2×: Rune 27 Oct
8.4%
7.2%
200
4.92
0.784
2×: Rune dev today (GPU)
8.4%
7.0%
161
3.20
0.978
1×: Rune 27 Oct
15.1%
12.8%
172
6.60
0.727
1×: Rune dev today (GPU)
15.6%
12.6%
126
4.49
0.979
Light: factor by factor
Each row changes one more thing in the CPU copy of Rune dev and compares against macOS defaults.
2×
step
off by >8
max
meanabs
ink ratio
meanabs
0. Rune dev as shipped (coverage0.509, linear blending, centred 0.2 px emboldening, ¼-px round, no hinting)
7.04%
161
3.20
0.978
1. no coverage exponent
6.66%
189
3.61
0.883
2. + blending in sRGB-encoded space, like macOS
6.45%
176
3.02
0.991
3. + macOS x quantisation (floor to ¼ pt = ½ px)
4.27%
91
1.42
0.991
4. Rune's centred emboldening swapped for macOS's dilation (radius 0.186 px: ±r in x, +2r up, bottom fixed)
2.47%
66
0.56
0.981
1×
step
off by >8
max
meanabs
ink ratio
meanabs
0. Rune dev as shipped (coverage0.486, linear blending, centred 0.1 px emboldening, ¼-px round, no hinting)
12.56%
126
4.49
0.979
1. no coverage exponent
12.19%
167
5.83
0.782
2. + blending in sRGB-encoded space, like macOS
11.32%
126
3.99
0.991
3. + macOS x quantisation (floor to ¼ pt = ¼ px)
10.17%
100
2.93
0.991
4. Rune's centred emboldening swapped for macOS's dilation (radius 0.093 px: ±r in x, +2r up, bottom fixed)
8.56%
93
2.39
0.981
Where the change came from (old Rune → Rune dev, one commit's three parts at a time)
2×:
step
off by >8
max
meanabs
ink ratio
meanabs
Rune 27 Oct (CPU copy; matches the old app to ±1)
7.22%
200
4.92
0.784
+ new coverage exponent (7f3f64b)
6.99%
193
3.98
0.848
+ centred outline emboldening = Rune dev today (7f3f64b)
7.04%
161
3.20
0.978
1×:
step
off by >8
max
meanabs
ink ratio
meanabs
Rune 27 Oct (CPU copy; matches the old app to ±1)
12.81%
172
6.60
0.727
+ hinting off at 1× (7f3f64b)
12.18%
173
6.77
0.709
+ new coverage exponent (7f3f64b)
12.54%
145
5.09
0.846
+ centred outline emboldening = Rune dev today (7f3f64b)
12.56%
126
4.49
0.979
Light: smoothing on/off
comparison
off by >8
max
meanabs
ink ratio (first ÷ second)
macOS smoothing off vs on, 2×
6.50%
139
3.08
0.856
Rune 27 Oct vs macOS smoothing off, 2×
6.47%
159
2.84
0.916
Rune dev vs macOS smoothing off, 2×
7.42%
173
3.47
1.143
Rune, steps 2–3 with no emboldening, vs macOS smoothing off, 2× (the rasterisers alone)
1.50%
62
0.33
1.000
macOS smoothing off vs on, 1×
11.43%
63
2.81
0.869
Rune 27 Oct vs macOS smoothing off, 1×
12.10%
157
4.88
0.837
Rune dev vs macOS smoothing off, 1×
13.09%
143
4.86
1.127
Rune, steps 2–3 with no emboldening, vs macOS smoothing off, 1× (the rasterisers alone)
9.49%
112
2.83
0.987
Light: zoomed glyphs
8× (2×) or 14× (1×) nearest neighbour. Rows: Rune (or the first image), macOS, then the difference (red = less ink than macOS, blue = more).
"The qui…", Rune 27 Oct vs macOS, 2×."The qui…", Rune dev vs macOS, 2×.Same with macOS behaviour copied into Rune's pipeline.macOS smoothing off vs on."AV To", Rune dev, 2×."fi fl ffi", Rune dev, 2×."The qui…", Rune dev, 1× (no hinting now)."AV To", Rune dev, 1×.
Dark: see it
#e6e6e6 on #1d1e22. Drag to swipe, Flicker to alternate in place, Zoom for 3× pixels. Images are the text band only (1280×180 px at 2×, 640×90 at 1×).
Where the pixels differ
identicalfirst image has less ink than macOSfirst image has more ink
Rune 27 Oct vs macOS, 2×.Rune dev vs macOS, 2×: the red halo is mostly gone from sides, but red stays on top edges and blue appears on bottom edges: Rune grows glyphs downward as much as upward, macOS only upward.Rune 27 Oct vs macOS, 1×.Rune dev vs macOS, 1×.Rune's pipeline with sRGB blending, ¼-pt quantisation and macOS's dilation copied, 2×.Raw rasteriser difference: Rune steps 2–3, no emboldening, vs macOS with smoothing off, 2×.
Dark: headline numbers
vs macOS (CoreText, defaults)
differing px
off by >8
max
meanabs
Rune ink ÷ macOS ink
2×: Rune 27 Oct (CPU copy)
8.9%
7.5%
193
3.62
0.890
2×: Rune dev today (GPU)
8.7%
7.1%
179
3.41
0.939
1×: Rune 27 Oct (CPU copy)
15.6%
11.6%
143
4.15
0.918
1×: Rune dev today (GPU)
15.9%
11.8%
133
4.07
0.936
Dark: factor by factor
Each row changes one more thing in the CPU copy of Rune dev and compares against macOS defaults.
2×
step
off by >8
max
meanabs
ink ratio
meanabs
0. Rune dev as shipped (coverage1.568, linear blending, centred 0.2 px emboldening, ¼-px round, no hinting)
7.09%
179
3.41
0.939
1. no coverage exponent
7.22%
166
3.41
1.012
2. + blending in sRGB-encoded space, like macOS
7.40%
179
3.54
0.913
3. + macOS x quantisation (floor to ¼ pt = ½ px)
6.85%
129
2.54
0.913
4. Rune's centred emboldening swapped for macOS's dilation (radius 0.300 (capped) px: ±r in x, +2r up, bottom fixed)
3.03%
67
0.69
0.974
1×
step
off by >8
max
meanabs
ink ratio
meanabs
0. Rune dev as shipped (coverage1.387, linear blending, centred 0.1 px emboldening, ¼-px round, no hinting)
11.78%
133
4.07
0.936
1. no coverage exponent
11.70%
124
4.10
1.032
2. + blending in sRGB-encoded space, like macOS
12.14%
138
4.67
0.857
3. + macOS x quantisation (floor to ¼ pt = ¼ px)
11.72%
126
4.05
0.857
4. Rune's centred emboldening swapped for macOS's dilation (radius 0.213 px: ±r in x, +2r up, bottom fixed)
10.10%
107
2.84
0.987
Where the change came from (old Rune → Rune dev, one commit's three parts at a time)
2×:
step
off by >8
max
meanabs
ink ratio
meanabs
Rune 27 Oct (CPU copy; matches the old app to ±1)
7.51%
193
3.62
0.890
+ new coverage exponent (7f3f64b)
7.21%
199
4.34
0.813
+ centred outline emboldening = Rune dev today (7f3f64b)
7.09%
179
3.41
0.939
1×:
step
off by >8
max
meanabs
ink ratio
meanabs
Rune 27 Oct (CPU copy; matches the old app to ±1)
11.63%
143
4.15
0.918
+ hinting off at 1× (7f3f64b)
11.95%
137
4.13
0.920
+ new coverage exponent (7f3f64b)
12.05%
151
4.96
0.820
+ centred outline emboldening = Rune dev today (7f3f64b)
11.78%
133
4.07
0.936
Dark: smoothing on/off
comparison
off by >8
max
meanabs
ink ratio (first ÷ second)
macOS smoothing off vs on, 2×
7.62%
171
4.48
0.786
Rune 27 Oct vs macOS smoothing off, 2×
6.32%
154
2.98
1.132
Rune dev vs macOS smoothing off, 2×
6.57%
173
3.59
1.194
Rune, steps 2–3 with no emboldening, vs macOS smoothing off, 2× (the rasterisers alone)
1.35%
57
0.32
1.004
macOS smoothing off vs on, 1×
13.28%
130
5.67
0.746
Rune 27 Oct vs macOS smoothing off, 1×
11.52%
149
4.96
1.232
Rune dev vs macOS smoothing off, 1×
12.68%
147
5.19
1.255
Rune, steps 2–3 with no emboldening, vs macOS smoothing off, 1× (the rasterisers alone)
9.19%
102
2.56
0.995
Dark: zoomed glyphs
8× (2×) or 14× (1×) nearest neighbour. Rows: Rune (or the first image), macOS, then the difference (red = less ink than macOS, blue = more).
"The qui…", Rune 27 Oct vs macOS, 2×."The qui…", Rune dev vs macOS, 2×.Same with macOS behaviour copied into Rune's pipeline.macOS smoothing off vs on."AV To", Rune dev, 2×."fi fl ffi", Rune dev, 2×."The qui…", Rune dev, 1× (no hinting now)."AV To", Rune dev, 1×.
The q = 1 pair (#fcfcfb on #1d1e22), headline only
differing
>8
max
meanabs
ink ratio
2×: Rune 27 Oct (CPU copy)
8.9%
7.6%
215
4.02
0.889
2×: Rune dev
8.7%
7.4%
200
3.83
0.930
1×: Rune 27 Oct (CPU copy)
16.2%
12.6%
172
5.12
0.877
1×: Rune dev
16.5%
12.8%
163
5.11
0.881
The whiter the ink, the more macOS dilates and the higher Rune's exponent (1.68 at 2×), so Rune falls further behind: ink 0.93 at 2× and 0.88 at 1×.
Why dark mode behaves differently
Linear blending works the other way. Blending in linear light thins dark-on-light text but thickens light-on-dark. The no-exponent row (step 1) has ink 1.01–1.03; switching to sRGB blending (step 2) drops it to 0.91 / 0.86.
The new exponent is above 1 for light ink (1.57 at 2×, 1.39 at 1×), so it removes weight. With the emboldening the net is 0.94, up from 0.89. On its own (no emboldening) it would be 0.81.
macOS dilates light ink more: radius 0.3 px at 2× (cap) and 0.21 px at 1×, against 0.19 / 0.09 for dark ink. Smoothing adds 27% ink in dark (ink 0.786 off vs on) against 17% in light. Rune's emboldening is the same 0.1 pt for every colour.
Old vs new, number by number (light mode, the only mode on 27 Oct)
measurement
27 Oct
29 Oct
why
Layout: max |Δx| parley vs CoreText (2×, 1×)
0.0000 px
0.0000 px
Unchanged. Same glyph IDs, kerning, three line breaks, baseline 117 px. Rune's trak tracking (670c7cb, df055e6) and the new rich-layout path don't touch Inter (no trak table).
2× differing px
8.4%
8.4%
About the same: the new pipeline still touches every edge pixel.
2× off by >8
7.22%
7.04%
Barely moved. Weight was restored mostly by a coverage curve, which darkens edge greys; it doesn't move edges where macOS moves them (see the heatmaps).
2× max
200
161
Lower: the 0.2 px centred emboldening fills the outer rows macOS dilates into.
2× meanabs
4.92
3.20
−35%. Exponent 0.806 → 0.509 plus emboldening (7f3f64b).
2× ink ratio
0.784
0.978
Almost matched on average (7f3f64b calibrated weight against CoreText).
1× differing px
15.1%
15.6%
Slightly up (+0.5 pt): a few more faint edge pixels differ by small amounts.
1× off by >8
12.8%
12.6%
Hinting off (−0.6 pt) is offset by the exponent's darker edges.
1× max
172
126
Hinting no longer moves stems by whole pixels.
1× meanabs
6.60
4.49
−32%.
1× ink ratio
0.727
0.979
Almost matched on average.
Chain step 1 (no exponent), 2× meanabs / ink
5.44 / 0.756
3.61 / 0.883
Rune's emboldening alone adds 17% ink; macOS's smoothing adds 17% too (smoothing on vs off ink 0.856), but in different places.
Chain step 2 (+ sRGB blending), 2× meanabs / ink
3.78 / 0.856
3.02 / 0.991
With sRGB blending Rune's total ink now matches; this is what Rune's opt-in srgb_blend (6ec2482) would give Grimoire, which doesn't turn it on.
Chain step 3 (+ ¼-pt quantisation), 2× meanabs / max
3.12 / 137
1.42 / 91
Quantisation now matters more: with the weight right, position is the next biggest error. Still not matched in Rune (¼-px round).
Chain step 4 (macOS dilation copied), 2× meanabs / max
0.55 / 66
0.56 / 66
The same floor: steps 2–4 replace everything that changed, so the endpoint is the same. (0.565 here uses the spec's exact radius 0.1856; with the old 0.1875 it is 0.548, as on 27 Oct.)
1× chain end (step 4)
8.6% / 2.40
8.6% / 2.39
Same floor; dominated by CoreGraphics' small-size y autohinter (the old "integer-baseline quirk").
Smoothing on vs off in macOS, 2× >8 / ink
6.5% / +17%
6.5% / +17%
macOS reference is byte-identical to 27 Oct (re-rendered and diffed).
Rasterisers alone (smoothing off, steps 2–3), 2×
1.50% / 61 / 0.33
1.50% / 62 / 0.33
Unchanged (swash 0.2.10, zeno 0.3.3 in both).
Corpus masks vs smoothed CG, MAE / max (old Rune recomputed on the spec corpus)
12.77 / 255
8.34 / 207
Better, but nowhere near the recovered model's 0.11 / 3: Rune doesn't implement macOS's dilation.
Dark mode has no 27 Oct numbers. The "Rune 27 Oct" rows in the dark section come from the CPU copy run with the old settings (exponent 0.78 + 0.22·sRGB(L), no emboldening, hinting below 1.5×). In light mode that copy reproduces the old app to ±1.
The font-smoothing spec's corpus: does Rune now implement the recovered dilation?
No. Rune dev emboldens by a fixed 0.1 pt, centred in both axes, through swash's point emboldening (FreeType-style, round corners, curves offset). macOS uses a radius of ppem × (0.0058 + 0.01·q), capped at 0.3 px and keyed by the ink's luminance bucket. It translates each monotonic segment by (±r in x, 0 or +2r in y) with bevel joins, so tops grow by 2r and bottoms not at all. It also runs a y autohinter at 7–18 ppem. Below, each of the spec's masks is re-rendered the way Rune would (swash at the case's ppem, no hinting, embolden(0.1·scale), offset (phase − d)) and compared with CoreGraphics. The Inter cases (9,600 of 14,400; Helvetica has no Rune-side font) use the same pixel bounds as the spec, plus any extra Rune ink.
masks vs smoothed CoreGraphics (Inter Regular + Bold)
cases
MAE /255
max
>1
>8
ink ratio
Recovered macOS model, Swash design-unit outlines (27 Oct spec)
9,600
0.11
3
0.7%
0.0%
≈1.000
Rune 27 Oct (no emboldening; hinted at 1×)
9,600
12.77
255
22.3%
19.5%
0.886
Plain swash, no hinting, no emboldening
9,600
12.24
225
21.8%
19.0%
0.880
Rune dev (centred embolden 0.1 × scale px, no hinting)
9,600
8.34
207
20.9%
17.4%
0.945
Rune dev, 2× cases only (0.2 px)
4,800
7.45
192
20.6%
17.0%
0.966
Rune dev, 1× cases only (0.1 px)
4,800
9.22
207
21.2%
17.8%
0.923
Rune dev, bucket 0 (dark ink) only
1,920
7.13
206
20.4%
16.4%
0.966
Rune dev, bucket 4 (white ink) only
1,920
9.28
207
21.4%
18.2%
0.930
Rune dev, effective alpha after its exponent + linear blend (#1d1e22/#fcfcfb and #e6e6e6/#1d1e22)
3,840
7.73
202
20.8%
17.3%
0.959
Rune 27 Oct, effective alpha, same two pairs
3,840
12.18
255
22.4%
19.8%
0.901
Plain swash vs CG with smoothing off (sanity check: placement is right)
9,600
1.39
184
10.3%
5.5%
1.002
By size (all scales and buckets), 27 Oct vs dev MAE (/255) and dev's ink ratio:
['
ppem
8
10
12
14
16
18
24
32
48
72
', '
Rune 27 Oct MAE
14.9
14.6
14.9
16.2
16.1
18.3
19.9
16.6
13.1
9.4
', '
Rune dev MAE
8.8
9.4
8.9
9.1
9.6
10.4
11.2
10.8
8.9
6.6
', '
Rune dev ink ratio
1.09
1.04
1.00
0.98
0.95
0.94
0.92
0.92
0.93
0.95
']
|error| distribution
0
1
2–3
4–8
9–16
17–32
33–64
65+
Rune 27 Oct
76.9%
0.8%
1.0%
1.7%
2.1%
3.4%
5.3%
8.7%
Rune dev
78.3%
0.7%
1.2%
2.3%
2.7%
5.2%
5.4%
4.1%
Rune's fixed 0.1 pt is too much below about 12 px (ink 1.09 at 8 px) and too little above 14 px (0.92 at 24–32 px). macOS's radius grows with ppem up to the cap.
It is colour-blind: error grows from bucket 0 (dark ink, MAE 7.1) to bucket 4 (white ink, 9.3), because macOS dilates light ink up to 2.7× more.
The worst cases (207/255) are top edges at large sizes, such as "@" at 32 px and "S" at 72 px: macOS adds 0.6 px on top, Rune adds 0.1–0.2 px and also grows the bottom.
The recovered model, run through swash and zeno, gets max 3/255 on the same masks (27 Oct spec). Rune dev gets max 207, with 17.4% of pixels off by >8.
Does Rune now match native macOS text?
Not pixel for pixel, but much closer in weight. In light mode Rune's average text weight is now within 2% of macOS at both scales (was 22–27% light), and mean error is down a third. Layout was already identical and still is. In dark mode the gain is small (ink 0.89 → 0.94 at 2×; 1×: 0.92 → 0.94). Per-pixel agreement barely changed: about 7% (2×) and 12% (1×) of band pixels are still off by more than 8. That is because 7f3f64b gets its weight from a coverage curve plus an even, colour-blind emboldening. macOS grows outlines upward and sideways by a colour- and size-dependent radius.
source
27 Oct
29 Oct
to match
Layout
identical
identical
—
Hinting at 1×
Rune hinted
off, like macOS
done (7f3f64b)
Overall weight
0.78 / 0.73
0.98 light, 0.94 dark
right on average via the exponent; per-pixel shape still differs
Smoothing dilation
none
0.1 pt centred, every colour and size
port the spec: radius = min(ppem·(0.0058+0.01q), 0.3), top-only y growth, luminance buckets in the atlas key. Light step 3 → 4: meanabs 1.42 → 0.57; dark 2.55 → 0.69
Blending space
linear + exponent
linear + exponent (srgb_blend exists, off)
turn on srgb_blend in Grimoire (exponent becomes 1)
x quantisation
¼-px round
¼-px round
floor to ¼ pt. Now the second-biggest factor: light 2× meanabs 3.02 → 1.42, max 176 → 91
Small-size y autohinter (1×)
—
—
in the spec (§3); not in Rune
Scan conversion
≤3/255 once flattening matches
unchanged
the spec's CG flattening tolerances; fixed-point scan conversion for the last 3 levels
With sRGB blending, ¼-pt quantisation and macOS's dilation copied, Rune's pipeline reaches meanabs 0.57 (light 2×) and 0.69 (dark 2×). The macOS model from the font-smoothing study would take the mask error to ≤3/255.
Files
Band renders (light/dark): img/{light,dark}-{app,ct,old,emu,ct-nosmooth}-2x.png, img/{light,dark}-{app,ct,old}-1x.png; heatmaps img/heat-*; zooms img/zoom-*.
corpus-results.json.gz: every corpus group (by scale, bucket, size, phase, font). code.tar.gz: the updated CPU copy (probe), the corpus harness, the scratch GPU app, the Swift reference (with appearance=dark) and the run scripts. Full 1280×600 renders and per-case corpus metrics stay on the Mac in ~/tmp/pixel-compare/new/.