Author: Ludovic Rousseau <ludovic.rousseau@debian.org>
Subject: ValueError: invalid literal for int() with base 10: '1px'
Bug-Debian: http://bugs.debian.org/494613
--- plucker-1.8.orig/parser/python/PyPlucker/TextParser.py
+++ plucker-1.8/parser/python/PyPlucker/TextParser.py
@@ -1956,7 +1956,7 @@
         attributes = _list_to_dict (attributes)
 
         if attributes.has_key ('size'):
-             height = int (attributes['size'])
+             height = int (attributes['size'].strip('px'))
         if attributes.has_key ('color'):
             rgb = string.lower (attributes['color'])
         else:
