Skip to content
Discussion options

You must be logged in to vote
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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ibbala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant