home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!micro-heart-of-gold.mit.edu!eddie.mit.edu!midnight.midnight.com!midnight.midnight.com!badger
- From: badger@jurassic.midnight.com (John Reardon)
- Newsgroups: comp.windows.x
- Subject: maximum string width
- Date: 6 Jan 93 21:09:10
- Organization: Midnight Networks Inc., Waltham MA
- Lines: 18
- Message-ID: <BADGER.93Jan6210910@jurassic.midnight.com>
- Reply-To: badger@midnight.com
- NNTP-Posting-Host: jurassic.midnight.com
-
- I am looking for creative ways to solve the following problem:
-
- I have a bunch of strings (~1500) and I want to figure out what the
- width of the widest string is exactly. Things to consider:
- 1) It can be for any font (especially var. width).
- 2) I *don't* want just the maximum char width for that font
- multiplied by the number of chars in the largest string.
-
- Please e-mail any ideas (or post if you think it is of general interest).
- Thanks.
- --
-
- ___________________________________________________________________________
- John Reardon Midnight Networks
- |\/| . | ._ . . |_ + badger@midnight.com 100 Fifth Avenue
- | | | (| | | | (| | | | tel:617/890-1001 Prospect Hill
- _______________ _| ________fax:617/890-0028_______Waltham, MA 02154________
-
-