@remotion/web-renderer 4.0.436 → 4.0.438
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/esm/index.mjs +10 -0
- package/package.json +11 -11
package/dist/esm/index.mjs
CHANGED
|
@@ -3637,10 +3637,15 @@ var drawText = ({
|
|
|
3637
3637
|
fontSize,
|
|
3638
3638
|
fontWeight,
|
|
3639
3639
|
fontStyle,
|
|
3640
|
+
fontVariantCaps,
|
|
3641
|
+
fontKerning,
|
|
3642
|
+
fontStretch,
|
|
3640
3643
|
direction,
|
|
3641
3644
|
writingMode,
|
|
3642
3645
|
letterSpacing,
|
|
3646
|
+
wordSpacing,
|
|
3643
3647
|
textTransform,
|
|
3648
|
+
textRendering,
|
|
3644
3649
|
webkitTextFillColor,
|
|
3645
3650
|
webkitTextStrokeWidth,
|
|
3646
3651
|
webkitTextStrokeColor,
|
|
@@ -3663,8 +3668,13 @@ var drawText = ({
|
|
|
3663
3668
|
});
|
|
3664
3669
|
const fontSizePx = parseFloat(fontSize);
|
|
3665
3670
|
contextToDraw.font = `${fontStyle} ${fontWeight} ${fontSizePx}px ${fontFamily}`;
|
|
3671
|
+
contextToDraw.fontVariantCaps = fontVariantCaps;
|
|
3672
|
+
contextToDraw.fontKerning = fontKerning;
|
|
3673
|
+
contextToDraw.fontStretch = fontStretch;
|
|
3674
|
+
contextToDraw.textRendering = textRendering;
|
|
3666
3675
|
contextToDraw.fillStyle = onlyBackgroundClipText ? "black" : webkitTextFillColor;
|
|
3667
3676
|
contextToDraw.letterSpacing = letterSpacing;
|
|
3677
|
+
contextToDraw.wordSpacing = wordSpacing;
|
|
3668
3678
|
const strokeWidth = parseFloat(webkitTextStrokeWidth);
|
|
3669
3679
|
const hasStroke = strokeWidth > 0;
|
|
3670
3680
|
if (hasStroke) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/web-renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/web-renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.438",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"author": "Remotion <jonny@remotion.dev>",
|
|
20
20
|
"license": "UNLICENSED",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mediabunny/mp3-encoder": "1.
|
|
23
|
-
"@mediabunny/aac-encoder": "1.
|
|
24
|
-
"@mediabunny/flac-encoder": "1.
|
|
25
|
-
"@remotion/licensing": "4.0.
|
|
26
|
-
"remotion": "4.0.
|
|
27
|
-
"mediabunny": "1.
|
|
22
|
+
"@mediabunny/mp3-encoder": "1.39.2",
|
|
23
|
+
"@mediabunny/aac-encoder": "1.39.2",
|
|
24
|
+
"@mediabunny/flac-encoder": "1.39.2",
|
|
25
|
+
"@remotion/licensing": "4.0.438",
|
|
26
|
+
"remotion": "4.0.438",
|
|
27
|
+
"mediabunny": "1.39.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@react-three/fiber": "9.2.0",
|
|
31
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
-
"@remotion/player": "4.0.
|
|
33
|
-
"@remotion/media": "4.0.
|
|
34
|
-
"@remotion/three": "4.0.
|
|
31
|
+
"@remotion/eslint-config-internal": "4.0.438",
|
|
32
|
+
"@remotion/player": "4.0.438",
|
|
33
|
+
"@remotion/media": "4.0.438",
|
|
34
|
+
"@remotion/three": "4.0.438",
|
|
35
35
|
"@types/three": "0.170.0",
|
|
36
36
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
37
37
|
"@vitejs/plugin-react": "4.3.4",
|