-
Hey, How to change the font of a block attribute with ezdxf? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
ibbala
Oct 28, 2021
Replies: 1 comment
-
doc.styles.add("Arial", font="Arial.ttf") # recommended since ezdxf v0.17
msp = doc.modelspace()
msp.add_text("my text", dxfattribs={"style": "Arial"}) https://ezdxf.readthedocs.io/en/stable/tables/style_table_entry.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ibbala
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://ezdxf.readthedocs.io/en/stable/tables/style_table_entry.html