Go to the source code of this file.
|
ULONG __cdecl | CreateFontPackage (const unsigned char *src, const ULONG src_len, unsigned char **dest, ULONG *dest_len, ULONG *written, const unsigned short flags, const unsigned short face_index, const unsigned short format, const unsigned short lang, const unsigned short platform, const unsigned short encoding, const unsigned short *keep_list, const unsigned short keep_len, CFP_ALLOCPROC allocproc, CFP_REALLOCPROC reallocproc, CFP_FREEPROC freeproc, void *reserved) |
|
◆ ERR_GENERIC
◆ ERR_MEM
◆ TTFCFP_APPLE_PLATFORMID
#define TTFCFP_APPLE_PLATFORMID 1 |
◆ TTFCFP_DELTA
◆ TTFCFP_DONT_CARE
#define TTFCFP_DONT_CARE 0xffff |
◆ TTFCFP_FLAGS_COMPRESS
#define TTFCFP_FLAGS_COMPRESS 0x0002 |
◆ TTFCFP_FLAGS_GLYPHLIST
#define TTFCFP_FLAGS_GLYPHLIST 0x0008 |
◆ TTFCFP_FLAGS_SUBSET
#define TTFCFP_FLAGS_SUBSET 0x0001 |
◆ TTFCFP_FLAGS_TTC
#define TTFCFP_FLAGS_TTC 0x0004 |
◆ TTFCFP_ISO_PLATFORMID
#define TTFCFP_ISO_PLATFORMID 2 |
◆ TTFCFP_LANG_KEEP_ALL
#define TTFCFP_LANG_KEEP_ALL 0 |
◆ TTFCFP_MS_PLATFORMID
#define TTFCFP_MS_PLATFORMID 3 |
◆ TTFCFP_STD_MAC_CHAR_SET
#define TTFCFP_STD_MAC_CHAR_SET 0 |
◆ TTFCFP_SUBSET
◆ TTFCFP_SUBSET1
◆ TTFCFP_SYMBOL_CHAR_SET
#define TTFCFP_SYMBOL_CHAR_SET 0 |
◆ TTFCFP_UNICODE_CHAR_SET
#define TTFCFP_UNICODE_CHAR_SET 1 |
◆ TTFCFP_UNICODE_PLATFORMID
#define TTFCFP_UNICODE_PLATFORMID 0 |
◆ CFP_ALLOCPROC
◆ CFP_FREEPROC
◆ CFP_REALLOCPROC
◆ CreateFontPackage()
ULONG __cdecl CreateFontPackage |
( |
const unsigned char * |
src, |
|
|
const ULONG |
src_len, |
|
|
unsigned char ** |
dest, |
|
|
ULONG * |
dest_len, |
|
|
ULONG * |
written, |
|
|
const unsigned short |
flags, |
|
|
const unsigned short |
face_index, |
|
|
const unsigned short |
format, |
|
|
const unsigned short |
lang, |
|
|
const unsigned short |
platform, |
|
|
const unsigned short |
encoding, |
|
|
const unsigned short * |
keep_list, |
|
|
const unsigned short |
keep_len, |
|
|
CFP_ALLOCPROC |
allocproc, |
|
|
CFP_REALLOCPROC |
reallocproc, |
|
|
CFP_FREEPROC |
freeproc, |
|
|
void * |
reserved |
|
) |
| |
Definition at line 43 of file main.c.
48{
49 FIXME(
"(%p %u %p %p %p %#x %u %u %u %u %u %p %u %p %p %p %p): stub\n",
src, src_len,
dest, dest_len,
50 written,
flags, face_index,
format,
lang,
platform,
encoding, keep_list, keep_len, allocproc,
52
55
56 *
dest = allocproc(src_len);
59
61 *dest_len = src_len;
62 *written = src_len;
63
65}
#define memcpy(s1, s2, n)
static const WCHAR lang[]