Skip to content

Commit 5b3e090

Browse files
authored
Add inches to measurement conversion dictionary (#136)
fixes issue #135
1 parent 1cc5b88 commit 5b3e090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svgutils/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Unit:
1010
value with unit (for example, '2cm')
1111
"""
1212

13-
per_inch = {"px": 90, "cm": 2.54, "mm": 25.4, "pt": 72.0}
13+
per_inch = {"px": 90, "cm": 2.54, "mm": 25.4, "pt": 72.0, "in": 1.0}
1414

1515
def __init__(self, measure):
1616
try:

0 commit comments

Comments
 (0)