[comp.sys.mac.programmer] MeasureText & GrafDevice

engber@gumball.ils.nwu.edu (Mike Engber) (02/19/90)

Question 1:

IM vol 4 (p 25) says that MeasureText is not useful for printing.
Is there a routine or technique I should be using instead.

IM vol 5 (p 180) says "You will get accurate character widths using
the QuickDraw routing MeasureText (rather than TextWidth as stated
in Volume IV), or by looking in the global width table."

I can`t tell if this is relevant to my question or not. Furthermore,
it seems to imply that TextWidth is not accurate. That seems strange
since MeasureText is supposed to be like repeatedly calling TextWidth.

---

Question 2:

I can find any mention of what to call GrafDevice with when you
want to specify that you`re printing.

---

Refs to appropriate technote numbers are fine.

Please respond via email if possible.

-ME