home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!master.cs.rose-hulman.edu!master.cs.rose-hulman.edu!news
- From: goodmadi@NeXTwork.Rose-Hulman.Edu (David I Goodman)
- Newsgroups: comp.sys.next.programmer
- Subject: Determining Line hieght in a rich text object
- Date: 13 Jan 1993 05:48:46 GMT
- Organization: Computer Science Department at Rose-Hulman
- Lines: 16
- Message-ID: <1j0afuINNqro@master.cs.rose-hulman.edu>
- Reply-To: goodmadi@NeXTwork.Rose-Hulman.Edu (David I Goodman)
- NNTP-Posting-Host: o233-26.nextwork.rose-hulman.edu
- Keywords: text, line height, font size, clueless
-
- I am trying to determine the height of a line of text in a text object. The
- text object will contain rich text, which may include multiple size fonts. The
- text object contains an array of breaks which allows me to determine _IF_ a
- change took place, but I can't figure out how to tell what the change was. The
- sign (bit) of the line descriptor in the break array notifies me when a change
- occurs, does anybody know where to look from there? Any clues would be most
- appreciated.
-
- --Dave
- ---------------------------------------------------------------------------
- | David I Goodman -- goodmadi@nextwork.rose-hulman.edu |
- ---------------------------------------------------------------------------
- "We live in our minds, and existence is the attempt to bring that life into
- physical reality, to state it in gesture and form."
- - Howard Roark
- _The_Fountainhead_ by A. Rand
-