• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Text and printing questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text and printing questions


  • Subject: Re: Text and printing questions
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 2 Oct 2003 03:14:48 -0400

On Oct 2, 2003, at 2:01 AM, John MacMullin wrote:

Assuming that one knows the font size, such as 12 point Helvetica, and the page size, to determine the lines per page one must allow for the space between the individual lines. How does one determine this? And where is this in the documentation?

you want the overall spacing of the font.. the bounding rect

http://developer.apple.com/documentation/Cocoa/Conceptual/FontHandling/ index.html#//apple_ref/doc/uid/10000093i



I have a working "text architecture" report with headers, footers and columns from a mutable array using the text storage stuff which works just fine on the first pass. However, I am trying to re-use the same window and NSView for various reports. On the second pass with different data, the first data is still present in the view, despite having released the NSTextViews. On the third pass, again with different data, I get a spinning ball and nothing happens at all.


Any suggestions?


it sounds very much like a memory issue.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Text and printing questions
      • From: John MacMullin <email@hidden>
References: 
 >Text and printing questions (From: John MacMullin <email@hidden>)

  • Prev by Date: Re: TableView, mulitple TextFields on a row
  • Next by Date: templates
  • Previous by thread: Text and printing questions
  • Next by thread: Re: Text and printing questions
  • Index(es):
    • Date
    • Thread