• 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: width of column id name column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: width of column id name column


  • Subject: Re: width of column id name column
  • From: Robert Poland <email@hidden>
  • Date: Thu, 23 Jun 2011 07:35:15 -0600

On Jun 23, 2011, at 7:24 AM, Emmanuel LEVY wrote:

> I confirm, except for the meaninglessness: the second number is quite important, it's the descent.
>
>> 15 seems a little low for 40pt text
>
> It's not 40pt text. Bob did not provide a "font" parameter to measuretext, only the string. I suppose the default size is 12 or close.

I'm trying to measure the length of an item in a finder window.

The text size and font are System defaults and unknown to us mere mortals.


> Emmanuel
>
> On Jun 23, 2011, at 3:07 PM, Shane Stanley wrote:
>
>> On 23/6/11 10:58 PM, "Robert Poland" <email@hidden> wrote:
>>
>>> When I run this the result seems to indicate;
>>> text font: 0,0
>>> text size: -5.33447265625
>>> text spacing: 80.4130859375
>>> line spacing: 15.33447265625
>>
>> Emmanuel can confirm, but it's more likely the four values you're getting
>> back is an NSRect: the first two would be x and y coordinates, and therefore
>> largely meaningless in this context, and the last two width and height. But
>> 15 seems a little low for 40pt text.
>>
>> --
>> Shane Stanley <email@hidden>
>> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>>

Robert Poland - Fort Collins, CO



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: width of column id name column
      • From: Christopher Stone <email@hidden>
    • Re: width of column id name column
      • From: Emmanuel LEVY <email@hidden>
References: 
 >Re: width of column id name column (From: Shane Stanley <email@hidden>)
 >Re: width of column id name column (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: width of column id name column
  • Next by Date: Re: width of column id name column
  • Previous by thread: Re: width of column id name column
  • Next by thread: Re: width of column id name column
  • Index(es):
    • Date
    • Thread