Ignore:
Timestamp:
Nov 29, 2002, 2:46:04 PM (23 years ago)
Author:
sandervl
Message:

logging updates

File:
1 edited

Legend:

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

    r9429 r9443  
    1 /* $Id: font.cpp,v 1.27 2002-11-26 10:53:08 sandervl Exp $ */
     1/* $Id: font.cpp,v 1.28 2002-11-29 13:46:03 sandervl Exp $ */
    22
    33/*
     
    3939#include <odininst.h>
    4040#include <stats.h>
     41#include "oslibgpi.h"
    4142
    4243#define DBG_LOCALLOG    DBG_font
     
    582583//******************************************************************************
    583584//******************************************************************************
    584 BOOL WIN32API RemoveFontResourceA(LPCSTR arg1)
    585 {
    586     dprintf(("GDI32: RemoveFontResourceA %s\n", arg1));
    587     return O32_RemoveFontResource(arg1);
     585BOOL WIN32API RemoveFontResourceA(LPCSTR lpszFont)
     586{
     587    dprintf(("GDI32: RemoveFontResourceA %s", lpszFont));
     588    return O32_RemoveFontResource(lpszFont);
    588589}
    589590//******************************************************************************
     
    620621                                          LPCSTR lpszCurrentPath)
    621622{
    622   dprintf(("GDI32: CreateScalableFontResourceA not implemented.\n"));
    623 
    624   return (FALSE);
     623  dprintf(("GDI32: CreateScalableFontResourceA %x %s %s %s not implemented", fdwHidden, lpszFontRes, lpszFontFile, lpszCurrentPath));
     624
     625//  return OSLibGpiLoadFonts((LPSTR)lpszFontFile);
     626  return FALSE;
    625627}
    626628
     
    647649                                          LPCWSTR lpszCurrentPath)
    648650{
    649   dprintf(("GDI32: CreateScalableFontResourceW not implemented.\n"));
    650 
    651   return (FALSE);
     651  LPSTR lpszFontFileA = NULL, lpszFontResA = NULL, lpszCurrentPathA = NULL;
     652
     653  dprintf(("GDI32: CreateScalableFontResourceW %x %ls %ls %ls not implemented", fdwHidden, lpszFontRes, lpszFontFile, lpszCurrentPath));
     654
     655  STACK_strdupWtoA(lpszFontFile, lpszFontFileA);
     656  STACK_strdupWtoA(lpszFontRes, lpszFontResA);
     657  STACK_strdupWtoA(lpszCurrentPath, lpszCurrentPathA);
     658  return CreateScalableFontResourceA(fdwHidden, lpszFontResA, lpszFontFileA, lpszCurrentPathA);
    652659}
    653660
Note: See TracChangeset for help on using the changeset viewer.