@remotion/web-renderer 4.0.437 → 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.
Files changed (2) hide show
  1. package/dist/esm/index.mjs +10 -0
  2. package/package.json +7 -7
@@ -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.437",
6
+ "version": "4.0.438",
7
7
  "main": "dist/index.js",
8
8
  "type": "module",
9
9
  "scripts": {
@@ -22,16 +22,16 @@
22
22
  "@mediabunny/mp3-encoder": "1.39.2",
23
23
  "@mediabunny/aac-encoder": "1.39.2",
24
24
  "@mediabunny/flac-encoder": "1.39.2",
25
- "@remotion/licensing": "4.0.437",
26
- "remotion": "4.0.437",
25
+ "@remotion/licensing": "4.0.438",
26
+ "remotion": "4.0.438",
27
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.437",
32
- "@remotion/player": "4.0.437",
33
- "@remotion/media": "4.0.437",
34
- "@remotion/three": "4.0.437",
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",