[fix] transfer text properties
This commit is contained in:
parent
58e0df3427
commit
e95266afc9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue