(text: string, font: TegakiBundle, config?: TimelineConfig, shaper?: BundleShaper | null)
| 134 | } |
| 135 | |
| 136 | export function computeTimeline(text: string, font: TegakiBundle, config?: TimelineConfig, shaper?: BundleShaper | null): Timeline { |
| 137 | if (shaper && font.glyphDataById) { |
| 138 | return computeShapedTimeline(text, font, config, shaper); |
| 139 | } |
| 140 | return computeGraphemeTimeline(text, font, config); |
| 141 | } |
| 142 | |
| 143 | // --------------------------------------------------------------------------- |
| 144 | // Stagger scheduler — alternative cadence where each glyph starts a fixed |
no test coverage detected