appendBezierPathWithGlyphs:
appendBezierPathWithGlyphs:
- Subject: appendBezierPathWithGlyphs:
- From: Brock Brandenberg <email@hidden>
- Date: Thu, 08 Aug 2002 12:38:46 -0500
This is a repost.
Has anyone else successfully used [NSBezierPath
appendBezierPathWithGlyphs:count:inFont:] under 10.2? Either it has broken
or changed behavior under 10.2 (I've already filed a bug report), but it's
hard to imagine that the bug I'm seeing could have slipped through testing.
The method used to properly position the outline of each glyph from the
array returned from the layout manager, but now it stacks each glyph outline
on top of one another, seemingly ignoring the advance of each glyph in the
array. I have two parallel routines - one that uses
CGContextShowGlyphsAtPoint() and one that uses [NSBezierPath
appendBezierPathWithGlyphs:count:inFont:] - for drawing into a PDF file as
either editable text or as outlines. The CGContextShowGlyphsAtPoint() still
works fine when passed the array of glyphs (cast as CGGlyphs of course), but
the appendBezierPathWithGlyphs: results in the stacked mess of glyph
outlines with the same array.
Thanks,
Brock Brandenberg
----- 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.