|
-
April 24th, 2001, 06:51 PM
#1
Small font vs large font
Why does my application that uses custom shaped windows, look so strange when large fonts is used in Windows? Is there a way to have the graphics align properly no matter if it is small or large fonts?
-
April 24th, 2001, 09:05 PM
#2
Re: Small font vs large font
We generally assume 15 TwipsPerPixel. But when Windows uses large fonts, it is different. That might be one reason. To make the interface consistent, use twips as display units in all places and twips/screen.twipsperpixelx and twips/screen.twipsperpixely wherever pixel values are needed.
-
May 7th, 2001, 04:54 AM
#3
Re: Small font vs large font
You could combine somehow the GETTEXTMETRICS structure with the TextOut API function.
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
|