快速、准确且全面的文本测量与布局
line-breaking 开源项目推荐(46 个)
line-breaking 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 46 个仓库Predict React Native text heights before rendering. Native TextKit/TextPaint measurement + ~0.0002ms JS layout. FlashList, streaming AI chat, typewriter, pinch-to-zoom, obstacle reflow, Dynamic Type, Expo Web. 386 tests. MIT.
A JavaScript library for Line Breaking and identifying Word Boundaries, implementing the Unicode Line Breaking Algorithm (UAX #14)
High fidelity 3D font rendering and text layout for the web, supporting Three.js with additional adapters for p5.js, WebGPU, and WebGL
Paragraph fit — a codebase-aware comment reflow tool. Wraps prose with optimal-fit line breaking; leaves directives alone. Inspired by par.
Full Unicode 15.1 Line Breaking Algorithm, conformant with UAX #14.
Zero-allocation text layout engine for the web. Prefix-sum binary search line breaking, perfect hash glyph lookup, arena-pooled memory — sub-microsecond hot layouts with zero GC pressure.
complete font & text package in V - load, shape, lay out, rasterize, inspect, subset. A per-part replacement for FreeType, HarfBuzz, Pango, fontconfig, fontstash and stb_truetype.
Pascal function to detect the type of line break in a file.
Host-neutral terminal-cell text layout primitives for TUIs, CLIs, log viewers, transcripts, and editor panes — prepare once, seek rows by range, materialize only the viewport
android text engine
Knuth-Plass optimal line-breaking plugin for the Obsidian reading view
DOM-free text layout engine for Rust, a port of @chenglou/pretext. All credit to Cheng Lou; this port exists to make the same algorithm available in Rust/WASM projects.
Polyfill/extension for CSS text-wrap: pretty to bias against breaks after minor words and apply safe typographic joins.
Line-breaking Algorithms for the Web
Series of XSLT templates to create Line Breaks from a plain text for different layout languages.
Japanese line-breaking logic Ruby gem & Rails helper
ตัดคำไทย + แทรก ZWSP เพื่อให้เกมตัดบรรทัดภาษาไทยถูกจุด — Thai word segmentation + zero-width space tool for game localization (no engine modification needed)
Line-breaking algorithms written in Go
Produce a PDF for selected short stories by Guy de Maupassant.
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/line-breaking。
- 该话题在 GitHub 上共有 46 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 5.2 万 Star,覆盖 12 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。