5 Replies Latest reply on Jun 13, 2014 12:29 AM by Laubender

    InDesign CC IDML files text frames don't show text. The text is there. Why?

    fradcar

      I am exporting files created in InDesign CC to be opened in earlier versions of InDesign. When open the text box frames show up but the text does not. Each text box has to be pulled a tad and the text reappears. Does anyone know what is causing this problem and how to fix it?

        • 1. Re: InDesign CC IDML files text frames don't show text. The text is there. Why?
          Peter Spier Most Valuable Participant (Moderator)

          While what you see is a bit unusual, it's not a total surprise since the text engines change from version to version and going backward requires the text to recompose with the older engine. Without seeing the actual file it's pretty hard to say exactly what's going on, though. Do the frames show overset when first opened?

          • 2. Re: InDesign CC IDML files text frames don't show text. The text is there. Why?
            fradcar Level 1

            I'm trying to open the idml file again and make a screen shot. It just crashed InDesign 6. Will keep trying to open it.

            • 3. Re: InDesign CC IDML files text frames don't show text. The text is there. Why?
              fradcar Level 1

              The frames do show overset when first opened. I was able to open it after the crash.

              • 4. Re: InDesign CC IDML files text frames don't show text. The text is there. Why?
                fradcar Level 1

                Here is a screen shot of the first page. Screenshot 2014-06-12 23.37.50.png

                • 5. Re: Re: InDesign CC IDML files text frames don't show text. The text is there. Why?
                  Laubender Adobe Community Professional & MVP

                  @fradcar – I can see something like this sometimes when opening an IDML file. But it's only for a brief moment, then the text frames are redrawn, the document is recomposed and the text is showing up. However, I can remember very rare cases where showing overset text frames remain in an overset state.

                   

                  As you already found out, changing the width or height of a text frame will force a recomposition and the overset state will vanish. I guess in your case changing back the width to the original value will not force overset in this fassion (only, if a new line is added, because of changed line length due to a different text engine).

                   

                  Without having direct access to the IDML file, I cannot say, if it will help "shaking" the text frames by script.

                   

                  But you can try with the following ExtendScript (JavaScript):

                   

                  I set the amount of changing the width and height of each text container of every story in the active document to 1. You can change this in line 7 of the code, if you like.

                   

                  //ShakeAllTextFramesABitByAmount.jsx
                  //Uwe Laubender
                  /**
                  * @@@BUILDINFO@@@ ShakeAllTextFramesABitByAmount.jsx !Version! Fri Jun 13 2014 09:01:06 GMT+0200
                  */
                  
                  var amount = 1;
                  
                  app.doScript
                      (
                     
                      shakeAllTextFrames,
                      ScriptLanguage.JAVASCRIPT,
                      [],
                      UndoModes.ENTIRE_SCRIPT,
                      "Shake All Text Frames in x and y by the amount of: "+amount
                     
                      );
                  
                  function shakeAllTextFrames(){
                  
                  if(app.documents.length === 0){return};
                  
                  var myDoc = app.documents[0];
                  var myStories = myDoc.stories.everyItem().getElements();
                  
                  //UNLOCK all items before:
                  myDoc.layers.everyItem().locked = false;
                  myDoc.pageItems.everyItem().locked = false;
                  
                  //EXPAND TextFrames:
                  
                  for(var n=0;n<myStories.length;n++){
                     
                      var myTextContainersOfStory = myStories[n].textContainers;
                     
                      for(var t=0;t<myTextContainersOfStory.length;t++){
                  
                          var gB = myTextContainersOfStory[t].geometricBounds;
                          myTextContainersOfStory[t].geometricBounds = [gB[0],gB[1],gB[2]+amount,gB[3]+amount];
                         
                          };
                      };
                  
                  //SET BACK TextFrames:
                  
                  for(var n=0;n<myStories.length;n++){
                     
                      var myTextContainersOfStory = myStories[n].textContainers;
                     
                      for(var t=0;t<myTextContainersOfStory.length;t++){
                         
                          var gB = myTextContainersOfStory[t].geometricBounds;
                          myTextContainersOfStory[t].geometricBounds = [gB[0],gB[1],gB[2]-amount,gB[3]-amount];
                         
                          };
                      };
                  
                  };
                  

                   

                  How to install and use scripts:

                  http://www.danrodney.com/scripts/directions-installingscripts.html

                   

                  Uwe