PDA

View Full Version : Parameters to CreateFont() have not effect



Lorax
11-16-2001, 07:26 AM
I've been trying to do outline font rendering on Windows and I've looked at nehe's excellent tutorial and the superbible's on the subject. When I put similar code into my project, I found I could not change the font height or width with the first two parameters of the API call CreateFont. (Superbible uses CreateFontIndirect.) Then I went back to the tutorials and found that changing variables in them has no effect either. Anyone know what is going on? (By the way, changing the font name--the last parameter--DOES work.)
Lorax