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