DengXian font problem with generated PDF
![]() 9/26/2022 2:14 PM
|
---|
Hi! I have encountered a problem where text that uses the DengXian font shows up as squares in a generated PDF. I have downloaded the DengXian font from the link in this forum post, and extracted three font files in my test directory: DENG.ttf, DENGB.ttf and DENGL.ttf. This is the code that I use: C# Code: const string dirPath = "c:\ Code: AddTrueTypeFontLookupDirectories
Code: S1012044. |
![]() 9/28/2022 3:50 PM
|
---|
Hi, Problem should be fixed now in CadLib 4.0, there was a property not copied in the Clone. I haven't updated the other versions yet. Also add this line if you want to really embed the fonts and use PDF text: C# Code: graphicsConfig. |
![]() 9/29/2022 12:04 PM
|
---|
Hi, Thank you! We're on CadLib 6 - when do you think you will have an update available for that version? Regarding TryDrawingTextAsText, we have the following comment in the code: Code: / |
![]() 9/29/2022 1:37 PM
|
---|
Hi Per, I've just recompiled and released the 6.0 versions as well. - Wout |
![]() 10/3/2022 5:41 PM
|
---|
Hi Wout, I have tested rc24 and it works perfectly. Thank you! // Per |