text fitting pro feature

This commit is contained in:
2025-10-10 14:41:18 +02:00
parent 0edf324335
commit 596f640912
23 changed files with 909 additions and 86 deletions

View File

@@ -4,6 +4,7 @@ Core functionality for generating texture images with text overlays.
"""
import bpy
from ..utils.constants import has_text_fitting
def generate_texture_image(props, width, height):
pass
@@ -102,7 +103,7 @@ def generate_texture_image(props, width, height):
# Determine font size (with text fitting if enabled)
font_size = props.font_size
if props.enable_text_fitting:
if props.enable_text_fitting and has_text_fitting():
pass
# Try to load font for sizing