CallGlyph: say where the table comes from
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+4
−3
native/apple/Sources/CallsKit/CallGlyph.swift+4 −3
CI passed — run details
CI log
=== vet === go vet ./... === fmt === === test === go test ./... ok amadan.net/oficina/calls/callscore 6.674s ? amadan.net/oficina/calls/cmd/calls [no test files] ok amadan.net/oficina/calls/internal/calls 1.458s ok amadan.net/oficina/calls/internal/calls/apns 0.007s ok amadan.net/oficina/calls/internal/calls/hub 0.285s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ok amadan.net/oficina/calls/internal/calls/relay 0.003s ok amadan.net/oficina/calls/internal/calls/seal 0.002s ok amadan.net/oficina/calls/internal/callstest 8.415s ? amadan.net/oficina/calls/protocol [no test files] === migration-check === go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check rastrillo migration check: models and migrations agree === race === CGO_ENABLED=1 go test -race ./internal/... ok amadan.net/oficina/calls/internal/calls 8.583s ok amadan.net/oficina/calls/internal/calls/apns 1.019s ok amadan.net/oficina/calls/internal/calls/hub 2.864s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ok amadan.net/oficina/calls/internal/calls/relay 1.014s ok amadan.net/oficina/calls/internal/calls/seal 1.011s ok amadan.net/oficina/calls/internal/callstest 24.434s
diff --git a/native/apple/Sources/CallsKit/CallGlyph.swift b/native/apple/Sources/CallsKit/CallGlyph.swift| index 680f3c5..d061e6b 100644 |
| --- a/native/apple/Sources/CallsKit/CallGlyph.swift |
| +++ b/native/apple/Sources/CallsKit/CallGlyph.swift |
| @@ -48,9 +48,10 @@ public struct CallGlyph: View { |
| /// How far each symbol moves to put its ink's centroid on the centre |
| /// line, in ems (a fraction of the point size, so it holds at every |
| - /// size); negative is up. Measured by `CallGlyphTests.measure`, which |
| - /// prints a fresh table when a symbol drifts past tolerance. A symbol |
| - /// not listed is drawn where SF Symbols puts it. |
| + /// size); negative is up. Tuned by `CallGlyphTests.testTuneTheTable` |
| + /// (run with CALLS_GLYPH_TUNE=1), which prints a fresh table; a symbol |
| + /// added to the controls needs an entry, or it is drawn where SF |
| + /// Symbols puts it and nothing measures it. |
| public static let opticalOffsets: [String: CGFloat] = [ |
| "mic.fill": -0.016, |
| "mic.slash.fill": -0.016, |