# How to Work With PDF Scaling Factor in a Report Model

The Scaling Factor applies to your PDF’s spacing value. This option is located within the *Report Options*. The scaling factor depends on the PDF writer that was used to create the file. In many cases, PDFs contain different fonts, headers, and footers. This is why the scaling may vary considerably in different PDFs.&#x20;

These variations are converted into text form based on the software’s standard. This includes an equal size font for each character and equal space to allow for proportionate spacing. In many cases, these font and header variations used by the PDF writer cause the scaling to look off while converting. If this is the case, you can fix it by changing the scaling factor option.

## **Example**

Go to *File > New > Report Model*, select the PDF and click OK. You can download the sample PDF file from here: [Sample3.pdf](https://www.astera.com/Downloads/Misc/2020/07/14-Pdf-Extraction.zip).

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2Fmmx43A01OOlPCv7FnygS%2F0.png?alt=media)

Here, you can see that the scaling of the data is not aligned.

Click on the *Report Options* button  ![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FHaw8vv8whGom1UVqiXOL%2F1.png?alt=media).

This will open the *Report Options* window. This is where you can adjust the scaling factor.

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FUbASBBEOaxg7Q78LoUym%2F2.png?alt=media)

Input a new *Scaling Factor* value. Select a number between 0 and 9.

By default, the scaling factor is always set to 0. When you are experiencing this scaling issue, you must adjust the scaling factor to a new value.

In this example, the scaling factor is adjusted to 3.9. You can see that the data in the PDF is now aligned. See the image below:

![](https://627607815-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xzBT0roYJkfVS5klkLl%2Fuploads%2FrgvFdoUYaIh0IGiI3jdF%2F3.png?alt=media)

This concludes using the *Scaling Factor* option in Astera.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/astera-data-stack-v7/report-model/use-cases/how-to-work-with-pdf-scaling-factor-in-a-report-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
