$ 0 0 thank you for reply I try to use pointSize, but found in log QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0