wjcroft / analog-box

Automatically exported from code.google.com/p/analog-box
4 stars 0 forks source link

Label Text Gets Clipped #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Problem:
Under Win7, with OS text size set to 'larger', ABox LabelObject 
text is clipped.

Recommend:
*ABox_Label.asm contains code that creates a bitmap to be 
 displayed when the user is not editing the label text. Text is 
 drawn on the bitmap using a font resource instantiated by ABox. 
 It is the text drawn on the bitmap that is clipped.
*Previous versions of Windows did not have this problem. 
 Research into newly introduced flags for CreateFontIndirect 
 might be illustrative.
*Alternately, develop additional source code that measures and 
 verifies the pixel size of the created font and resizes the bitmap
 accordingly.

Original issue reported on code.google.com by andyt7...@gmail.com on 8 Jul 2011 at 9:04