Changeset 9443 for trunk/src


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

logging updates

Location:
trunk/src/gdi32
Files:
4 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
  • trunk/src/gdi32/gdi32.cpp

    r9429 r9443  
    1 /* $Id: gdi32.cpp,v 1.85 2002-11-26 10:53:08 sandervl Exp $ */
     1/* $Id: gdi32.cpp,v 1.86 2002-11-29 13:46:04 sandervl Exp $ */
    22
    33/*
     
    653653 int rc;
    654654
     655#ifdef DEBUG
     656  if(cbInput && lpvInData) {
     657        ULONG *tmp = (ULONG *)lpvInData;
     658        for(int i=0;i<cbInput/4;i++) {
     659                dprintf(("GDI32: Escape par %d: %x", i, *tmp++));
     660        }
     661  }
     662#endif
    655663    rc = O32_Escape(hdc, nEscape, cbInput, lpvInData, lpvOutData);
    656664    if(rc == 0) {
  • trunk/src/gdi32/oslibgpi.cpp

    r5677 r9443  
    1 /* $Id: oslibgpi.cpp,v 1.11 2001-05-10 17:03:18 sandervl Exp $ */
     1/* $Id: oslibgpi.cpp,v 1.12 2002-11-29 13:46:04 sandervl Exp $ */
    22
    33/*
     
    430430}
    431431#endif
    432 
     432//******************************************************************************
     433//******************************************************************************
    433434BOOL OSLibDevQueryCaps(pDCData pHps, LONG lStart, LONG lCount, LONG *alArray)
    434435{
    435436   return DevQueryCaps(pHps->hdc, lStart, lCount, alArray);
    436437}
     438//******************************************************************************
     439//******************************************************************************
     440BOOL OSLibGpiLoadFonts(LPSTR lpszFontFile)
     441{
     442   return GpiLoadFonts(0, lpszFontFile);
     443}
     444//******************************************************************************
     445//******************************************************************************
  • trunk/src/gdi32/oslibgpi.h

    r5760 r9443  
    1 /* $Id: oslibgpi.h,v 1.10 2001-05-19 19:43:54 sandervl Exp $ */
     1/* $Id: oslibgpi.h,v 1.11 2002-11-29 13:46:04 sandervl Exp $ */
    22
    33/*
     
    104104BOOL OSLibGpiQueryCurrentPosition(PVOID pHps,PPOINTLOS2 ptl);
    105105BOOL OSLibGpiSetCurrentPosition(PVOID pHps,PPOINTLOS2 ptl);
     106
     107BOOL OSLibGpiLoadFonts(LPSTR lpszFontFile);
    106108
    107109#define CHSOS_OPAQUE                 0x0001L
Note: See TracChangeset for help on using the changeset viewer.