Home > Software engineering > C/WinGDI/Gdi for help how to create a monospaced font of equal width and height
C/WinGDI/Gdi for help how to create a monospaced font of equal width and height
Time:11-07
How to create the width and height of equal width font??????? LOGFONT the height and width of exactly how to fill in??????? really fast to make me mad
(g for Gdiplus: : Graphics object) Thought can result is the ghost appearance:
If added FIXED_PIXCH attribute, is the Courier New, although the width, the character width and height are not unified And the height and width of each plus or minus sex I tested, not all . A great god genuflect is begged help, thank you very much
No money , to 100 points, for help
CodePudding user response:
The top... For help
CodePudding user response:
Try ExtTextOut , you can specify the interval between each character
CodePudding user response:
Font, the font itself determines the width of each character and size, not external set, Font have a monospaced font and wider font, Look at your description you need is a monospaced font, under Windows Fixedsys English font is monospaced font, you can use this font a try, All equal to the width of character Spaces, I and W, equal to the width of,