7 Replies Latest reply on Aug 27, 2013 3:00 PM by disabled_ntaylor

    Container fields do not resize enclosing part when they contain .eps files.

    samh

      Summary

      Container fields do not resize enclosing part when they contain .eps files.

      Product

      FileMaker Pro

      Version

      12.0v4

      Operating system version

      Mac OS 10.8.4

      Description of the issue

      Version 11 of FileMaker did not display EPS files in container fields; this problem has been fixed in version 12.  However, in version 12, when a container field contains a graphic which is smaller than the size of the field, the container field is displayed at full size in preview mode even though the field has been defined to "resize enclosing part". 

      This problem does not occur with TIFF, PNG, JPG or PCT all of which reduce the size of the field to match the size of the graphic.  (I haven't checked out other formats)

      Steps to reproduce the problem

      Create an EPS file with a small graphic of, say, 1 inch x 1 inch
      Create a PNG file of another small graphic, say 1 inch by 1 inch.
      Create a container field in a layout, measuring, say 2 inches x 2 inches
      Set the field alignment to top and left
      Create a text field
      Create a new layout in list view
      Place the container field at the top of the new layout with the text field closely underneath the container field
      Delete the header and footer and reduce the size of the body so that both fields just fit in the layout body
      Select both fields and, in the layout inspector, check the boxes "Sliding up based on", "All objects above and "Also resize enclosing part"
      Create 2 records on the file
      Insert the EPS file into the container field of record 1 and type some text into the text field
      Insert the PNG file into the container field of record 2 and type some text into the text field
      Go to the second layout and enter preview mode

      Expected result

      Because the fields have been set to resize the enclosing part, both graphics should be displayed in fields of the same size (i.e. both should be 1 inch high).  There should be a minimal amount of space between the bottom of the graphic and the top of the text.

      Actual result

      The graphic and text from both records will be displayed but the record containing the eps graphic will display the graphic in the full sized field (i.e. it will be 2 inches high).  The record containing the png graphic will display the graphic in a field of reduced height (i.e. it will be about 1 inch high).  The text on the record containing the eps file will appear about 1 inch below the graphic.

      Exact text of any error message(s) that appear

      None

      Workaround

      Use another format in place of EPS.  However, some formats do not print as well as others (e.g. jpg can appear fuzzy)  I have found that TIF and PNG work well.  BUT BE WARNED - a PNG or TIF file may be 10 times the size of the equivalent JPG which can be an issue if the file content is to be converted to PDF and sent by email.

      Sreenshot.jpg