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:26:11 -0700
on 8 Feb 2004, at 5:54 PM, Shane Stanley wrote:
On Feb 9, 2004, at 10:52 AM, steve harley wrote:
for some reason, the values it gives are significantly larger than
the AFM values.. for example an upper case A in Futura Book is 0.699
point, or 0.0097", per the AFM, but 0.0111" per this script.
The reason is in your script:
set {tracking, horizontal scale} to {100, 100}
Try setting the tracking to 0, not 100.
thanks Shane -- i thought a sharp eye might catch something.. on first
check, i thought i saw better values, but when i set about it
systematically, i unfortunately used the same document the script had
created ...
for those wanting to use the script, change the line to
set {tracking, horizontal scale} to {0, 100}
with this correction, the value for every character matches the AFM
within about a hundred thousandth of a point.. still leaves some issues
like Unicode, but i'm now very confident in extracting these values via
InDesign, which will let me get on with Frontier & Python
FYI, the UI in ID CS also gives a read out of horizontal offset from
the left of a text frame.
don't have CS, and don't want to use the UI to derive thousands of
measurements, but that's nice to know
_______________________________________________
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.