mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-04-04 23:39:26 +08:00
解决GDI+部分字体不同尺寸下不显示的问题
This commit is contained in:
parent
8e4047fa0e
commit
e91ba9d8bc
@ -295,7 +295,7 @@ namespace CPF.GDIPlus
|
||||
{
|
||||
if (h == -1)
|
||||
{
|
||||
h = Font.Height;
|
||||
h = Font.Height + 0.01f;//有些字体用行高计算字符尺寸的时候会有问题,只能加0.01
|
||||
}
|
||||
return h;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user