cart: empty [ Login ]

Different block height in code and AutoCAD

1 
rray
9/30/2013 2:31 PM
Hi, I used a block of autocad in Visual Studio and and in that block i changed the text through code. Now while opening the block in UI and opening the exported file in DXF I'm getting the different heights of same block. Is the typography is different in WPF(VS) and CAD?? Or something else? Please suggest me any way.
rammi
9/30/2013 2:50 PM
Without the file it is hard to tell. But in general CadLib can only handle text layout correctly when it has access to the fonts used by the text. So if the text is using SHX fonts you should provide access to them, otherwise a substitute font (usually Arial.ttf) is used, and results are not optimal. - Rammi
1