Customizing Reports#

Tailor the user interface elements of your exported PDF reports. You have the flexibility to modify the font, customize the header and footer text, and provide a company logo according to your preferences. See the sample PDF image below for an illustration of these customizable features.

Example PDF

See also

Configuring the date format is done at runtime by using the --date-format option. See date format for more information.

Customizable User Interface Elements#

Patcher allow syou to personalize the appearance of your reports using settings stored in the project’s property list file. For full details on modifying the property list, see Property List Configuration.

Customizing the Font#

You can specify a custom font to match your organization’s branding. The font settings, including font name and paths to font files are stored in the property list.

Important

The default font used in testing is Google’s Assistant Font. While you can specify a different font to match your organization’s branding, be aware that doing so may cause formatting or alignment issues in the exported PDF reports. It is recommended to test the PDF export functionality thoroughly after changing the font to ensure the new font does not adversely affect the document’s appearance.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>UserInterfaceSettings</key>
    <dict>
        <key>font_name</key>
        <string>Assistant</string>
        <key>reg_font_path</key>
        <string>/Users/spesh/Library/Application Support/Patcher/fonts/Assistant-Regular.ttf</string>
        <key>bold_font_path</key>
        <string>/Users/spesh/Library/Application Support/Patcher/fonts/Assistant-Bold.ttf</string>
    </dict>
</dict>
</plist>