Sets font for the graphics 2D object to match the specified pixelheight
The font will have the smallest point size that will result in font
pixel height exceeding pixelheight parameter
Sets font for the graphics 2D object so that a string
has length not exceeding pixel width and height
The font size is largest value so that the string width
does not exceed the set pixelwidth/pixelheight