Text Modes
Learn about text overflow handling with fit, truncate, and overflow modes
Text modes in Orshot Studio control how text behaves when it doesn't fit within its container dimensions. There are three modes available: Fit, Truncate, and Overflow
Text Mode Options
Overflow Mode (Default)
Text flows naturally and may extend beyond the container boundaries.
Use when:
- You want natural text wrapping
- Container size can accommodate all content
- Overflow is acceptable in your design
Fit Mode
Automatically adjusts font size to fit text within the container while maintaining readability.
Use when:
- Text must fit within fixed container dimensions
- Font size can vary based on content length
- You want to maximize text size while preventing overflow
Configuration:
- Min Font Size: Set the minimum font size (default: 8px) to maintain readability
Truncate Mode
Displays as many complete lines as possible within the container and adds ellipsis (...) to indicate truncated content
Use when:
- Container dimensions are fixed
- Font size must remain consistent
- You want to show maximum content with clear truncation indication
Setting Text Modes

- Select a text element in your template
- In the Styles panel, find the Text Mode dropdown
- Choose from: Overflow, Fit, or Truncate
- For Fit mode, optionally set the Min Font Size
API Usage
When generating images via API, text modes are automatically applied based on your template configuration. No additional parameters required - the text processing happens during image generation
The text will be processed according to the mode you configured in the Studio editor