fix text scaling

Accompanies diagrams/diagrams-lib#182.