In some startup automation I have code (AutoLISP) that creates several text styles. (The code is simple; it just runs the style command.) With each new release I have carried this code forward, and have had no trouble with it until this release. When the line runs to create the first style which calls for the use of the "simplex" font, the following error occurs and the rest of the code is interrupted:
Font not available.
The simplex.shx font file exists on my machine, and the path to the file (C:\program files\autodesk\autocad 2013\fonts)has been firmly established in my AutoCAD profile. I have also verified that the simplexTrueType font is installed in Windows 7.
I think this issue is somehow related to the assignment of this particular font for use by MTEXT, but I don't understand how this is controlled or modified in AutoCAD, and, assuming this assignment existed in previous releases, I also don't understand why this new release of AutoCAD would behave differently.
Any insights that lead toward a solution would be appreciated.
this error message is normal and it means the font file is not exist.
do check again that simplex.shx is on the support file search path
this is has nothing to do with simplexTrueType font
by theway...romans.shx is a good replacement to simplex.shx
Thank you for your response.
In my original post you will notice that I indicated the file does exist and that the path to the folder containing the file is in my support file search path. So, neither of those factor into this issue.
The message is telling me that the font is not available and this unavailability is related to the assignment of this particular font for use by MTEXT. This is what I am looking for more information about.
As a work-around, I have changed the code to use the simplex8 font instead, but I would still like to understand this issue better and, since I don't know how this font differs from simplex, figure out a way to get simplex to work (as it has in the past).