Fonts Problem
Moderators: SDS, support, admin
-
- Posts: 10
- Joined: 20 Oct 2005, 07:54
- Location: USA
Fonts Problem
I have set up the SHX fonts directory and activated the SHX features, but somehow the fonts still don't look like the ones in AutoCad. It helps some of the text to look better when SHX is turned on.
For example, I have a simple paragraph of text that is inside of a box. When I zoom in and out, the text size changes in relation to the size of the box, so at some zooms, the text extends outside the box.
Any help is much appreciated.
For example, I have a simple paragraph of text that is inside of a box. When I zoom in and out, the text size changes in relation to the size of the box, so at some zooms, the text extends outside the box.
Any help is much appreciated.
Hello,
It is necessary to add SHX fonts support to the project for solving this problem.
Next code has to be added to the project:
Sergey
please post questions to the forum or write to support@cadsofttools.com
It is necessary to add SHX fonts support to the project for solving this problem.
Next code has to be added to the project:
Code: Select all
<b>uses</b>
...
sgConsts;//sgConsts can be found in the correspondent Lib folder in CADImportVCL
//(http://www.cadsofttools.com/download/CADImportVCL.zip) package
...
<b>type</b>
TCuctomForm = <b>class</b>(TForm)
...
<b>procedure</b> TCuctomForm.FormCreate(Sender: TObject);
<b>begin</b>
bUseSHXFonts := True;
sSHXSearchPaths := 'C:\Program Files\AutoCAD 2006\Fonts;C:\CustomSHXFonts;'// these pathes are as example
<b>end</b>;
please post questions to the forum or write to support@cadsofttools.com