Changeset 10350 for trunk/src


Ignore:
Timestamp:
Dec 1, 2003, 2:28:10 PM (22 years ago)
Author:
sandervl
Message:

KOM: Use Warpsans Combined in DBCS environments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/font.cpp

    r10349 r10350  
    1 /* $Id: font.cpp,v 1.32 2003-12-01 13:27:37 sandervl Exp $ */
     1/* $Id: font.cpp,v 1.33 2003-12-01 13:28:10 sandervl Exp $ */
    22
    33/*
     
    348348  dprintf(("GDI32: lfPitchAndFamily= %X\n", lplf->lfPitchAndFamily));
    349349  dprintf(("GDI32: lfFaceName      = %s\n", lplf->lfFaceName));
     350
     351  if( IsDBCSEnv())
     352  {
     353    if( !strcmp( afont.lfFaceName, "WarpSans" ))
     354    {
     355        dprintf(("DBCS : WarpSans -> WarpSans Combined"));
     356
     357        strcpy( afont.lfFaceName, "WarpSans Combined" );
     358    }
     359  }
    350360
    351361  hFont = O32_CreateFontIndirect(&afont);
Note: See TracChangeset for help on using the changeset viewer.