Skip to content

Commit 07973ba

Browse files
committed
2 parents 47be074 + 89cd7eb commit 07973ba

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ With the source displayed in an interaction window, you can scroll your mouse wh
4343
displayed page, or use the arrow keys or PgUp/PgDown keys. (Note that the source will only receive mouse
4444
events if the mouse is hovered over the image shown in the intraction window.)
4545

46+
If the native size of the document is not appropriate for your use case, you can specify settings which
47+
will control the size at which it will be rendered. Selecting "Override DPI" and changing the "DPI" option
48+
will change the DPI (dots per inch) used when rendering. Increasing this will increase the size in pixels
49+
of the document proportionally.
50+
51+
You can also specify the page size Ghostscript uses when interpreting the document by selecting "Override Page
52+
Size" and specifying a width and height. These values are in points, not pixels; 1 point is 1/72 inch. The
53+
conversion from points to rendered pixels is dependent on the DPI setting, either that contained in the document
54+
or the one specified in the source properties. You can choose whether Ghostscript will scale the contents of the
55+
document to fit this page size or not as well, but that option is specific to PDF documents.
56+
4657
## Building
4758

4859
If you wish to build the obs-ghostscript plugin from source, you should just need [CMake](https://cmake.org/),
@@ -73,9 +84,9 @@ properly set up:
7384
containing the two aforementioned headers).
7485
* GSLibraryPath should refer to a folder containing the gsdll[32|64].lib binary libraries.
7586

76-
Note that the build pipeline will not copy the generated DLLs to an OBS Studio installation; you will need
77-
to do that manually, to the locations described above. Make sure to copy the gsdll[32|64].dll from the
78-
Ghostscript binary folder as well.
87+
Installation logic is provided through CMake as well; you can set the CMAKE_INSTALL_PREFIX configuration value
88+
to choose the folder to which the files will be copied. You can also manually copy all files to the locations
89+
described above.
7990

8091
## License
8192

0 commit comments

Comments
 (0)