When I try to set the font to "Times" with CGContextSelectFont it
seems to
fail, because when I subsequently try to measure a 'W' character I get
a
zero length. "Verdana" works fine. Any ideas?
// This is my font setting code
CGContextSelectFont(ctx, "Times", 100, kCGEncodingMacRoman);
The font name you pass to CGContextSelectFont is the PostScript name of
the font. To use Times you would have to use
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden