Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ucbvax!agate!pasteur!ames!elroy!orion.cf.uci.edu!uci-ics!venera.isi.edu!dick From: dick@venera.isi.edu (Richard Gillmann) Newsgroups: comp.windows.ms Subject: Re: Vector fonts Keywords: OEM_CHARSET, Vector Fonts, Text Message-ID: <7941@venera.isi.edu> Date: 5 Apr 89 19:21:43 GMT References: <342@secola.Columbia.NCR.COM> Reply-To: dick@venera.isi.edu.UUCP (Richard Gillmann) Organization: Three D Graphics, Pacific Palisades, CA Lines: 13 In article <342@secola.Columbia.NCR.COM> gmiller@secola.Columbia.NCR.COM writes: >I am trying to use vector rather than raster fonts in a Windows application. >The books I have (Petzold &c) say that when using CreateFont(), nCharSet must >be set to OEM_CHARSET to get a vector font, since all the vector fonts are OEM >charset fonts. But when I use OEM_CHARSET, my text gets displayed as all >underscores; e. g. "Node 1" comes out as "______." Sounds like you are basically on the right track. Be sure to specify a vector font family when you create the font. The vector fonts are Roma n, Modern and Script. The other fonts are bit maps only. Also, I think you would find that using CreateFontIndirect is a little easier. Richard Gillmann