Mercurial > mplayer.hg
view loader/win32.h @ 28241:898051d5d9b4
Support loading font faces other then the first one in a font file.
With -fontconfig, it is possible to select a face with index higher than
0 in a multi-face font file. Currently, with the old rendering code,
this information is lost and the first face is loaded. With this change,
index supplied by fontconfig is used for font loading.
Patch by Adrian Stutz, adrian sttz ch.
author | eugeni |
---|---|
date | Tue, 06 Jan 2009 16:44:47 +0000 |
parents | 9e739bdb049c |
children | 0e067fdaf442 |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_WIN32_H #define MPLAYER_WIN32_H #include <time.h> #include "wine/windef.h" #include "wine/winbase.h" #include "com.h" #ifdef AVIFILE #ifdef __GNUC__ #include "avm_output.h" #ifndef __cplusplus #define printf(a, ...) avm_printf("Win32 plugin", a, ## __VA_ARGS__) #endif #endif #endif void my_garbagecollection(void); typedef struct { UINT uDriverSignature; HINSTANCE hDriverModule; DRIVERPROC DriverProc; DWORD dwDriverID; } DRVR; typedef DRVR *PDRVR; typedef DRVR *NPDRVR; typedef DRVR *LPDRVR; typedef struct tls_s tls_t; void* LookupExternal(const char* library, int ordinal); void* LookupExternalByName(const char* library, const char* name); #endif /* MPLAYER_WIN32_H */