textric
AI Streaming
Poster Editor
Chat Bubble
Rich Text
Wrap Visualizer
Benchmark
Docs
GitHub
Wrap Visualizer
Visualize line-break decisions. Each line shows its pixel width relative to maxWidth.
Text
When AI generates visual content — UI designs, slides, PDFs, social images — it needs to know exactly how text will look: how wide, how many lines, where it wraps. Textric solves this. 它解析字体文件,在纯 JavaScript 中计算像素级精确的文本布局。
Font Size: 18px
Max Width: 350px