It appears that several properties are stored as floating point (like character-spacing and line_spacing):
but parsed as unsigned:
@herm - I can fix this up, but can you confirm which type is correct? It looks to me like in the case of these two properties (at least) double is the correct type.
looks like we need to resolve text_size as well, its a float as parsed in text_properties but then unsigned in formatting. ugh.
Use double instead of unsigned while parsing XML.