-
October 25th, 2022, 05:06 AM
#1
How to fix Rect & DrawText?
I have an client game online use gdi32 to createfont. I need to change fontface and fix font size to bigger.
But when i change size to 14 or larger, word will be missed on the right.

Need a programer can work with ollydbg debug and hook dll, i can pay fee
-
October 27th, 2022, 08:18 AM
#2
Re: How to fix Rect & DrawText?
DrawText takes an argument which is the rectangle in which the text is to be drawn. You probably enlarged the font size without adjusting that rectangle. You can determine the width and height of the rectangle, using DT_CALCRECT flag. Fore more info see DrawText function.
If you are looking for a programmer, please post an announcement in Open Positions (Jobs) forum section.
Last edited by ovidiucucu; October 27th, 2022 at 11:30 AM.
-
January 30th, 2023, 04:15 AM
#3
Re: How to fix Rect & DrawText?
 Originally Posted by ovidiucucu
DrawText takes an argument which is the rectangle in which the text is to be drawn. You probably enlarged the font size without adjusting that rectangle. You can determine the width and height of the rectangle, using DT_CALCRECT flag. Fore more info see DrawText function.
If you are looking for a programmer, please post an announcement in Open Positions (Jobs) forum section.
Many thanks @ovidiucucu. I find same problem in post https://forums.codeguru.com/showthre...entPoint32-API
Who can hook dll or fix it by ollydbg, please pm me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|