18 memcpy(pc, pvView, cjView);
50 DbgPrint(
"Only 1 File is allowed, got %ld!\n", cFiles);
55 if (!EngMapFontFileFD(*
piFile, (
PULONG*)&pvView, &cjView))
57 DbgPrint(
"Could not map font file!\n");
67 DbgPrint(
"No faces found in file\n");
103 DbgPrint(
"Success! Returning %ld faces\n", cNumFaces);
187 DbgPrint(
"iFace > pfile->cNumFaces || !pid\n");
198 DbgPrint(
"FT_New_Memory_Face failed\n");
206 DbgPrint(
"EngAllocMem() failed.\n");
227 for (
i = 1;
i < 16;
i++)
324 DbgPrint(
"Finished with the ifi: %p\n", pifiX);
381 DbgPrint(
"FT_New_Memory_Face() failed.\n");
392 DbgPrint(
"EngAllocMem() failed.\n");
398 charcode = pcp[0].
code;
399 for (
i = 1, cRuns = 1; charcode &&
i <
cGlyphs;
i++)
402 DbgPrint(
"charcode=0x%lx, index=0x%lx\n", charcode, pcp[
i].
index);
403 pcp[
i].
code = charcode;
404 if (charcode != pcp[
i - 1].
code + 1)
415 + (cRuns - 1) *
sizeof(
WCRUN)
422 DbgPrint(
"EngAllocMem() failed.\n");
431 pGlyphSet->
cRuns = cRuns;
434 pwcrun = pGlyphSet->awcrun;
435 phglyphs = (
PHGLYPH)&pGlyphSet->awcrun[cRuns];
438 pwcrun[0].
phg = &phglyphs[0];
439 phglyphs[0] = pcp[0].
index;
462 pwcrun[
j].
phg = &phglyphs[
i];
472DbgPrint(
"pGlyphSet=%p\n", pGlyphSet);
FT_Done_Face(FT_Face face)
FT_Get_First_Char(FT_Face face, FT_UInt *agindex)
FT_Select_Charmap(FT_Face face, FT_Encoding encoding)
FT_Get_Next_Char(FT_Face face, FT_ULong char_code, FT_UInt *agindex)
FT_New_Memory_Face(FT_Library library, const FT_Byte *file_base, FT_Long file_size, FT_Long face_index, FT_Face *aface)
struct FTFD_FILE * PFTFD_FILE
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
void __cdecl __debugbreak(void)
#define memcpy(s1, s2, n)
void * EngAllocMem(int zero, unsigned long size, int tag=0)
WCHAR wszFamilyName[LF_FACESIZE]
WCHAR wszStyleName[MAX_STYLESIZE]
WCHAR wszFaceName[LF_FACESIZE]
FT_Short max_advance_width
FWORD fwdStrikeoutPosition
FWORD fwdSuperscriptYSize
FWORD fwdUnderscorePosition
FWORD fwdSubscriptYOffset
FWORD fwdSuperscriptXSize
FWORD fwdSuperscriptYOffset
FWORD fwdSubscriptXOffset
FWORD fwdSuperscriptXOffset
#define FIELD_OFFSET(t, f)
BOOL APIENTRY FtfdUnloadFontFile(IN ULONG_PTR iFile)
LONG APIENTRY FtfdQueryFontFile(ULONG_PTR iFile, ULONG ulMode, ULONG cjBuf, ULONG *pulBuf)
PIFIMETRICS APIENTRY FtfdQueryFont(IN DHPDEV dhpdev, IN ULONG_PTR iFile, IN ULONG iFace, IN ULONG_PTR *pid)
PVOID HackFixup(PVOID pvView, ULONG cjView)
PVOID APIENTRY FtfdQueryFontTree(DHPDEV dhpdev, ULONG_PTR iFile, ULONG iFace, ULONG iMode, ULONG_PTR *pid)
ULONG_PTR APIENTRY FtfdLoadFontFile(ULONG cFiles, ULONG_PTR *piFile, PVOID *ppvView, ULONG *pcjView, DESIGNVECTOR *pdv, ULONG ulLangID, ULONG ulFastCheckSum)
LONG APIENTRY FtfdQueryFontCaps(ULONG culCaps, ULONG *pulCaps)
VOID APIENTRY FtfdFree(PVOID pv, ULONG_PTR id)
typedef DHPDEV(APIENTRY FN_DrvEnablePDEV)(_In_ DEVMODEW *pdm
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR _In_ ULONG ulLangID
struct _FD_GLYPHSET FD_GLYPHSET
_In_ ULONG_PTR _In_ ULONG iFace
ENGAPI VOID APIENTRY EngMultiByteToUnicodeN(_Out_writes_bytes_to_(MaxBytesInUnicodeString, *BytesInUnicodeString) LPWSTR UnicodeString, _In_ ULONG MaxBytesInUnicodeString, _Out_opt_ PULONG BytesInUnicodeString, _In_reads_bytes_(BytesInMultiByteString) PCHAR MultiByteString, _In_ ULONG BytesInMultiByteString)
#define FM_INFO_RETURNS_OUTLINES
#define FM_INFO_RIGHT_HANDED
_In_ FONTOBJ _In_ ULONG _In_ ULONG cGlyphs
_In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ TRIVERTEX _In_ ULONG _In_ PVOID _In_ ULONG _In_ RECTL _In_ POINTL _In_ ULONG ulMode
ENGAPI VOID APIENTRY EngUnmapFontFileFD(_In_ ULONG_PTR iFile)
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR * pdv
_In_ ULONG_PTR _In_opt_ DESIGNVECTOR _In_ ULONG _In_ ULONG ulFastCheckSum
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
#define FM_INFO_TECH_TRUETYPE
#define FM_PANOSE_CULTURE_LATIN
#define FM_INFO_ARB_XFORMS
#define FM_INFO_RETURNS_BITMAPS