These problems are indicated in comments in the source code. E.g., the standard establishes that the size of canvas:attrFont() is given in pixels. This is probably wrong, as most APIs support only point values. We're thus assuming that font-size is given in points.