fix font size in diagrams