Text cut off when antiAlias

I have one row of text in a textField with specified height and width.

When I set antiAliasType = “advanced”; the top of the text line is cut off. It doesn’t matter what I set the height and width of the text field to.

How can I solve this problem?

Seems like the extra space used for anti alias is not considered at all.