• 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: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port


  • Subject: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • From: Brock Brandenberg <email@hidden>
  • Date: Fri, 02 May 2003 12:02:45 -0500

> But then, how come appending any other path beside a glyph works?! What is the
> reasoning behind that?
>
> Plus, as I have posted earlier today, append...WithGlyphs:count:inFont: works
> without locking focus, but then flips the path? (At least for me) If this is
> really a feature, they REALLY should document that!

I would assume that this feature/bug has something to do with the
not-so-uniform merging of the text coordinate world where the y-axis is down
and the default Postscript/PDF coordinate world where the y-axis is up. This
could explain your flipped glyph :| Maybe needing a current ctm has less to
do with getting the geometry into the y-up orientation, and more to do with
extracting the geometry from text/glyphs in the y-down orientation? It's a
bastard world anyway since font glyphs are created with y-up coordinates,
the Cocoa text views use y-down and the NSViews use y-up. What a pain.

Either way, it's undocumented :)

Brock

----- industrial design @ www.bergdesign.com ------
_______________________________________________
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: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port (From: Marco Binder <email@hidden>)

  • Prev by Date: Customizing save failure sheet
  • Next by Date: Re: NSTextStorage and NSTextAttachment
  • Previous by thread: Re: [NSBezierPath appendBezierPathWithGlyph:inFont:] and current graphics port
  • Next by thread: NSTableView - edited text turns white?
  • Index(es):
    • Date
    • Thread