Fixed issue with different font output size in cairo and diagrams.

The metrics in SVG fonts do not seem to match with the definition of the
metrics deliverd by cairo. I now calculate the metrics in the diagrams
backend such that they match the definition of cairo (95%).