• 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
Question about "getting" font width values for same-font characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about "getting" font width values for same-font characters


  • Subject: Question about "getting" font width values for same-font characters
  • From: Macintosh info <email@hidden>
  • Date: Sat, 07 Feb 2004 16:31:19 -0600

Hello,

With an eye toward automating a variety of typesetting processes in
QuarkXPress and/or InDesign, I'd like to know if it is possible through
AppleScript to discern the absolute width (in inches, or millimeters, or
points) of any character of a given typeface at any particular size, and
doing so (hopefully) by accessing some kind of constant value for the
character, preferably from the font itself, and preferably without setting
up scripts to run through numerous tests that would discern these values?

For example:

A lowercase, untracked, 12 pt. Helvetica "w" at 100% horizontal scaling is
.12" wide (according to my way of measuring)

and

A lowercase, untracked, 12 pt. Helvetica "i" at 100% horizontal scaling is
.036" wide (according to my way of measuring)


...is there some kind of metric or constant value for these characters (and
the others in the Helvetica roman weight) that would accurately let me
predict what the absolute widths of the same characters at different point
sizes would be?

My goal is to capture these values as globals in a FileMaker database and
use multipliers to enlarge or reduce the baseline value according to
variations in point size, tracking and horizontal scaling.

Thanks,

Bill Planey
_______________________________________________
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: steve harley <email@hidden>
    • Re: Question about "getting" font width values for same-font characters
      • From: Emmanuel <email@hidden>
    • Re: Question about "getting" font width values for same-font characters
      • From: Graff <email@hidden>
References: 
 >Re: Shell-sandwich a file in 2 variable strings (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Shell-sandwich a file in 2 variable strings
  • Next by Date: Re: Question about "getting" font width values for same-font characters
  • Previous by thread: Re: Shell-sandwich a file in 2 variable strings
  • Next by thread: Re: Question about "getting" font width values for same-font characters
  • Index(es):
    • Date
    • Thread