kbinkley@Neon.Stanford.EDU (Kevin J. Binkley) (02/06/91)
I would like to display text vertically. I tried creating a font with the nEscapment and nOrientations = 450 (45 deg) (also tried 900) and saw no change at all in the orientation or escapment. Do these attributes have any effect yet? or must I design a specific font so the font picker will find a match? Has anyone ever drawn vertical text (in some convient way)? How? Also, my application requests a vector font. I was hoping that the labels on some graphs I produce would continuously scale as I resize the graph window. On some systems it does and on others the font found jumps in size abruptly as I request different heights. Meaning that Window's can't scale or pick the font or the next height requested. On the systems that exhibited continuous scaling, PageMaker was loaded. Does anyone know of a standard Window's Font that I can request and continuously adjust the nHeight parameter? This is the code I was using for all of the above tries: logfont.lfHeight = 8; logfont.lfWidth = 5; logfont.lfEscapement = 0; /* changed to 450 for 45 degrees, no effect */ logfont.lfOrientation = 0; /* changed to 450, no effect */ logfont.lfWeight = 0; logfont.lfItalic = 0; logfont.lfUnderline = 0; logfont.lfStrikeOut = 0; logfont.lfCharSet = ANSI_CHARSET; logfont.lfOutPrecision = OUT_DEFAULT_PRECIS; logfont.lfClipPrecision = CLIP_DEFAULT_PRECIS; logfont.lfQuality = DEFAULT_QUALITY; logfont.lfPitchAndFamily = FF_SWISS; lstrcpy(logfont.lfFaceName,"Helv"); hFont = CreateFontIndirect(&logfont); /* I used TextOut after selecting the font into the DC */ Thanks for your help, -Kevin Binkley