support for font.ui.width and height