The glyph box farthest corner in the radial direction must stay inside the tick ring (inner end r-10) with 4 px clearance, so a wide 4-digit label never crosses the dial rim (the Rust demo showed 6400/8000 clipped at the rim at 720x480). Single-digit labels move inward only ~4 px; verified by re-shoot.