Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Things about PDF file

xiangxw edited this page Mar 18, 2012 · 3 revisions

CTM


The transformation from user space to device space is defined by the current transformation matrix (CTM).
The transformation between two coordinate systems is represented by a 3-by-3 transformation matrix written as follows:
CTM-1
Because a transformation matrix has only six elements that can be changed, it is usually specified in PDF as the six-element array [ a b c d e f ]. Coordinate transformations are expressed as matrix multiplications(see fz_matrix from Things about Mupdf source code):
CTM-2
(From: pdf_reference_1-7.pdf P201-209)

DPI


dots(pixels) per inch, the default resolution is 72 dpi