mirror of
https://github.com/svg/svgo.git
synced 2025-07-31 07:44:22 +03:00
Corrected mm/px ratio. Fixes #420
This commit is contained in:
@ -17,7 +17,7 @@ var regNumericValues = /^([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)(px|pt|pc|mm|cm|m|in|f
|
||||
removeLeadingZero = require('../lib/svgo/tools').removeLeadingZero,
|
||||
absoluteLengths = { // relative to px
|
||||
cm: 96/2.54,
|
||||
mm: 9600/2.54,
|
||||
mm: 96/25.4,
|
||||
in: 96,
|
||||
pt: 4/3,
|
||||
pc: 16
|
||||
|
Reference in New Issue
Block a user