    def length(self, length, font_size):
        """Compute size of an arbirtary attribute."""
        return size(length, font_size, self.inner_diagonal)
Compute size of an arbirtary attribute.
weasyprint/svg/__init__.py