ugcinc-render 1.3.8 → 1.3.9

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 CHANGED
@@ -354,6 +354,8 @@ function TextElement({ segment, scale = 1 }) {
354
354
  color,
355
355
  lineHeight,
356
356
  letterSpacing,
357
+ // Enable font kerning for proper letter pair spacing
358
+ fontKerning: "normal",
357
359
  // textAlign works for multi-line text within the (possibly auto-width) box
358
360
  textAlign: alignment === "justify" ? "justify" : alignment,
359
361
  padding: `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`,
package/dist/index.mjs CHANGED
@@ -293,6 +293,8 @@ function TextElement({ segment, scale = 1 }) {
293
293
  color,
294
294
  lineHeight,
295
295
  letterSpacing,
296
+ // Enable font kerning for proper letter pair spacing
297
+ fontKerning: "normal",
296
298
  // textAlign works for multi-line text within the (possibly auto-width) box
297
299
  textAlign: alignment === "justify" ? "justify" : alignment,
298
300
  padding: `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",