Table of Contents

Property TransformationMatrix



Gets the transformation matrix used to map coordinates from this font's glyph coordinate system to canvas coordinate system.

public PdfMatrix TransformationMatrix { get; }

Property Value


The transformation used to map coordinates from the glyph space to canvas space.


The glyph coordinate system is the space in which an individual character's glyph is defined. The glyph origin is the point (0, 0) in the glyph coordinate system. Y axis is directed from the bottom to the top.

For all font types except Type 3, the units of glyph space are one-thousandth of a unit of a canvas space. The TransformationMatrix is equal to { 0.001, 0, 0, 0.001, 0, 0 } for all fonts except Type 3.

For a Type 3 font, the TransformationMatrix can have an arbitrary value.

The canvas coordinate system is the coordinate system of a PdfCanvas. It is used when text is drawn on a PdfPage, on a PdfXObject or on a PdfTilingPattern.