three-text 0.2.3 → 0.2.5
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.
- package/LICENSE_THIRD_PARTY +8 -7
- package/README.md +1 -1
- package/dist/index.cjs +164 -2111
- package/dist/index.js +164 -2111
- package/dist/index.min.cjs +2 -2
- package/dist/index.min.js +2 -2
- package/dist/index.umd.js +164 -2111
- package/dist/index.umd.min.js +2 -2
- package/package.json +2 -2
package/LICENSE_THIRD_PARTY
CHANGED
|
@@ -20,17 +20,18 @@ HarfBuzzJS is distributed under the MIT License, with some components
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
2.
|
|
23
|
+
2. libtess.js
|
|
24
24
|
|
|
25
|
-
This software includes
|
|
26
|
-
|
|
27
|
-
|
|
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.
|
|
28
28
|
|
|
29
29
|
Original GLU tesselator:
|
|
30
|
-
Copyright (C) 1991-2000
|
|
30
|
+
Copyright (C) 1991-2000 Silicon Graphics, Inc.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
Copyright (C)
|
|
32
|
+
libtess.js:
|
|
33
|
+
Copyright (C) 2000 Silicon Graphics, Inc.
|
|
34
|
+
Copyright (C) 2015 Google Inc.
|
|
34
35
|
|
|
35
36
|
The software is licensed under the SGI Free Software License B, Version 2.0
|
|
36
37
|
(See Appendix C for full license text)
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ A high fidelity 3D font renderer 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 [HarfBuzz](https://github.com/harfbuzz/harfbuzzjs) for text shaping, [Knuth-Plass](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) line breaking, [Liang](https://tug.org/docs/liang/liang-thesis.pdf) hyphenation, [
|
|
22
|
+
Under the hood, three-text relies on [HarfBuzz](https://github.com/harfbuzz/harfbuzzjs) for text shaping, [Knuth-Plass](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) line breaking, [Liang](https://tug.org/docs/liang/liang-thesis.pdf) hyphenation, [libtess](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, curve polygonization from Maxim Shemanarev's [Anti-Grain Geometry](https://web.archive.org/web/20060128212843/http://www.antigrain.com/research/adaptive_bezier/index.html), and [Visvalingam-Whyatt](https://hull-repository.worktribe.com/preview/376364/000870493786962263.pdf) [line simplification](https://bost.ocks.org/mike/simplify/)
|
|
23
23
|
|
|
24
24
|
## Table of contents
|
|
25
25
|
|