• 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
Non-View Text Engine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Non-View Text Engine


  • Subject: Non-View Text Engine
  • From: Gordon Apple <email@hidden>
  • Date: Fri, 26 Sep 2003 00:25:09 -0700

I have taken a top level look at NSText, NSTextView, and the TextEdit
example. My problem is that I want the text engine outside the text views.
I want to be able to flow text into an arbitrary draw shape and I want it
drawn in my specified draw order, not in the view heirarchy drawing order.
I would also like to be able to use menus, typing, mouse actions, etc. just
as if the text were in a NSTextView. I would also like to show a Ruler view
when needed. When I used MacApp, I solved the problem by writing my own
fairly sophisticated text engine. However, I did not have UniCode,
bi-directional text, anti-aliasing, and a few other features Cocoa text
provides.

Is the actual code base for NSTextView available so I could implement
what I need? I would like to be able to take what is in TextEdit, which is
essentially NSTextView, and be able to extend it without having to start
over from scratch building a new text engine.

Alternatively, is it possible to create an off-screen view in a hidden
window and blit it to the desired screen region. Of course, this would also
entail redirecting mouse/menu actions.

A similar situation exists with QuickTime Movies and maybe OpenGL. I
really don't want the view-drawing order.


--
Gordon Apple
Ed4U
Redondo Beach, CA and Little Rock, AR
email@hidden
_______________________________________________
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: Non-View Text Engine
      • From: Douglas Davidson <email@hidden>
    • Re: Non-View Text Engine
      • From: j o a r <email@hidden>
  • Prev by Date: Re: NSTask taking control of my program
  • Next by Date: Re: Non-View Text Engine
  • Previous by thread: Re: NSTask taking control of my program
  • Next by thread: Re: Non-View Text Engine
  • Index(es):
    • Date
    • Thread