@navaramap/font 0.0.8 → 0.1.1
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 +1 -1
- package/README.md +11 -1
- package/package.json +4 -4
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
# @navaramap/font
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
Font management for Navara's text rendering. This package loads fonts, shapes text, and generates SDF (signed distance field) glyph atlases in a background Web Worker backed by Navara's WASM font module, with LRU caching of atlases and glyph metrics. The rendering bindings use it to draw symbol/text layers on the globe.
|
|
4
|
+
|
|
5
|
+
This is an internal building block: applications normally get text rendering through [`@navaramap/three`](https://github.com/reearth/navara/tree/main/web/navara_three) (e.g. symbol layers) rather than using this package directly.
|
|
6
|
+
|
|
7
|
+
## Documentation
|
|
8
|
+
|
|
9
|
+
See https://navara.world/docs/ for the full Navara documentation.
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
MIT OR Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navaramap/font",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"main": "dist/index.umd.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"three": "0.185.1",
|
|
34
|
-
"@navaramap/engine-api": "0.
|
|
35
|
-
"@navaramap/worker": "0.
|
|
36
|
-
"@navaramap/
|
|
34
|
+
"@navaramap/engine-api": "0.1.1",
|
|
35
|
+
"@navaramap/engine-font-worker": "0.1.1",
|
|
36
|
+
"@navaramap/worker": "0.1.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/three": "0.185.1"
|