• 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: Tab-stop filled with dots?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab-stop filled with dots?


  • Subject: Re: Tab-stop filled with dots?
  • From: Uko Fiedler <email@hidden>
  • Date: Sun, 27 Apr 2003 12:39:14 +0200

Thank you Brian,

thank you very much. I'm so glad to get an answer. Over the last week I looked around and could not even imagine a way to heaven. Because of your answer

I believe the method you'd want is -[NSLayoutManager drawGlyphsForGlyphRange:atPoint:]

I was able to find a code snippet at http://cocoa.mamasam.com/MACOSXDEV/2002/01/1/21298.php which is roughly similar to what I want to achieve. Thanks again, you saved my day.

Your tip leads me to another question: TextEdit and therefore my TEPx has a problem with layouting images in page view mode, when the image is to big to fit on a page these editors will hang. Is drawGlyphsForGlyphRange:atPoint: also the best place to shrink those images to avoid the following crash?


construct your text system hierarchy by hand ...

Yes I did.
It's for my personal training's editor TEPx, which is my document based partial rebuild of TextEdit. So I'm using an enhanced version of MultiplePageView.m with the drawRect mentioned earlier. But see your self, it's freely available at http://www.wendenstr329.de/feed/cocoa/TEPx.html

uko
_______________________________________________
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.

References: 
 >Re: Tab-stop filled with dots? (From: Brian Webster <email@hidden>)

  • Prev by Date: RE: Glyph's
  • Next by Date: converting text input in any encoding to unicode
  • Previous by thread: Re: Tab-stop filled with dots?
  • Next by thread: Re: Tab-stop filled with dots?
  • Index(es):
    • Date
    • Thread