• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about "getting" font width values for same-font characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Question about "getting" font width values for same-font characters
      • From: Graff <email@hidden>
References: 
 >Question about "getting" font width values for same-font characters (From: Macintosh info <email@hidden>)
 >Re: Question about "getting" font width values for same-font characters (From: steve harley <email@hidden>)
 >Re: Question about "getting" font width values for same-font characters (From: Graff <email@hidden>)

  • Prev by Date: Re: Question about "getting" font width values for same-font characters
  • Next by Date: Re: Question about "getting" font width values for same-font characters
  • Previous by thread: Re: Question about "getting" font width values for same-font characters
  • Next by thread: Re: Question about "getting" font width values for same-font characters
  • Index(es):
    • Date
    • Thread