home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8099 < prev    next >
Encoding:
Internet Message Format  |  1993-01-13  |  1.5 KB

  1. 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
  2. From: goodmadi@NeXTwork.Rose-Hulman.Edu (David I Goodman)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Determining Line hieght in a rich text object
  5. Date: 13 Jan 1993 05:48:46 GMT
  6. Organization: Computer Science Department at Rose-Hulman
  7. Lines: 16
  8. Message-ID: <1j0afuINNqro@master.cs.rose-hulman.edu>
  9. Reply-To: goodmadi@NeXTwork.Rose-Hulman.Edu (David I Goodman)
  10. NNTP-Posting-Host: o233-26.nextwork.rose-hulman.edu
  11. Keywords: text, line height, font size, clueless
  12.  
  13. I am trying to determine the height of a line of text in a text object.  The  
  14. text object will contain rich text, which may include multiple size fonts.  The  
  15. text object contains an array of breaks which allows me to determine _IF_ a  
  16. change took place, but I can't figure out how to tell what the change was.  The  
  17. sign (bit) of the line descriptor in the break array notifies me when a change  
  18. occurs, does anybody know where to look from there?  Any clues would be most  
  19. appreciated.
  20.  
  21. --Dave
  22. ---------------------------------------------------------------------------
  23. | David I Goodman -- goodmadi@nextwork.rose-hulman.edu                    |
  24. ---------------------------------------------------------------------------
  25. "We live in our minds, and existence is the attempt to bring that life into  
  26. physical reality, to state it in gesture and form."
  27.             - Howard Roark
  28.             _The_Fountainhead_ by A. Rand
  29.