d2dlib icon indicating copy to clipboard operation
d2dlib copied to clipboard

DrawText aspect ratio problem

Open channel11 opened this issue 4 years ago • 1 comments

When the Direct2D control height is small, the drawn font is squeezed, and the top part cut off.

g.DrawText("Hello World \nsecond line", D2DColor.Black, font, 100, 200);

squeeze

channel11 avatar Aug 01 '21 06:08 channel11

Hi, Can you tell me what font you are using? Because in my environment there seems no problems to me. And your windows environment information such as scale (DPI), resolution. Thanks.

jingwood avatar Aug 17 '21 23:08 jingwood

Close this issue, if you still have problem please reopen or create a new.

jingwood avatar Nov 05 '22 01:11 jingwood