PrizmDoc® Viewer v13.26 Release - Updated
PrizmDoc Viewer / Troubleshooting / Document Viewing Issues / Text Files
In This Topic
    Text Files
    In This Topic

    Introduction

    This section outlines possible reasons why some text documents rendered differently than expected.

    The text file shows only a single line of text when rendered by PrizmDoc

    For text files which only show a single line of text, the text file may have Mac-style line endings - CR (or '\r') only without line feed character LF (or '\n'). To verify, open text file in Notepad++ and select View, Show Symbol, Show All characters.

    The text file has an unexpected page size when rendered by PrizmDoc

    Text file page size is a system wide setting which depends on operating system configuration.

    Windows

    The page size depends on the Microsoft Windows regional setting format value; for instance the English (US) value will produce Letter page size, while the French (France) value will produce A4 page size.

    Docker

    The PrizmDoc Server Docker image has A4 default page size, which can be changed from within the container by using the following example.

    apt install libpaper-utils
    paperconfig -p letter
    
    

    The page size is defined in /etc/papersize, and is changed by the paperconfig utility. A list of available paper sizes can be found in the papersize Linux man page.

    It can be changed permanently by extending the PrizmDoc Server Docker container. For more information, see Using Docker