Page 1 of 1

Style command problems

Posted: Sat Dec 14, 2002 9:02 pm
by David Cameron
I run a script to change the style of text before inserting text. However, both the script and typing the same by hand are not interpreted correctly by Intellicad. It appears that the style command cannot use TT fonts in command line mode. I am using Intellicad 3.12.13 The following is a copy of the command line history: the font simpyl reverts back to the default. Please help!

: -Style
? to list existing styles/<Text style to create or modify> <STANDARD>: PROFILE
Font: Arial
font: Arial.shx bigfont: are selected.
Text height <0.0000>: 0
Width factor <1.0000>: 1
Obliquing angle <0.0000>: 0
Draw text backwards? <No> N
Draw text upside-down? <No> N
Substituting font [ICAD.FNT] for font [Arial.shx].

Draw text vertically? <No>

Substituting font [ICAD.FNT] for font [Arial.shx]

Posted: Sun Dec 15, 2002 1:23 am
by avaernes
This appears to have been fixed in newer Intellicad versions. I used to have this problem myself with earlier versions. It happens because there is extended entity data attached to a style containing a ttf font, and the -style command does not write those data to the style.
I also remember writing a lisp workaround for the problem (appending the extended data) which I could start digging for if you need it. Otherwise, upgrade Intellicad.