- Timestamp:
- Nov 29, 2002, 2:46:04 PM (23 years ago)
- Location:
- trunk/src/gdi32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/font.cpp
r9429 r9443 1 /* $Id: font.cpp,v 1.2 7 2002-11-26 10:53:08sandervl Exp $ */1 /* $Id: font.cpp,v 1.28 2002-11-29 13:46:03 sandervl Exp $ */ 2 2 3 3 /* … … 39 39 #include <odininst.h> 40 40 #include <stats.h> 41 #include "oslibgpi.h" 41 42 42 43 #define DBG_LOCALLOG DBG_font … … 582 583 //****************************************************************************** 583 584 //****************************************************************************** 584 BOOL WIN32API RemoveFontResourceA(LPCSTR arg1)585 { 586 dprintf(("GDI32: RemoveFontResourceA %s \n", arg1));587 return O32_RemoveFontResource( arg1);585 BOOL WIN32API RemoveFontResourceA(LPCSTR lpszFont) 586 { 587 dprintf(("GDI32: RemoveFontResourceA %s", lpszFont)); 588 return O32_RemoveFontResource(lpszFont); 588 589 } 589 590 //****************************************************************************** … … 620 621 LPCSTR lpszCurrentPath) 621 622 { 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; 625 627 } 626 628 … … 647 649 LPCWSTR lpszCurrentPath) 648 650 { 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); 652 659 } 653 660 -
trunk/src/gdi32/gdi32.cpp
r9429 r9443 1 /* $Id: gdi32.cpp,v 1.8 5 2002-11-26 10:53:08sandervl Exp $ */1 /* $Id: gdi32.cpp,v 1.86 2002-11-29 13:46:04 sandervl Exp $ */ 2 2 3 3 /* … … 653 653 int rc; 654 654 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 655 663 rc = O32_Escape(hdc, nEscape, cbInput, lpvInData, lpvOutData); 656 664 if(rc == 0) { -
trunk/src/gdi32/oslibgpi.cpp
r5677 r9443 1 /* $Id: oslibgpi.cpp,v 1.1 1 2001-05-10 17:03:18sandervl Exp $ */1 /* $Id: oslibgpi.cpp,v 1.12 2002-11-29 13:46:04 sandervl Exp $ */ 2 2 3 3 /* … … 430 430 } 431 431 #endif 432 432 //****************************************************************************** 433 //****************************************************************************** 433 434 BOOL OSLibDevQueryCaps(pDCData pHps, LONG lStart, LONG lCount, LONG *alArray) 434 435 { 435 436 return DevQueryCaps(pHps->hdc, lStart, lCount, alArray); 436 437 } 438 //****************************************************************************** 439 //****************************************************************************** 440 BOOL 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.1 0 2001-05-19 19:43:54 sandervl Exp $ */1 /* $Id: oslibgpi.h,v 1.11 2002-11-29 13:46:04 sandervl Exp $ */ 2 2 3 3 /* … … 104 104 BOOL OSLibGpiQueryCurrentPosition(PVOID pHps,PPOINTLOS2 ptl); 105 105 BOOL OSLibGpiSetCurrentPosition(PVOID pHps,PPOINTLOS2 ptl); 106 107 BOOL OSLibGpiLoadFonts(LPSTR lpszFontFile); 106 108 107 109 #define CHSOS_OPAQUE 0x0001L
Note:
See TracChangeset
for help on using the changeset viewer.