mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
disable freetype for now
svn path=/trunk/; revision=1758
This commit is contained in:
parent
d8538e9795
commit
f22ea77911
1 changed files with 8 additions and 6 deletions
|
@ -6,22 +6,23 @@
|
||||||
#include <win32k/dc.h>
|
#include <win32k/dc.h>
|
||||||
#include <win32k/text.h>
|
#include <win32k/text.h>
|
||||||
#include <win32k/kapi.h>
|
#include <win32k/kapi.h>
|
||||||
#include <freetype/freetype.h>
|
// #include <freetype/freetype.h>
|
||||||
|
|
||||||
// #define NDEBUG
|
// #define NDEBUG
|
||||||
#include <win32k/debug1.h>
|
#include <win32k/debug1.h>
|
||||||
|
|
||||||
FT_Library library;
|
// FT_Library library;
|
||||||
|
|
||||||
BOOL InitFontSupport()
|
BOOL InitFontSupport()
|
||||||
{
|
{
|
||||||
ULONG error;
|
/* ULONG error;
|
||||||
|
|
||||||
error = FT_Init_FreeType(&library);
|
error = FT_Init_FreeType(&library);
|
||||||
if(error)
|
if(error)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else return TRUE;
|
} else return TRUE; */
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -378,8 +379,9 @@ W32kTextOut(HDC hDC,
|
||||||
LPCWSTR String,
|
LPCWSTR String,
|
||||||
int Count)
|
int Count)
|
||||||
{
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
// Fixme: Call EngTextOut, which does the real work (calling DrvTextOut where appropriate)
|
// Fixme: Call EngTextOut, which does the real work (calling DrvTextOut where appropriate)
|
||||||
|
/*
|
||||||
DC *dc = DC_HandleToPtr(hDC);
|
DC *dc = DC_HandleToPtr(hDC);
|
||||||
SURFOBJ *SurfObj = AccessUserObject(dc->Surface);
|
SURFOBJ *SurfObj = AccessUserObject(dc->Surface);
|
||||||
UNICODE_STRING FileName;
|
UNICODE_STRING FileName;
|
||||||
|
@ -545,7 +547,7 @@ W32kTextOut(HDC hDC,
|
||||||
}
|
}
|
||||||
|
|
||||||
DbgPrint("BREAK\n"); for (;;) ;
|
DbgPrint("BREAK\n"); for (;;) ;
|
||||||
|
*/
|
||||||
/* RtlFreeAnsiString(AString);
|
/* RtlFreeAnsiString(AString);
|
||||||
RtlFreeUnicodeString(UString); */
|
RtlFreeUnicodeString(UString); */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue