#TEXT SPACING
3 messages in this thread
When entering multiple lines of text, how do you adjust the automatic
verticle spacing between each line? The manual eludes to modifying the
downward movement specified by the LF shape definition, but I'm confused on
how to do that. Any good suggestions?
Thanks! Terry
Terry-
..
Code 10 is the linefeed character. Refer to Page 360 in the AutoCAD 2.5
manual or Pages 353-4 in the Release 9 manual, where you will see the
linefeed definition from one sample font file printed out as
..
*10,5,lf
2,8,(0,-10),0
..
the 8 indicates that a x,y displacement follows in the next two bytes.
The 0 says no change in the x direction, the -10 says go down 10. Adjust
the -10 to another value to match your needs. To modify your favorite
font, use a text editor to modify a copy of the .shp version of the font.
Save the modified file and compile the font from the main AutoCAD menu.
..
A very good resource for this sort of stuff is Rusty Gesner's "Customizing
AutoCAD". He covers the topic in this new book on pages 8-5 through 8-17.
..
Good luck!
..
Lansing Pugh
Authorized AutoCAD Dealer
Austin, Texas (512) 441-4666
Terry, use any text editor or word processor (in non-document mode) to modify
the LF shape definition, as described in Appendix B. In the line feed example
shown there, you would change -10 to a larger number, say -20, to increase
the distance between lines. The LF shape definition is stored in a file
called <textstyle>.SHP. (<textstyle> is the name of font file that you want
to modify, such as simplex or txt.) These uncompiled .SHP files are found in
a directory called SOURCE on Support disk #2 (R9). After you modify the file,
compile it to a .SHX file using Main Menu item #7. =SM=