Skip to content
Discussion options

You must be logged in to vote

One curved text object can't go all the way round, by design. In textGeometry.ts, curved text is capped at 84% of the circle (MAX_ARC_SHARE = 0.84, commented "leaves a gap so the ends never meet"). If the line would be longer, the letters get smaller instead (if (naturalLength > maxLength) size *= ...). So with 1–31 there's always at least 16% of the circumference left between "31" and "1", and no size setting changes that (checked at 33c6712).

Workaround: split it into two curved text objects with the same radius, e.g. "1 … 16" and "17 … 31". Each one stays well under the cap. Curved text is centred on the circle's centre, so both stay concentric. Turn the second one 180° about the verti…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@microenh
Comment options

@henmedia
Comment options

Answer selected by microenh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants