MeasureString() pads the text on the left and the right

后端 未结 5 790
野趣味
野趣味 2021-01-04 01:54

I\'m using GDI+ in C++. (This issue might exist in C# too).

I notice that whenever I call Graphics::MeasureString() or Graphics::DrawString(), the string is padded

5条回答
  •  囚心锁ツ
    2021-01-04 02:03

    Sounds like it might also be connecting to hinting, based on this kb article, Why text appears different when drawn with GDIPlus versus GDI

提交回复
热议问题