Fit Content to Margins

Overview

Fit Content to Margins scales and repositions page content so that it fits within specified margins. The plug-in computes the bounding box of all content on each page, then applies a combined scale and translate transform to fill the target margin area. This is ideal for normalising content placement across pages with inconsistent layouts or for ensuring content fills the printable area.

Video: Fit Content to Margins shown step by step, with narration.
The Fit Content to Margins dialog
The Fit Content to Margins dialog.

How to use

  1. Open a PDF document in Acrobat.
  2. Go to Plug-Ins > Pages > Fit Content to Margins.
  3. Select the page range to process.
  4. Enter the target margins (top, bottom, left, right).
  5. Select the Units: pt, in, cm or mm.
  6. Choose whether to Maintain aspect ratio.
  7. Leave Shrink only ticked to stop content being enlarged, or clear it to let small content grow to fill the margins.
  8. Tick Same scale for all pages if every page in the range should be scaled by the same amount.
  9. Click OK to apply the transformation.

Options

OptionDescription
Page range The pages whose content should be fitted. Choose All pages, From one page number to another (tick to last page to continue to the end of the document), or a Custom range such as 1,3,7-9.
Top The minimum distance between the top of the page and the content.
Bottom The minimum distance between the bottom of the page and the content.
Left The minimum distance between the left edge of the page and the content.
Right The minimum distance between the right edge of the page and the content.
Units Choose pt (points), in (inches), cm (centimeters) or mm (millimeters) for margin values. Changing the unit converts the values already entered.
Maintain aspect ratio When checked, the content is scaled uniformly so that proportions are preserved. When unchecked, the content may be stretched to fill the margin area exactly.
Shrink only On by default. Content is only ever made smaller: content that already lies inside the margins is left exactly where it is, and nothing is enlarged. Clear it to scale small content up to fill the margin area.
Same scale for all pages Off by default. Uses one scale for every page in the range (the smallest any page needs), so text keeps the same size throughout the document. The preview shows the current page's own scale.

Tip

Enable Maintain aspect ratio to prevent text and images from appearing distorted. The content will be scaled to fit within the margins while preserving its original proportions.

Note

The margins are measured from the edges of the visible page (the crop box), and the edge names always mean what the reader sees — on a rotated page, Top is still the edge displayed at the top. Annotations — links, highlights, comments, form fields — scale and move together with the content they sit on, so a highlight keeps covering its text after the text shrinks.

Warning

This operation modifies the page content stream. Very small margins on pages with large content may result in significant downscaling, which can reduce text legibility.

Preview

The Preview pane shows a real page from the open document with the current settings drawn on it, so the result can be checked before clicking OK.

The pane is not restricted to the first page. Step through the document with the < and > buttons beneath it, or roll the mouse wheel with the pointer over the pane; the caption below reads Page n of N. Pages in one document can differ in size, orientation and content, so it is worth checking several of them before applying a change to the whole file.

See also

Shrink only and one scale

Shrink only (on by default) never enlarges content, and leaves content that already lies inside the margins exactly where it is. Same scale for all pages uses one factor for every page in the range (the smallest any page needs), so text keeps one size through the document; the preview shows the current page's own scale.

The content box is measured inside the visible page, and a filled shape covering the whole page (a background) is ignored. The result says how many pages were left unchanged or had no content.