Fixed an issue with unit conversion.

Fixed an issue where unit conversions from mm to pt would be off by a
factor of 100.

This fixes #118
This commit is contained in:
Chris de Jong-Pobedinskiy
2022-02-07 13:56:20 +01:00
parent e0de408821
commit fe431fbc12
+1 -1
View File
@@ -32,7 +32,7 @@ namespace QuestPDF.Infrastructure
Point => 1,
Meter => 100 / InchToCentimetre * InchToPoints,
Centimetre => 1 / InchToCentimetre * InchToPoints,
Millimetre => 10 / InchToCentimetre * InchToPoints,
Millimetre => 0.1f / InchToCentimetre * InchToPoints,
Feet => 12 * InchToPoints,
Inch => InchToPoints,
Mill => InchToPoints / 1000f,