This method is used to set text font size according to Viewport.
double getFontSize(double px) => getSize(px);