Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ogicse!milton!sumax!thebes!quick!cctb!curt From: curt@cctb.wa.com (Curt Johnson) Newsgroups: comp.windows.ms.programmer Subject: Re: Lining up rows and columns of characters Message-ID: Date: 22 Mar 91 20:50:21 GMT References: <27561@uflorida.cis.ufl.EDU> Organization: Chemical Computer Thinking Battery, Redmond, WA Lines: 16 In article <27561@uflorida.cis.ufl.EDU> jdb@reef.cis.ufl.edu (Brian K. W. Hook) writes: | Now, the problem is that when I do a TextOut or a DrawText, the letters do | not align themselves correctly vertically because of the fonts. This | becoming a very important issue...is there a way to make the characters | line up (assign 8x8 bit maps to everything?).... You want to use a font with fixed spacing. Try: SelectObject(hdc, GetStockObject(OEM_FIXED_FONT)); // or SYSTEM_FIXED_FONT or ANSI_FIXED_FONT For more information, see the Petzold book, pages 654-655. Curt Johnson == curt@cctb.wa.com