Drawing NSAttributedString with negative leading/spacing?
Drawing NSAttributedString with negative leading/spacing?
- Subject: Drawing NSAttributedString with negative leading/spacing?
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 10 Feb 2006 16:52:30 +0000
I'm using NSAttributedString to draw strings into an image.
Frustratingly, NSParagraphStyle doesn't allow you to set negative
line spacings. This is possible in, say, Illustrator, and can come
in handy, since certain fonts are quite widely spaced (eg Verdana).
I've tried the naive approach of bypassing setParagraphSpacing: by
setting the _paragraphSpacing/_lineSpacing ivars manually, but that
isn't working. Any other suggestions on getting around this?
Is there a good reason for the nonnegative restriction?
Jon
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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