[fix] transfer text properties

This commit is contained in:
jrkb 2025-06-05 10:56:33 +02:00
parent 58e0df3427
commit e95266afc9

View file

@ -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