Problem rendering dwg with diameter symbol
![]() 7/15/2020 6:48 PM
|
---|
Hi, The attached file (symbol.dwg) has some dimensions with Ø symbol that is not being rendered correctly by CadLib (symbol.png). I think it may be a font problem, but I am not sure. Thanks, |
![]() 7/16/2020 5:12 PM
|
---|
Hi, Looks like a font problem, you need font AIGDT___.TTF (an autodesk font) to render the text like in AutoCAD. - Wout |
![]() 7/16/2020 5:27 PM
|
---|
It worked. Igor |
![]() 10/13/2021 5:20 PM
|
---|
Hi Wout. I have another file with a similar problem, but I'm not able to figure out which font is missing. It works on my machine but not on our server. Attached is the original dwg file and the screenshot as how the file is rendered on the server. Also, how can I find if a font is missing, and which, using cad lib? Thank you, |
![]() 10/14/2021 10:15 AM
|
---|
Hi Igor, this one uses GDT.SHX, a special SHX font which also comes with AutoCAD. - Rammi |
![]() 3/22/2022 1:35 PM
|
---|
Hi Rammi, I've copied the shx file to a folder and added the DxfModel.AddShxLookupDirectories call in my code, but it still does not render the symbol. DxfModel.AddShxLookupDirectories("C:\\temp\\fonts"); I also tried adding the font to the same folder as my binaries and the dwg folder, but to no effect. Thanks |