Fitting text to frame.

Hi, from what I read, there is no real option to auto fit text to text frame like you can do for an image so looking for a work around.  We load a lot of data from xml files into pre-built assets through Apple Scripts so want to try to avoid having designer go in and manually fix the exceptions that don't fit.  I've been trying to use a paragraph style's justification options to do and it seems do a little of what we need but seems to only do if no spaces in text like 123456789012345678901234567890  then it will squeeze it on one line but if 1234567890 1234567890 1234567890, it will not.  Not sure if this is the best way or not.  Here is what I have in my paragraph style

The last thing you want to do is scale your text horizontally or vertically to fit copy to a page. I'd only ever do this for text that needs some sort of special effect look or something. I think it's pretty bad for anyone to use scaling to fit copy to a page to bring back two lines.
What you can do is look at the leading, perhaps reduce it by .25pts or something for the page.
Or select all the text and reduce the space between the letters http://www.adobe.com/education/webtech/CS2/unit_planning1/idb2_leadkrntrak.htm
But you don't want to overdo it, or the text will look all squashed up and unreadable.
I usually go for about -5pt, but no more than that.
I'm sure others would have their methods too, but scaling or squishing text using horizontal or vertical scaling just distorts the shape of the letters.
Ultimately you don't want to change anything and perhaps look at other elements on the page that you could alter to bring back the two lines.

