@galacean/effects-core 2.10.0-alpha.5 → 2.10.0
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/dist/index.js +135 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +135 -69
- package/dist/index.mjs.map +1 -1
- package/dist/render/text-cache.d.ts +1 -1
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ export type FontWeight = 'normal' | 'bold' | number;
|
|
|
7
7
|
/**
|
|
8
8
|
* 字形(对齐 canvas 2d font 字符串可接受值)
|
|
9
9
|
*/
|
|
10
|
-
export type FontStyle = 'normal' | 'italic';
|
|
10
|
+
export type FontStyle = 'normal' | 'italic' | 'oblique';
|
|
11
11
|
/**
|
|
12
12
|
* 单张字符 atlas 的逻辑边长。实际 canvas 像素尺寸会乘以渲染 resolution。
|
|
13
13
|
* 512×512 在 24px 字号下约可容纳 250+ 字形,常见 demo 文本足够
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-core",
|
|
3
|
-
"version": "2.10.0
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Galacean Effects runtime core for the web",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"registry": "https://registry.npmjs.org"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@galacean/effects-specification": "^2.
|
|
46
|
-
"@galacean/effects-math": "1.2.
|
|
45
|
+
"@galacean/effects-specification": "^2.9.0",
|
|
46
|
+
"@galacean/effects-math": "1.2.1",
|
|
47
47
|
"flatbuffers": "24.3.25",
|
|
48
48
|
"uuid": "9.0.1",
|
|
49
49
|
"libtess": "1.2.2"
|