three-text 0.4.9 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,11 +20,12 @@ HarfBuzzJS is distributed under the MIT License, with some components
20
20
 
21
21
  ---
22
22
 
23
- 2. libtess.js
23
+ 2. libtess-ts
24
24
 
25
- This software includes libtess.js (https://github.com/brendankenny/libtess.js),
26
- a JavaScript port of the polygon tessellation library from the OpenGL Utility
27
- Library (GLU), originally written by Eric Veach while at Silicon Graphics, Inc.
25
+ This software includes libtess-ts (https://github.com/countertype/libtess-ts),
26
+ an optimized TypeScript port of libtess.js by Brendan Kenny, itself a port of
27
+ the polygon tessellation library from the OpenGL Utility Library (GLU),
28
+ originally written by Eric Veach while at Silicon Graphics, Inc.
28
29
 
29
30
  Original GLU tesselator:
30
31
  Copyright (C) 1991-2000 Silicon Graphics, Inc.
@@ -33,6 +34,9 @@ libtess.js:
33
34
  Copyright (C) 2000 Silicon Graphics, Inc.
34
35
  Copyright (C) 2015 Google Inc.
35
36
 
37
+ libtess-ts:
38
+ Copyright (C) 2026 Jeremy Tribby, Countertype LLC
39
+
36
40
  The software is licensed under the SGI Free Software License B, Version 2.0
37
41
  (See Appendix C for full license text)
38
42
 
package/README.md CHANGED
@@ -19,7 +19,7 @@ High fidelity 3D mesh font geometry and text layout engine for the web
19
19
 
20
20
  The library has a framework-agnostic core that returns raw vertex data, with lightweight adapters for [Three.js](https://threejs.org), [React Three Fiber](https://docs.pmnd.rs/react-three-fiber), [p5.js](https://p5js.org), [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API), and [WebGPU](https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API)
21
21
 
22
- Under the hood, three-text relies on [harfbuzzjs](https://github.com/harfbuzz/harfbuzzjs) (based on [HarfBuzz](https://github.com/harfbuzz/harfbuzz) by Behdad Esfahbod et al) for text shaping, [Knuth-Plass](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) line breaking (with [SILE](https://github.com/sile-typesetter/sile/blob/master/core/break.lua) being the cleanest modern reference), [Liang](https://tug.org/docs/liang/liang-thesis.pdf) hyphenation and the [TeX hyphenation patterns](https://github.com/hyphenation/tex-hyphen), [libtess.js](https://github.com/brendankenny/libtess.js) (based on the [GLU tessellator](https://www.songho.ca/opengl/gl_tessellation.html) by Eric Veach) for removing overlaps and triangulation, adaptive curve polygonization from Maxim Shemanarev's [Anti-Grain Geometry](https://web.archive.org/web/20060128212843/http://www.antigrain.com/research/adaptive_bezier/index.html), [Visvalingam-Whyatt](https://hull-repository.worktribe.com/preview/376364/000870493786962263.pdf) [line simplification](https://bost.ocks.org/mike/simplify/), as well as [woff-lib](https://github.com/countertype/woff-lib) and [brotli-lib](https://github.com/countertype/brotli-lib)
22
+ Under the hood, three-text relies on [harfbuzzjs](https://github.com/harfbuzz/harfbuzzjs) (based on [HarfBuzz](https://github.com/harfbuzz/harfbuzz) by Behdad Esfahbod et al) for text shaping, [Knuth-Plass](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) line breaking (with [SILE](https://github.com/sile-typesetter/sile/blob/master/core/break.lua) being the cleanest modern reference), [Liang](https://tug.org/docs/liang/liang-thesis.pdf) hyphenation and the [TeX hyphenation patterns](https://github.com/hyphenation/tex-hyphen), [libtess-ts](https://github.com/countertype/libtess-ts) (a port of the [GLU tessellator](https://www.songho.ca/opengl/gl_tessellation.html) by Eric Veach) for removing overlaps and triangulation, adaptive curve polygonization from Maxim Shemanarev's [Anti-Grain Geometry](https://web.archive.org/web/20060128212843/http://www.antigrain.com/research/adaptive_bezier/index.html), [Visvalingam-Whyatt](https://hull-repository.worktribe.com/preview/376364/000870493786962263.pdf) [line simplification](https://bost.ocks.org/mike/simplify/), as well as [woff-lib](https://github.com/countertype/woff-lib) for optional WOFF2 support
23
23
 
24
24
  ## Table of contents
25
25