2006-07-11 13:10:51 +00:00
|
|
|
// XFont.h Version 1.1
|
|
|
|
//
|
|
|
|
// Copyright (C) 2003 Hans Dietrich
|
|
|
|
//
|
|
|
|
// This software is released into the public domain.
|
|
|
|
// You are free to use it in any way you like.
|
|
|
|
//
|
|
|
|
// This software is provided "as is" with no expressed
|
|
|
|
// or implied warranty. I accept no liability for any
|
|
|
|
// damage or loss of business that this software may cause.
|
|
|
|
//
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef XFONT_H
|
|
|
|
#define XFONT_H
|
|
|
|
|
|
|
|
typedef struct _tagFONT_PROPERTIES
|
|
|
|
{
|
|
|
|
TCHAR csName[1024];
|
|
|
|
TCHAR csCopyright[1024];
|
|
|
|
TCHAR csTrademark[1024];
|
|
|
|
TCHAR csFamily[1024];
|
|
|
|
} FONT_PROPERTIES, *LPFONT_PROPERTIES;
|
|
|
|
|
|
|
|
|
|
|
|
BOOL GetFontFile(LPCTSTR lpszFontName,
|
|
|
|
LPTSTR lpszDisplayName,
|
|
|
|
int nDisplayNameSize,
|
|
|
|
LPTSTR lpszFontFile,
|
|
|
|
int nFontFileSize);
|
|
|
|
|
|
|
|
|
|
|
|
BOOL GetFontProperties(LPCTSTR lpszFilePath,
|
|
|
|
LPFONT_PROPERTIES lpFontProps);
|
|
|
|
|
2009-03-24 15:48:30 +00:00
|
|
|
bool GetFontsFolder(LPTSTR lpszFontPath, int nFontPathSize);
|
|
|
|
bool GetWinVer(LPTSTR lpszVersion, int nVersionSize, int *nVersion);
|
2009-02-12 11:59:36 +00:00
|
|
|
|
2006-07-11 13:10:51 +00:00
|
|
|
#endif //XFONT_H
|