Wrong factor in SVGParse.GetFactor
Closed this issue · 1 comments
M0nsieurT commented
I had issues with text position in my SVG file using inches unit.
I saw some mistakes in GetFactor function, it looks like factors are based on millimeters, ex :
suIN: Result := 25.4; ( factor between mm and inches)
must be :
suIN: Result := 96; ( factor between pixels and inches)
others unit factors are wrong (suPT must be 1.33, suEM must be 16...) https://www.w3schools.com/cssref/css_units.asp
M0nsieurT commented
Thanks !