skymakerolof / dxf

DXF parser for node/browser
https://www.npmjs.com/package/dxf
MIT License
335 stars 122 forks source link

How can I know the text dimension to render it. #131

Open Akbar1909 opened 1 year ago

Akbar1909 commented 1 year ago

I parsed dxf file and got the object

image

When I render it , it is really big. Because , as you know browser dimension is px. But dxf file dimension can be anything inch, m, sm etc.

How can I convert the textHeight into px.