Re: Question about "getting" font width values for same-font characters
Re: Question about "getting" font width values for same-font characters
- Subject: Re: Question about "getting" font width values for same-font characters
- From: steve harley <email@hidden>
- Date: Sun, 8 Feb 2004 22:27:55 -0700
on 8 Feb 2004, at 5:52 PM, Graff wrote:
Rather than measuring the length of a list of every character you are
often better off using a real example of text since that will better
mimic the average distribution.
uh, thanks for the thought, but no -- i'm familiar with Lorem ipsum,
and i understand where averages can help, but in the system in question
i need to measure the exact width of any specific piece of text.. for
efficiency, i do have a heuristic that takes a worst case (assumes that
all the characters are capital Ws) and if that fits, doesn't bother
computing each character
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.