public TransformationMatrix GetFontMatrix() { var scale = 1000m; if (font?.HeaderTable != null) { scale = font.GetFontMatrixMultiplier(); } return(TransformationMatrix.FromValues(1m / scale, 0, 0, 1m / scale, 0, 0)); }