🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8195

Re: Resize font to fit fixed dimension text box

#8195
From: Andy_Haard
Date: Thu, 09 Nov 2006 10:05
16 lines
1351 bytes
I have also tried this but I can't get it to work.
It does not matter if I scale or decrese point size, only the text shown in the frame gets affected. So I end up with a text that is unevenly sized over its length... :S

This is what I do:
						tell myTframe
							set scale to 100
							repeat until overflows is false
								set scale to scale - 1
								set horizontal scale of text of myTframe to scale
								set vertical scale of text of myTframe to scale
							end repeat
						end tell
I have also tried to set the scale to every character of ....
but no luck...

Any suggestions on how to solve this?
Technical Details
Message-ID: <3bc219eb.10@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc219eb.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,aa679d92bb10da85,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Andy_Haard@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Resize font to fit fixed dimension text box
Message-ID: <3bc219eb.10@webcrossing.la2eafNXanI>
Date: Thu, 9 Nov 2006 02:05:37 -0800
References: <3bc219eb.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit