Uploaded March 2021 | Updated November 2026, 18 hours ago
/// About:
In this video, I will show you how to create a custom font option in After Effects.
/// Links from the Video:
Project File: ukramedia.com/?add-to-cart=306446
Previous Tutorial: youtu.be/xwx7W71dSr4
Ukrameida Online Community: ukramedia.com/community
Smart Bundle: youtu.be/5-mq274n_fI
/// Let's Connect:
Facebook: facebook.com/ukramedia
Sergei's Facebook Page: https://www.facebook.com/sergeiprokhn...
Twitter: twitter.com/ukramedia
Instagram: instagram.com/ukramedia
Pinterest: pinterest.com/ukramedia
Linkedin: https://www.linkedin.com/company/ukra...
YouTube: youtube.com/c/ukramedia
Ukramedia Online Community: ukramedia.com/community
/// Mailing Address:
P.O. Box 621
Huntersville, NC 28070
#AfterEffects #MotionDesign #AeExpressions
/// About:
In this video, I will show you how to create a custom font option in After Effects.
/// Links from the Video:
Project File: ukramedia.com/?add-to-cart=306446
Previous Tutorial: youtu.be/xwx7W71dSr4
Ukrameida Online Community: ukramedia.com/community
Smart Bundle: youtu.be/5-mq274n_fI
/// Let's Connect:
Facebook: facebook.com/ukramedia
Sergei's Facebook Page: https://www.facebook.com/sergeiprokhn...
Twitter: twitter.com/ukramedia
Instagram: instagram.com/ukramedia
Pinterest: pinterest.com/ukramedia
Linkedin: https://www.linkedin.com/company/ukra...
YouTube: youtube.com/c/ukramedia
Ukramedia Online Community: ukramedia.com/community
/// Mailing Address:
P.O. Box 621
Huntersville, NC 28070
#AfterEffects #MotionDesign #AeExpressions



🔧 Smart Resizer (Tool Used):
[https://ukramedia.com/SmartResizer](https://ukramedia.com/SmartResizer)
──────────────────────────────
⏱ Chapters
00:00 What we’re building (Auto-Fit Text demo)
00:19 Method 1 — Smart Resizer (fastest setup)
01:09 Add padding using Margin Width
01:37 Method 2 — Expressions (no tools required)
03:29 Fix the “tiny text gets oversized” issue (cap scale at 100%)
04:42 Finished setup
──────────────────────────────
🧠 Expression Used (Auto-Fit Text to Width)
Apply this to: Text Layer → Scale
```jsx
sizeLimit = 400; // max width in pixels before shrinking
textWidth = sourceRectAtTime(time, false).width;
scaleLimit = (sizeLimit / textWidth) * 100;
fixedScale = Math.min(scaleLimit, 100);
[fixedScale, fixedScale]
```
Tip: Set `sizeLimit` close to your shape width (use a smaller number for padding).
──────────────────────────────
🔍 SEO Keywords
after effects auto fit text, auto resize text after effects, after effects responsive text, fit text to shape after effects, sourceRectAtTime width, after effects expressions tutorial, clamp scale expression, dynamic text box after effects, motion graphics titles, lower thirds after effects, text overflow fix after effects, responsive design after effects
#AfterEffects #MotionGraphics #AfterEffectsExpressions #VideoEditing After Effects Has NO Auto-Fit Text… So I Built One](https://i.ytimg.com/vi/jlyru5YXCfY/mqdefault.jpg)







