Robert Covington wrote: > I have a text renderer I am working on for my program. For memory reasons I > will have to render the text line by line from the entry edit field. > > So for example, if the entry text is: > > This is Line 1 > This is Line 2 > > I am going to have to print it to the target GWorld a line at a time using > Drawstring, after scaling, anti-aliasing, etc. > > How does one know how far to space each line when printing something? > > Looking for the distance between lines of text, by font. Is this a > GetFontInfo parameter? > > This is Line 1 > < -> this space in between the lines > This is Line 2 > > When I do a carriage return for instance, how far down does the pen move to > render/print the next line, and is this a font specific item? If so, how > does one gain this value, and what is it called? > > Are you looking for USR Fontheight ? Try Dim x as short window #1 Text 3,9,0,0 x = USR Fontheight Print x print Text 3,12,0,0 x = USR Fontheight Print x do until Fn button Regards Ian