tce_pdf_testgen.php

Creates PDF documents for Pen-and-Paper testing.

Table of contents

Source: admin/code/tce_pdf_testgen.php

Creates PDF documents for Pen-and-Paper testing.

NOTE: the OMR answer-sheet grid (alignment marks, answer bubbles, barcodes) is read back by a physical scanner via tce_functions_omr.php, so its coordinates must stay byte-for-byte identical to the legacy layout. The question sheet (not scanned) is rendered with the tc-lib-pdf HTML engine.

Constants

K_PATH_FONTS

const K_PATH_FONTS = \realpath(__DIR__ . '/../../vendor/tecnickcom/tc-lib-pdf-font/target/fonts')

Source: admin/code/tce_pdf_testgen.php:34