I have some Java code that is essentially, as follows:
AffineTransform _1 = AffineTransform(getScaledInstance(1.2, 1.1);
Font f1 = (new Font("Dialog", Font.BOLD, 12)).deriveFont(_1);
...
if (...)
f1 = f1.deriveFont(AffineTransform.getRotateInstance(Math.toRadian(90));
...
setFont(f1)...