FROM : Charles Brokaw
DATE : Tue Dec 31 21:57:36 2002
In my drawRect method I have:
[attrs setObject :[NSFont fontWithName :@"Symbol" size:10] forKey
:NSFontAttributeName];
[@"k" drawAtPoint :NSMakePoint(leftstart+4, level+50)
withAttributes :attrs];
The k is drawn using Times font, instead of Greek kappa.
Requesting Times or Helvetica in this manner works properly.
What do I need to do to draw a character with Symbol font ?
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Dec 31 21:57:36 2002
In my drawRect method I have:
[attrs setObject :[NSFont fontWithName :@"Symbol" size:10] forKey
:NSFontAttributeName];
[@"k" drawAtPoint :NSMakePoint(leftstart+4, level+50)
withAttributes :attrs];
The k is drawn using Times font, instead of Greek kappa.
Requesting Times or Helvetica in this manner works properly.
What do I need to do to draw a character with Symbol font ?
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Charles Brokaw | Dec 31, 21:57 | |
| Andreas Mayer | Jan 1, 00:41 | |
| Chris Ridd | Jan 1, 09:49 | |
| Mike Ferris | Jan 2, 17:45 | |
| Douglas Davidson | Jan 2, 18:26 | |
| Chris Ridd | Jan 2, 18:29 | |
| Douglas Davidson | Jan 2, 19:11 |






Cocoa mail archive

