[Qt] Poor rounding in GraphicsContext::drawLineForText