Article | 60000069 |
Type | HowTo |
Product | Engine |
Version | 6 |
Date Added | 3/8/2007 |
Fixed | (3/8/2007) |
Submitted by | Matt Cotzias |
Summary
Texts, fonts and SHX fonts
- Autocad Arabic Xarab.shx Fonts Free SHX is a file extension for a compiled shape entities file format used by AutoDesks’ AutoCAD. AutoCAD is the most popular Computer-Aided Design (CAD) program used in architectural and engineering design.
- Some drawings I have been asked to modify contain the following text fonts which are not present with my version of ADT 2 / A2K. Futura.shx x-hlvl1d.shx x-helv1c.shx Helv.shx Helvbu.shx HELVLF.shx helv.shx bold.shx au1o1so1.shx JDPISO.shx Are these freely available and if so from where?
:'Specify full font name or font file name (TTF or SHX): txt,greek ' AutoCAD assumes that the first name is the normal font and that the second is the big font.If you enter only one name, AutoCAD assumes it is the normal font and removes any associated Big Font.
Solution
Shx Fonts Free
VectorDraw libraries use two type of fonts to display texts; TTF and SHX fonts. Some drawings have been created that way that some text objects (vdText Object) are using some Textstyles (vdTextStyle Object) which use SHX fonts to display the text caharacters. These SHX fonts are not like the TTF fonts (system fonts) which every system have it (like the Arial TTF font). So SHX fonts must be distributed along with the drawing.
So in my machine I can create a drawing that have some texts that use the MySHXfont.SHX fontfile. If I distribute this drawing I should also distribute the MySHXfont.SHX fontfile in order the drawing to be displayed 'correct' (as I designed it).
Where does VDF finds the SHX fontfiles:
Shx Fonts Download
Another thing that you should have in mind is that the SHX fonts are 'path' relative. SHX fonts are not 'system' fonts as the TTF so in order to load it (VectorDraw or other program) the path that the SHX font is must be specified. In VectorDraw this is done with SupportPath property (see our help for more information).
SupportPath property specifies the directories (paths) in which VectorDraw searches for files when using methods for drawings like insert, file open, images attach, xref, font files (SHX) and FindFile method of vdUtility. SupportPath can have may paths separated by semicolon < ; > like example:
c:/;c:/temp;c:/Program Files/VectorDraw;
c:/;c:/temp;c:/Program Files/VectorDraw;
The order when VectorDraw searches for SHX fonts is :
- The folder that VectorDraw library is placed/registered.
- The folder where the drawing is placed.
- The paths that are inside the SupportPath property.
Shx Fonts
It is recomended to create a path during your applications installation like %Program Files%MyApplicationFolderSHXFonts and place there (distribute) the SHX fonts that your application/drawings use. Also state in your application's help that the user should copy the SHX fontfiles that he uses in this path and your application should have the above path in the SupportPath property.