[comp.windows.ms] Fonts & debug kernel prob.

LANDON@ENR.Prime.COM (08/12/89)

I'm using Commonview/C++ and am experiencing the following annoying,
but not fatal problem with Windows/386 debugging kernel.

I create a 5x5 font for a child window.  Using the retail version
of Windows, it comes out fine.  Using the debugging Windows kernel
the text comes out the size of the system font (larger).  MicroSoft
support had no idea.  ImageSoft support people rarely use the
debugging version of the Windows kernel.

Does anyone have a theory about why this might be?

Landon Cox
landon@enr.prime.com

bturner@hpcvlx.HP.COM (Bill Turner) (08/15/89)

> I create a 5x5 font for a child window.  Using the retail version
> of Windows, it comes out fine.  Using the debugging Windows kernel
> the text comes out the size of the system font (larger).  MicroSoft
> support had no idea.  ImageSoft support people rarely use the
> debugging version of the Windows kernel.

The only thing I can think of is that the font creation is failing.
Check hFont from CreateFont or CreateFontIndirect to see if that is
the case.  If the font creation is failing, I don't have any ideas
why, but it would explain the system font being used...

--Bill Turner (bturner@hp-pcd.hp.com)
HP Corvallis Information Systems