Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDC::SetMapperFlags
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD SetMapperFlags( DWORD dwFlag );
 
  Parameter   Description
 
  <dwFlag>    Specifies whether the font mapper attempts to match a font's
              aspect height and width to the device. When the first bit is
              set to 1, the mapper will only select fonts whose x-aspect
              and y-aspect exactly match those of the specified device.
 
  Remarks
 
  Alters the algorithm that the font mapper uses when it maps logical
  fonts to physical fonts. When the first bit of <dwFlag> is set to 1, the
  mapper will only select fonts whose x-aspect and y-aspect exactly match
  those of the specified device. If no fonts exist with a matching aspect
  height and width, GDI chooses an aspect height and width and selects
  fonts with aspect heights and widths that match the one chosen by GDI.
 
  The remaining bits of <dwFlag> must be 0.
 
  Return Value
 
  The previous value of the font-mapper flag.
 
  See Also
 
  ::SetMapperFlags
 
 
                                     -♦-