Open LPC351710 opened 7 years ago
BaseLine的Y坐标如果这样计算centeYLine + dip2px(getContext(), textHeight) / 2 会导致问题偏上一点点. 应该这样计算 centeYLine + ((fontMetrics.bottom - fontMetrics.top) / 2 - fontMetrics.bottom)
BaseLine的Y坐标如果这样计算centeYLine + dip2px(getContext(), textHeight) / 2 会导致问题偏上一点点. 应该这样计算 centeYLine + ((fontMetrics.bottom - fontMetrics.top) / 2 - fontMetrics.bottom)