On Dec 8, 2004, at 11:33 AM, R. Scott Thompson wrote:
The Python interface has a routine called CGContextMeasurePlainText.
This routine appears to be stand-alone (by that I mean it's not a
member of the CGContext class). The routine takes a fontSize, but
what is not clear to me is how does it decide what font it should
The other two variations on this routine, for handling RTF and HTML
might have a font designation embedded within them, what font does
It uses [NSFont userFontOfSize:fontSize], which sets the "Aqua
Is there no way, then, to measure a string as it would be rendered if
you used the current font that is "selected" inside a context?
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden