@remotion/layout-utils 4.0.195 → 4.0.197

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.
@@ -59,7 +59,7 @@ var measureText = ({
59
59
  validateFontIsLoaded,
60
60
  additionalStyles
61
61
  }) => {
62
- const key = `${text}-${fontFamily}-${fontWeight}-${fontSize}-${letterSpacing}`;
62
+ const key = `${text}-${fontFamily}-${fontWeight}-${fontSize}-${letterSpacing}-${JSON.stringify(additionalStyles)}`;
63
63
  if (wordCache.has(key)) {
64
64
  return wordCache.get(key);
65
65
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/layout-utils"
4
4
  },
5
5
  "name": "@remotion/layout-utils",
6
- "version": "4.0.195",
6
+ "version": "4.0.197",
7
7
  "description": "Utilities for working with layouts",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",