[plt-scheme] MrEd: get-text-extent in dc<%>

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Dec 6 08:33:50 EST 2002

At Fri, 6 Dec 2002 06:19:39 -0700 (MST), Matthew Flatt wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> At Wed, 4 Dec 2002 09:43:27 -0700 (MST), Matthew Flatt wrote:
> > At Wed, 4 Dec 2002 10:29:30 -0600 (CST), Robert Bruce Findler wrote:
> > > Why does the bitmap-dc% need an actual bitmap to font sizing?
> > 
> > It's possible that none of the primitive toolboxes require a bitmap
> > (Mac OS and X don't), but I'm not sure offhand (about Windows).
> 
> Experiments suggest that a Windows DC really does need a bitmap to
> measure text.

Er, ... A second experiment (without a problem from the first
experiment) confirms that the opposite is true.

So I'll lift the restriction that a dc<%> is `ok?' for `get-text-extent'.

Matthew



Posted on the users mailing list.