Question about "getting" font width values for same-font characters
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.