1
0
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:
GreLI
2015-09-02 15:53:08 +03:00
parent 614bc00d77
commit db78402c8c
2 changed files with 2 additions and 2 deletions

View File

@ -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