From e95266afc94a2b1769c9ef5e00094f14f25957cb Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 5 Jun 2025 10:56:33 +0200 Subject: [PATCH] [fix] transfer text properties --- butils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/butils.py b/butils.py index 67367df..bb3bc1d 100644 --- a/butils.py +++ b/butils.py @@ -1802,6 +1802,9 @@ def ensure_glyphs(text_properties, predicted_text: str): glyph_properties["glyph_id"] = predicted_text[i] if not ensure_glyph_object(text_properties, glyph_properties): print(f"{utils.prefix()}::ensure_glyphs: could not ensure glyph_object") + transfer_text_properties_to_text_object( + text_properties, text_properties.text_object + ) return True