• 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: Disabling Display of JPG and PDF Files in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling Display of JPG and PDF Files in NSTextView


  • Subject: Re: Disabling Display of JPG and PDF Files in NSTextView
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 15 Sep 2005 02:12:06 -0400


On Sep 14, 2005, at 11:53 PM, Kirt Cathey wrote:

Just one more rant.... it is rediculous to have to go through so much to disable such a feature. Where does one go to submit a Cocoa feature request to have this disabled? Most implementors of NSTextView will NOT want a pdf to display in a text view. Admittedly, some may.... those who are writing PDF Viewers (like we need a dozen or so more of those) or parsing PDF files, but the vast, vast majority of programmers do not want this. At the very minimum, there should be a flag within NSTextView that programmers flip with YES or NO to turn this feature off.



I think I'd disagree with this assessment. PDF is an excellent, portable means of representing line art in a scalable fashion. TIFF and other bitmap formats simply don't work for this, and rendering that art at hi-DPI to make it "scale" isn't a great alternative. While many people may thing multi-page files for PDF, they're equally valid for images and figures in place of, say, EPS.

Images are displayed inline, and that's the common requirement. If you need it to behave otherwise, that's a special case, and can be handled by overriding NSTextView and handling those drag and drop events yourself, subclassing the attachment cell class if necessary.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Disabling Display of JPG and PDF Files in NSTextView
      • From: "Kirt Cathey" <email@hidden>
References: 
 >Re: Disabling Display of JPG and PDF Files in NSTextView (From: "Kirt Cathey" <email@hidden>)

  • Prev by Date: Re: NSArrayController selectNext updating late
  • Next by Date: RE: Getting a FSVolumeRefNum from NSString
  • Previous by thread: Re: Disabling Display of JPG and PDF Files in NSTextView
  • Next by thread: Re: Disabling Display of JPG and PDF Files in NSTextView
  • Index(es):
    • Date
    • Thread