Similar Messages

  • Fitting text properly in frame

    Hello all,
    I am having trouble getting text to fit correctly into a text box fit into a specific width column and I was wondering if there are options for overriding the automatic flow of text from line to line without resorting to changing spacing between specific letters/words.
    There is space to fit the word "sustainable" on one line but indesign pushes it to the next. The word fits when I add letters to the word, making it longer (and obviously able to fit in the frame), but not when I add a space before the word. I'd like to force the word "sustainable" to fit on the top line.
    Suggestions would be greatly appreciated! Thanks.

    What you are seeing is one of InDesign's best features, the Pragraph Composer, at work. Just becasue a word WILL fit doesn't mean putting it on a particular line is going to give the best overall balance to a paragraph. The Paragraph Composer looks at the entire paragraph and breaks lines in such a way as to create the best overall spacing for what the paragraph contains.
    You might be able to force the word up by using a non-breaking space in front of it instead of a regular space.

  • Tables: Fit Content to Frame

    (InDesign CS2)
    Since "fit frame to content" is available when you select a frame that contains a table, but "fit content to frame" is not...I'm assuming it's not possible to do that.
    I understand that a table can lie well within or outside of its frame, and that can be a nice thing. However, what if I want to make sure the boundaries of the actual table, left to right, take up an EXACT width? Seems like making the frame the exact width I need and then having "fit content to frame" available is what I need.
    Am I missing something? Does anyone have a good workaround?

    Lisa,
    This script will do the job (although the interface is a bit primitive. Just type a number in the units you're using for the horizontal ruler. It displays the "before width" and you can then type the number you want instead. It distributes the extra or the deficit across the existing columns of the table.
    //DESCRIPTION: Set Width of Table
    // by Dave Saunders
    if ((app.documents.length == 0) || (app.selection.length == 0)) { beep() }
    aDoc = app.activeDocument;
    aSel = app.selection[0];
    aTable = findTable(aSel);
    tWidth = prompt("Table width", String(aTable.width));
    if ((tWidth == null) || (tWidth == "")) { exit() }
    n = aTable.columnCount;
    w = aTable.width;
    for (j = n-1; j >= 0; j--) {
      aTable.columns[j].width = aTable.columns[j].width * (tWidth)/w;
    function findTable(obj) {
      if (obj.constructor.name == "Table") { return obj }
      while (obj.constructor.name != "Table") {
        obj = obj.parent;
        if (obj.constructor.name == "Application") {
          errorExit("Can't locate table");
      return obj;
    function errorExit(message) {
      if (arguments.length > 0) {
        if (app.version != 3) { beep() } // CS2 includes beep() function.
        alert(message);
      exit(); // CS exits with a beep; CS2 exits silently.
    To use the script, copy and paste to ExtendScript Toolkit and save with an appropriate name in the form YourName.jsx in the Scripts folder of the Presets folder of your InDesign CS2 folder (you could put it in a subfolder if you wish). Then to run the script, set-up the appropriate initial conditions (click with the text tool in the table) and double-click the script's name in the Scripts palette.
    Dave

  • Suddenly cannot fit content to frame with cmd/shift/E in Mac

    I suddenly, when working on newspaper pages from a set of master templates, can no longer fit an image to a frame using the command/shift/E shortcut to fit content to frame. I can fit the image to frame using the pulldown menu, but not with the shortcut. All I get is an error tone. Also, when I click on the image window with the direct selection tool, instead of the image window being selected, you see this frame outside the image window, like the frame it's working with actually is larger or something (I hope I explained that right). Anybody know what's going on here, and how I might can fix it? I'm sure I accidentally changed some setting somewhere.

    It would help if you gave details about your version of ID and OS.
    The shorcut problem might be due to a switch to a new shorctut set. Any other shortcuts not working? Is the correct set selected when you go to Edit > Keyboard Shorctuts...? Anything else acting strangely? That could indicate a corrupt set of preferences.
    When you select an image with the direct select tool you should see the bounding box of the image which might be larger than the frame containing it (is the image cropped?) selecting a frame withthe direct select tool would reveal a text wrap path, if wrap is applied to the frame. Does either of those sound like what's happening?

  • Can't see the fit content to frame option....

    Hi All,
    I'm having some issues trying to click on:
    Object > Fitting > Fit Content to Frame
    This area is simply greyed out and I cant' select the option to do so.
    Does anyone have any ideas?
    Thanks
    Daniel

    I just wondered if you can please advise how I could click a button and have the text within the text box automatically resize to fit the frame?
    This is not a built-in capability of InDesign.  Macinbytes told you that this was the case, and John told you why.
    However, InDesign has a scripting interface, so plenty of people have written additional tools to make particular tasks easier. I think that one of these scripts from In-Tools will be exactly what you're looking for.

  • Shortcut for Fit text on Box?

    Hi guys,
    Is there any way or shortcut for Illustrator CS 5 to Fit Texts as the same lenght of the Box Frame? This is a image sample
    http://www.pixentral.com/show.php?picture=1PwekCEGe3qN6mrq24V3UHC86svK8
    i have a shortcut in InDesign to do this and it is very useful when aligning differente text frames. If the frame does not fit its text content the alignment is not right. I know i can do it by hand, but when you have many blocks is way time consuming.
    Any help or ideas?
    Cheers,
    S

    On the other hand, it is nice the script adjust to the text frame but i guess it would be nicer if the fit would adjust to the right lenght of the text.
    "Length" should be avoided when describing dimensions. It can be interpreted as either horizontal or vertical. Use "height" and "width", not length. Better still, explicitly state horzontal or vertical.
    What would be nicer is for Adobe to take a look at its other vector drawing program (FreeHand) and discover a far superior interface for text objects. Then trash Illustrator's entirely ill-conceived, cumbersome, unintuitive, and limited "Area Type" vs. "Point Type" distinction.
    Enable the user to set any text object to auto-expand and auto-fit its contents either horizontally or vertically. FreeHand users have been able to do this to any text object with a mere double-click for decades. This can also be set to all the text objects in the document at once--a huge advantage for avoiding accidental overset text in map projects where hundreds of street labels are subject to the risk.
    InDesign needs this almost as badly.
    JET

  • Iphoto Books: How to Enable "fit photo to frame size" when theme grays it out by default

    Don't know if this has been posted before or not, but I've been using the "Modern" Theme in iPhoto books and trying for the life of me to figure out how to get my photos to not crop while they're in a single-photo framed layout (I'm not using 4:3 photos; mine are 8.5" by 11"). Even fully zoomed out my photos cut off at the top and bottom. I knew about the "fit photo to frame size" option but the theme had it greyed out--except for on one page, in which it was already enabled. So I must have done it before without paying attention, but it took forever to figure out how to do it again.
    Here's how:
    1. Open up the page you want to modify. I'm assuming here that your photos are already placed, but if not, place the photo you want to use.
    2. Click the Layout tab.
    3. Change the layout to the single page full bleed option--no frame. Your photo should now be blown up across the page.
    4. Right click the photo. The "fit photo to frame size" option should now be available for you to check off. Go ahead and activate it.
    5. Change the layout back to the single photo framed option. Your photo will now fit inside the frame, although to truly see the whole thing you have to open up the Options tab and select the borderless option.
    To save time in steps 1-3, and step 5, you can also change the layout of all your pages at once by clicking page 1 (not the cover, the next page), then opening the Layout tab, then selecting the layout you want. You still have select the "fit photo to frame size" individually for each photo.
    Hope this is useful for people.
    - Jake

    There is an option for the Initial View that is "Magnification:" "Fit Page".  And this works for the initial page when the PDF is opened and it does not matter what the page size it, Acrobat/Reader will automatically fill the screen with the page. If you want the zoom type to change with each page then you need  add a page open script to each page to set the pages zoom type to "zoomtype.fitP"
    this.zoomType = zoomtype.fitP;

  • I have a problem with Farmville on facebook,the game doesn't fit in its frame (I don't have this prblem when using Linux) so I can't game properly

    I have a problem with the game Farmville on facebook.
    When I go to the game ,the game doesn't fit in the frame (of Adobe flasplayer) ,so I can't game properly ,because features fall outside the frame.
    I don't have this problem when I game on a notebook with Linux,there ,the game fits the frame exactly,so the problem is not with Adobe flashplayer,but with Windos 7 in combination with Firefox?

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Fitting Content to Frame to a Path or Mask

    We have been asked by a customer to try and achieve the following:
    They have a number of eps's of a flat screen TV's. For each TV, there is a path around the outside. We will call this Path 1. There is a second path around the screen of the TV. We will call this Path 2.
    Is there a way of placing another image, and fitting content to frame (just like in Indesign), using Path 2 as the bounding box?
    We are using both CS3 and CS4.

    Mark, while Scripts may not be necessary they can add a level of convenience unattainable with Actions.
    As concerns the PAID HELP, the Photoshop Scripting Forum has a couple regulars who, while they may offer their services professionally, still give their advice freely; but in case Adam has no Scripting-experience his needs, should he choose to try a Scripting-solution, might exceed »advice«.
    Having only recently started to appreciate and utilize the capabilities of JavaScript for Photoshop myself I may appear overzealous in advocating it, but everybody will have to decide for themselves if they want to give it a try.
    With possibly hundreds of images I wouldnt want to rely on the screens (or their paths) to all have the same diameter and a Script can allow for that with transforming the placed image according to the height or width so as to always fill the area completely (thus clipping at the top/bottom or left/right depending on the relation).
    And (though too complicated for myself) it would be possible to let Photoshop work off folders and not get stuck by the occasional file that doesnt conform to the naming conventions or lacks a path by ignoring it and documenting unedited files at the end.
    Thats always assuming that the photographs of the tv-sets are fairly frontal, because if they are in perspective then the matter gets much more complicated, but what with the allusion to doing it in Indesign I concluded perspectival transformation isnt required anyway.

  • Shouldn't object style with 'fit content to frame' work with updated images?

    I have a script that places pdf files from a list onto pages. The rectangles are built with an object style that fits content to frame.  This works,  but if the pdf file is then modified, InDesign does not fit the new content to the frame when the link is updated. Is there a reason why the object style does not honor its settings?
    Thanks.

    I have a script that places pdf files from a list onto pages. The rectangles are built with an object style that fits content to frame.  This works,  but if the pdf file is then modified, InDesign does not fit the new content to the frame when the link is updated. Is there a reason why the object style does not honor its settings?
    Thanks.

  • CS4 fit content to frame default

    Hi all,
    Just a quicky, we have just upgraded to CS4 at work (late adopters I know!) and we have an issue with how ID CS4 fits the frame to content by default.  The problem with this is it is changing templates of material built in earlier versions of ID, for instance changing ellipse frames to squares, resizing all the frames to fit the content, etc. Is it possible to change this default behavior? All help is appreciated.
    Thanks

    Hi Guys,
    Thanks for the responses and I apologise for the delay in replying, it has been flat out here... Anyway I just want to confirm that the problem still exists. I am unsure how to explain it further although I will try
    When the frame fitting option is set to 'fit content to frame' Indesign applies a 'fit frame to content' which the operator must then undo. This especially occurs when placing content into ellipse or polygon frames. Indesign always applies a "fit the frame to content" (which obviously blows away the shape), the operator must then undo the 'fit frame to content' that CS4 automatically applies (crtl+z).
    Not sure it is related but we also suffer from a one minute delay upon opening Indesign and Acrobat, the windows "csrss.exe" process goes nuts and sits on nearly 100% cpu usage for about a minute before the program becomes usable. It seems related to the number of fonts installed on the system (around 2000) because if I remove all the fonts, delete the adobefnt files and reinstall the fonts the machine runs fine for a week or so before it bogs down again. I know that this file is not a virus, as we run symantec on our machines, also there is only one copy of this process in taskmanager. Also this has happened across multiple machines with varying hardware. Is there a hard limit on fonts?
    Thanks again
    Regards Chris

  • Can't resize column to fit text

    Can't resize column to fit text in numbers.  option is "grayed-out" no matter what I do

    It is either a glitch or a rather unfun new thing. No one knows for sure. You do have a bit more control if you go into your photos app, find your photo and tap on the little box with the arrow poking out of it. That allows you to send it to be wallpaper. You can do some scaling, although not as much as you used to.
    Finding work arounds is about all you can do until it's fixed.

  • Does anyone resize images to fit InDesign Rectangle Frame tool?

    My question is based on some booklets that we have created in the past. We have some very large images all 300 ppi, but when shrunk down they tend to have an effective ppi of 500 or greater. Part of me feels that when the effective dpi is large, that I should go back into photoshop and resize those images, hopefully saving the size of the PDF file after exporting. So, my questions are one, does anyone even resize images anymore to fit the rectangle frame to keep ppi around 300 or two, do they not do this anymore and let InDesign handle this process when exporting to PDF?
    Thanks Everyone,
    Mike

    Better quality is to resize in Photoshop and sharpen there, because InDesign has no choice of the method of sharpening. But to be honest, in the majority o cases I do resampling in InDesign when exporting to PDF.

  • Changing text within frames without adding space at bottom

    Anyone know if there's a method for changing text within frames so that the successive text automatically flows into position without creating blank space at bottom of that current or a subsequent frame?

    Peter,
    You can combine the discussions if you want.  I actually deleted a sentence beginning the second discussion explaining that it was related to the first.  I thought it might impede the discussion.
    Let me describe my problem more completely.  I'm adjusting a book that was carefully crafted using frames for each page so that the text extended to the bottom of each page (frame).  This often splits text within a paragraph between two pages.  This was done so that the customer doesn't feel they are purchasing any blank space and for the aesthetic purpose of filling each page with text.  The only exception is the beginning of new chapters or sections.
    The problem is that I want to change a word here and there in preexisting paragraphs.  When I do, space often one-third the page length is generated at the bottom of a page (frame).  To fill that space and extend text to the bottom of the page again requires -given my current understanding of options- selecting the paragraph (beginning on one page and completed on the second) that has become interrupted by the blank space and performing a "keep lines together" option.  Unfortunately, this usually generates new blank space on a subsequent page, requiring a new "keep lines together"; in a seemingly unending regress of this procedure.
    What I require is a method enabling me to add text within a paragraph that will avoid the generation of the blank space by flowing the subsequent text (composing one or more paragraphs and splitting a paragraph between pages if required) to the end of the page; completely filling the page without requiring any use of "keep options" or whatever.
    Richard

  • Illustrator CS6 - Fit Text to Shape

    I am trying to fit text to a shape without warping the text (i.e. not using envelope warp). The shape is a simple rectangle with a rounded top and I just want the top of the text to form around that curve, leaving the bottom and sides as is. I know this is a very simple task in Illustrator but for some reason I'm not getting it and the envelope warp is doing just that - warping all of the text. What am I missing?

    SMB,
    The other non distorting automatic way is Area Type. You may select Align Center in the Paragraph palette, then click the top of the path with the Area Type Tool and start writing (with the right settings in the Character palette).
    If you need the topmost line/part of type to be warped, that is another matter.

Maybe you are looking for