author | MattD <mattd@symbian.org> |
Mon, 08 Feb 2010 15:30:13 +0000 | |
changeset 66 | 18fedaf0292a |
permissions | -rw-r--r-- |
66
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
1 |
/***************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
2 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
3 |
/* ftstream.h */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
4 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
5 |
/* Stream handling (specification). */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
6 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
7 |
/* Copyright 1996-2001, 2002, 2004, 2005, 2006 by */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
8 |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
9 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
10 |
/* This file is part of the FreeType project, and may only be used, */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
11 |
/* modified, and distributed under the terms of the FreeType project */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
12 |
/* license, FTL.TXT. By continuing to use, modify, or distribute */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
13 |
/* this file you indicate that you have read the license and */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
14 |
/* understand and accept it fully. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
15 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
16 |
/***************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
17 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
18 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
19 |
#ifndef __FTSTREAM_H__ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
20 |
#define __FTSTREAM_H__ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
21 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
22 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
23 |
#include <ft2build.h> |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
24 |
#include FT_SYSTEM_H |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
25 |
#include FT_INTERNAL_OBJECTS_H |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
26 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
27 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
28 |
FT_BEGIN_HEADER |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
29 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
30 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
31 |
/* format of an 8-bit frame_op value: */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
32 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
33 |
/* bit 76543210 */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
34 |
/* xxxxxxes */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
35 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
36 |
/* s is set to 1 if the value is signed. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
37 |
/* e is set to 1 if the value is little-endian. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
38 |
/* xxx is a command. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
39 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
40 |
#define FT_FRAME_OP_SHIFT 2 |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
41 |
#define FT_FRAME_OP_SIGNED 1 |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
42 |
#define FT_FRAME_OP_LITTLE 2 |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
43 |
#define FT_FRAME_OP_COMMAND( x ) ( x >> FT_FRAME_OP_SHIFT ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
44 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
45 |
#define FT_MAKE_FRAME_OP( command, little, sign ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
46 |
( ( command << FT_FRAME_OP_SHIFT ) | ( little << 1 ) | sign ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
47 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
48 |
#define FT_FRAME_OP_END 0 |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
49 |
#define FT_FRAME_OP_START 1 /* start a new frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
50 |
#define FT_FRAME_OP_BYTE 2 /* read 1-byte value */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
51 |
#define FT_FRAME_OP_SHORT 3 /* read 2-byte value */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
52 |
#define FT_FRAME_OP_LONG 4 /* read 4-byte value */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
53 |
#define FT_FRAME_OP_OFF3 5 /* read 3-byte value */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
54 |
#define FT_FRAME_OP_BYTES 6 /* read a bytes sequence */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
55 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
56 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
57 |
typedef enum FT_Frame_Op_ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
58 |
{ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
59 |
ft_frame_end = 0, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
60 |
ft_frame_start = FT_MAKE_FRAME_OP( FT_FRAME_OP_START, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
61 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
62 |
ft_frame_byte = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTE, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
63 |
ft_frame_schar = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTE, 0, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
64 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
65 |
ft_frame_ushort_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
66 |
ft_frame_short_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 0, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
67 |
ft_frame_ushort_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 1, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
68 |
ft_frame_short_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_SHORT, 1, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
69 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
70 |
ft_frame_ulong_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
71 |
ft_frame_long_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 0, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
72 |
ft_frame_ulong_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 1, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
73 |
ft_frame_long_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_LONG, 1, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
74 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
75 |
ft_frame_uoff3_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
76 |
ft_frame_off3_be = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 0, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
77 |
ft_frame_uoff3_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 1, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
78 |
ft_frame_off3_le = FT_MAKE_FRAME_OP( FT_FRAME_OP_OFF3, 1, 1 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
79 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
80 |
ft_frame_bytes = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTES, 0, 0 ), |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
81 |
ft_frame_skip = FT_MAKE_FRAME_OP( FT_FRAME_OP_BYTES, 0, 1 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
82 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
83 |
} FT_Frame_Op; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
84 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
85 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
86 |
typedef struct FT_Frame_Field_ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
87 |
{ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
88 |
FT_Byte value; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
89 |
FT_Byte size; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
90 |
FT_UShort offset; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
91 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
92 |
} FT_Frame_Field; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
93 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
94 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
95 |
/* Construct an FT_Frame_Field out of a structure type and a field name. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
96 |
/* The structure type must be set in the FT_STRUCTURE macro before */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
97 |
/* calling the FT_FRAME_START() macro. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
98 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
99 |
#define FT_FIELD_SIZE( f ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
100 |
(FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
101 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
102 |
#define FT_FIELD_SIZE_DELTA( f ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
103 |
(FT_Byte)sizeof ( ((FT_STRUCTURE*)0)->f[0] ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
104 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
105 |
#define FT_FIELD_OFFSET( f ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
106 |
(FT_UShort)( offsetof( FT_STRUCTURE, f ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
107 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
108 |
#define FT_FRAME_FIELD( frame_op, field ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
109 |
{ \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
110 |
frame_op, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
111 |
FT_FIELD_SIZE( field ), \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
112 |
FT_FIELD_OFFSET( field ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
113 |
} |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
114 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
115 |
#define FT_MAKE_EMPTY_FIELD( frame_op ) { frame_op, 0, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
116 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
117 |
#define FT_FRAME_START( size ) { ft_frame_start, 0, size } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
118 |
#define FT_FRAME_END { ft_frame_end, 0, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
119 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
120 |
#define FT_FRAME_LONG( f ) FT_FRAME_FIELD( ft_frame_long_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
121 |
#define FT_FRAME_ULONG( f ) FT_FRAME_FIELD( ft_frame_ulong_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
122 |
#define FT_FRAME_SHORT( f ) FT_FRAME_FIELD( ft_frame_short_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
123 |
#define FT_FRAME_USHORT( f ) FT_FRAME_FIELD( ft_frame_ushort_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
124 |
#define FT_FRAME_OFF3( f ) FT_FRAME_FIELD( ft_frame_off3_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
125 |
#define FT_FRAME_UOFF3( f ) FT_FRAME_FIELD( ft_frame_uoff3_be, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
126 |
#define FT_FRAME_BYTE( f ) FT_FRAME_FIELD( ft_frame_byte, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
127 |
#define FT_FRAME_CHAR( f ) FT_FRAME_FIELD( ft_frame_schar, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
128 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
129 |
#define FT_FRAME_LONG_LE( f ) FT_FRAME_FIELD( ft_frame_long_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
130 |
#define FT_FRAME_ULONG_LE( f ) FT_FRAME_FIELD( ft_frame_ulong_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
131 |
#define FT_FRAME_SHORT_LE( f ) FT_FRAME_FIELD( ft_frame_short_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
132 |
#define FT_FRAME_USHORT_LE( f ) FT_FRAME_FIELD( ft_frame_ushort_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
133 |
#define FT_FRAME_OFF3_LE( f ) FT_FRAME_FIELD( ft_frame_off3_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
134 |
#define FT_FRAME_UOFF3_LE( f ) FT_FRAME_FIELD( ft_frame_uoff3_le, f ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
135 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
136 |
#define FT_FRAME_SKIP_LONG { ft_frame_long_be, 0, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
137 |
#define FT_FRAME_SKIP_SHORT { ft_frame_short_be, 0, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
138 |
#define FT_FRAME_SKIP_BYTE { ft_frame_byte, 0, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
139 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
140 |
#define FT_FRAME_BYTES( field, count ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
141 |
{ \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
142 |
ft_frame_bytes, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
143 |
count, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
144 |
FT_FIELD_OFFSET( field ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
145 |
} |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
146 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
147 |
#define FT_FRAME_SKIP_BYTES( count ) { ft_frame_skip, count, 0 } |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
148 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
149 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
150 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
151 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
152 |
/* Integer extraction macros -- the `buffer' parameter must ALWAYS be of */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
153 |
/* type `char*' or equivalent (1-byte elements). */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
154 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
155 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
156 |
#define FT_BYTE_( p, i ) ( ((const FT_Byte*)(p))[(i)] ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
157 |
#define FT_INT8_( p, i ) ( ((const FT_Char*)(p))[(i)] ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
158 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
159 |
#define FT_INT16( x ) ( (FT_Int16)(x) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
160 |
#define FT_UINT16( x ) ( (FT_UInt16)(x) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
161 |
#define FT_INT32( x ) ( (FT_Int32)(x) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
162 |
#define FT_UINT32( x ) ( (FT_UInt32)(x) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
163 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
164 |
#define FT_BYTE_I16( p, i, s ) ( FT_INT16( FT_BYTE_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
165 |
#define FT_BYTE_U16( p, i, s ) ( FT_UINT16( FT_BYTE_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
166 |
#define FT_BYTE_I32( p, i, s ) ( FT_INT32( FT_BYTE_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
167 |
#define FT_BYTE_U32( p, i, s ) ( FT_UINT32( FT_BYTE_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
168 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
169 |
#define FT_INT8_I16( p, i, s ) ( FT_INT16( FT_INT8_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
170 |
#define FT_INT8_U16( p, i, s ) ( FT_UINT16( FT_INT8_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
171 |
#define FT_INT8_I32( p, i, s ) ( FT_INT32( FT_INT8_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
172 |
#define FT_INT8_U32( p, i, s ) ( FT_UINT32( FT_INT8_( p, i ) ) << (s) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
173 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
174 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
175 |
#define FT_PEEK_SHORT( p ) FT_INT16( FT_INT8_I16( p, 0, 8) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
176 |
FT_BYTE_I16( p, 1, 0) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
177 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
178 |
#define FT_PEEK_USHORT( p ) FT_UINT16( FT_BYTE_U16( p, 0, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
179 |
FT_BYTE_U16( p, 1, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
180 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
181 |
#define FT_PEEK_LONG( p ) FT_INT32( FT_INT8_I32( p, 0, 24 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
182 |
FT_BYTE_I32( p, 1, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
183 |
FT_BYTE_I32( p, 2, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
184 |
FT_BYTE_I32( p, 3, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
185 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
186 |
#define FT_PEEK_ULONG( p ) FT_UINT32( FT_BYTE_U32( p, 0, 24 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
187 |
FT_BYTE_U32( p, 1, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
188 |
FT_BYTE_U32( p, 2, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
189 |
FT_BYTE_U32( p, 3, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
190 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
191 |
#define FT_PEEK_OFF3( p ) FT_INT32( FT_INT8_I32( p, 0, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
192 |
FT_BYTE_I32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
193 |
FT_BYTE_I32( p, 2, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
194 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
195 |
#define FT_PEEK_UOFF3( p ) FT_UINT32( FT_BYTE_U32( p, 0, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
196 |
FT_BYTE_U32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
197 |
FT_BYTE_U32( p, 2, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
198 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
199 |
#define FT_PEEK_SHORT_LE( p ) FT_INT16( FT_INT8_I16( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
200 |
FT_BYTE_I16( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
201 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
202 |
#define FT_PEEK_USHORT_LE( p ) FT_UINT16( FT_BYTE_U16( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
203 |
FT_BYTE_U16( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
204 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
205 |
#define FT_PEEK_LONG_LE( p ) FT_INT32( FT_INT8_I32( p, 3, 24 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
206 |
FT_BYTE_I32( p, 2, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
207 |
FT_BYTE_I32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
208 |
FT_BYTE_I32( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
209 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
210 |
#define FT_PEEK_ULONG_LE( p ) FT_UINT32( FT_BYTE_U32( p, 3, 24 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
211 |
FT_BYTE_U32( p, 2, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
212 |
FT_BYTE_U32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
213 |
FT_BYTE_U32( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
214 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
215 |
#define FT_PEEK_OFF3_LE( p ) FT_INT32( FT_INT8_I32( p, 2, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
216 |
FT_BYTE_I32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
217 |
FT_BYTE_I32( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
218 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
219 |
#define FT_PEEK_UOFF3_LE( p ) FT_UINT32( FT_BYTE_U32( p, 2, 16 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
220 |
FT_BYTE_U32( p, 1, 8 ) | \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
221 |
FT_BYTE_U32( p, 0, 0 ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
222 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
223 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
224 |
#define FT_NEXT_CHAR( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
225 |
( (signed char)*buffer++ ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
226 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
227 |
#define FT_NEXT_BYTE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
228 |
( (unsigned char)*buffer++ ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
229 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
230 |
#define FT_NEXT_SHORT( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
231 |
( (short)( buffer += 2, FT_PEEK_SHORT( buffer - 2 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
232 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
233 |
#define FT_NEXT_USHORT( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
234 |
( (unsigned short)( buffer += 2, FT_PEEK_USHORT( buffer - 2 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
235 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
236 |
#define FT_NEXT_OFF3( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
237 |
( (long)( buffer += 3, FT_PEEK_OFF3( buffer - 3 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
238 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
239 |
#define FT_NEXT_UOFF3( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
240 |
( (unsigned long)( buffer += 3, FT_PEEK_UOFF3( buffer - 3 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
241 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
242 |
#define FT_NEXT_LONG( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
243 |
( (long)( buffer += 4, FT_PEEK_LONG( buffer - 4 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
244 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
245 |
#define FT_NEXT_ULONG( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
246 |
( (unsigned long)( buffer += 4, FT_PEEK_ULONG( buffer - 4 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
247 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
248 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
249 |
#define FT_NEXT_SHORT_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
250 |
( (short)( buffer += 2, FT_PEEK_SHORT_LE( buffer - 2 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
251 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
252 |
#define FT_NEXT_USHORT_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
253 |
( (unsigned short)( buffer += 2, FT_PEEK_USHORT_LE( buffer - 2 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
254 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
255 |
#define FT_NEXT_OFF3_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
256 |
( (long)( buffer += 3, FT_PEEK_OFF3_LE( buffer - 3 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
257 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
258 |
#define FT_NEXT_UOFF3_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
259 |
( (unsigned long)( buffer += 3, FT_PEEK_UOFF3_LE( buffer - 3 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
260 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
261 |
#define FT_NEXT_LONG_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
262 |
( (long)( buffer += 4, FT_PEEK_LONG_LE( buffer - 4 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
263 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
264 |
#define FT_NEXT_ULONG_LE( buffer ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
265 |
( (unsigned long)( buffer += 4, FT_PEEK_ULONG_LE( buffer - 4 ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
266 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
267 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
268 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
269 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
270 |
/* Each GET_xxxx() macro uses an implicit `stream' variable. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
271 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
272 |
#if 0 |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
273 |
#define FT_GET_MACRO( type ) FT_NEXT_ ## type ( stream->cursor ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
274 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
275 |
#define FT_GET_CHAR() FT_GET_MACRO( CHAR ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
276 |
#define FT_GET_BYTE() FT_GET_MACRO( BYTE ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
277 |
#define FT_GET_SHORT() FT_GET_MACRO( SHORT ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
278 |
#define FT_GET_USHORT() FT_GET_MACRO( USHORT ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
279 |
#define FT_GET_OFF3() FT_GET_MACRO( OFF3 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
280 |
#define FT_GET_UOFF3() FT_GET_MACRO( UOFF3 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
281 |
#define FT_GET_LONG() FT_GET_MACRO( LONG ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
282 |
#define FT_GET_ULONG() FT_GET_MACRO( ULONG ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
283 |
#define FT_GET_TAG4() FT_GET_MACRO( ULONG ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
284 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
285 |
#define FT_GET_SHORT_LE() FT_GET_MACRO( SHORT_LE ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
286 |
#define FT_GET_USHORT_LE() FT_GET_MACRO( USHORT_LE ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
287 |
#define FT_GET_LONG_LE() FT_GET_MACRO( LONG_LE ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
288 |
#define FT_GET_ULONG_LE() FT_GET_MACRO( ULONG_LE ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
289 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
290 |
#else |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
291 |
#define FT_GET_MACRO( func, type ) ( (type)func( stream ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
292 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
293 |
#define FT_GET_CHAR() FT_GET_MACRO( FT_Stream_GetChar, FT_Char ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
294 |
#define FT_GET_BYTE() FT_GET_MACRO( FT_Stream_GetChar, FT_Byte ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
295 |
#define FT_GET_SHORT() FT_GET_MACRO( FT_Stream_GetShort, FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
296 |
#define FT_GET_USHORT() FT_GET_MACRO( FT_Stream_GetShort, FT_UShort ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
297 |
#define FT_GET_OFF3() FT_GET_MACRO( FT_Stream_GetOffset, FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
298 |
#define FT_GET_UOFF3() FT_GET_MACRO( FT_Stream_GetOffset, FT_ULong ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
299 |
#define FT_GET_LONG() FT_GET_MACRO( FT_Stream_GetLong, FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
300 |
#define FT_GET_ULONG() FT_GET_MACRO( FT_Stream_GetLong, FT_ULong ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
301 |
#define FT_GET_TAG4() FT_GET_MACRO( FT_Stream_GetLong, FT_ULong ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
302 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
303 |
#define FT_GET_SHORT_LE() FT_GET_MACRO( FT_Stream_GetShortLE, FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
304 |
#define FT_GET_USHORT_LE() FT_GET_MACRO( FT_Stream_GetShortLE, FT_UShort ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
305 |
#define FT_GET_LONG_LE() FT_GET_MACRO( FT_Stream_GetLongLE, FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
306 |
#define FT_GET_ULONG_LE() FT_GET_MACRO( FT_Stream_GetLongLE, FT_ULong ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
307 |
#endif |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
308 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
309 |
#define FT_READ_MACRO( func, type, var ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
310 |
( var = (type)func( stream, &error ), \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
311 |
error != FT_Err_Ok ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
312 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
313 |
#define FT_READ_BYTE( var ) FT_READ_MACRO( FT_Stream_ReadChar, FT_Byte, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
314 |
#define FT_READ_CHAR( var ) FT_READ_MACRO( FT_Stream_ReadChar, FT_Char, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
315 |
#define FT_READ_SHORT( var ) FT_READ_MACRO( FT_Stream_ReadShort, FT_Short, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
316 |
#define FT_READ_USHORT( var ) FT_READ_MACRO( FT_Stream_ReadShort, FT_UShort, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
317 |
#define FT_READ_OFF3( var ) FT_READ_MACRO( FT_Stream_ReadOffset, FT_Long, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
318 |
#define FT_READ_UOFF3( var ) FT_READ_MACRO( FT_Stream_ReadOffset, FT_ULong, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
319 |
#define FT_READ_LONG( var ) FT_READ_MACRO( FT_Stream_ReadLong, FT_Long, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
320 |
#define FT_READ_ULONG( var ) FT_READ_MACRO( FT_Stream_ReadLong, FT_ULong, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
321 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
322 |
#define FT_READ_SHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadShortLE, FT_Short, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
323 |
#define FT_READ_USHORT_LE( var ) FT_READ_MACRO( FT_Stream_ReadShortLE, FT_UShort, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
324 |
#define FT_READ_LONG_LE( var ) FT_READ_MACRO( FT_Stream_ReadLongLE, FT_Long, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
325 |
#define FT_READ_ULONG_LE( var ) FT_READ_MACRO( FT_Stream_ReadLongLE, FT_ULong, var ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
326 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
327 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
328 |
#ifndef FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
329 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
330 |
/* initialize a stream for reading a regular system stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
331 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
332 |
FT_Stream_Open( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
333 |
const char* filepathname ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
334 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
335 |
#endif /* FT_CONFIG_OPTION_NO_DEFAULT_SYSTEM */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
336 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
337 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
338 |
/* create a new (input) stream from an FT_Open_Args structure */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
339 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
340 |
FT_Stream_New( FT_Library library, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
341 |
const FT_Open_Args* args, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
342 |
FT_Stream *astream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
343 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
344 |
/* free a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
345 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
346 |
FT_Stream_Free( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
347 |
FT_Int external ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
348 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
349 |
/* initialize a stream for reading in-memory data */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
350 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
351 |
FT_Stream_OpenMemory( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
352 |
const FT_Byte* base, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
353 |
FT_ULong size ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
354 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
355 |
/* close a stream (does not destroy the stream structure) */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
356 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
357 |
FT_Stream_Close( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
358 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
359 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
360 |
/* seek within a stream. position is relative to start of stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
361 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
362 |
FT_Stream_Seek( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
363 |
FT_ULong pos ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
364 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
365 |
/* skip bytes in a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
366 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
367 |
FT_Stream_Skip( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
368 |
FT_Long distance ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
369 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
370 |
/* return current stream position */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
371 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
372 |
FT_Stream_Pos( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
373 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
374 |
/* read bytes from a stream into a user-allocated buffer, returns an */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
375 |
/* error if not all bytes could be read. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
376 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
377 |
FT_Stream_Read( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
378 |
FT_Byte* buffer, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
379 |
FT_ULong count ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
380 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
381 |
/* read bytes from a stream at a given position */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
382 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
383 |
FT_Stream_ReadAt( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
384 |
FT_ULong pos, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
385 |
FT_Byte* buffer, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
386 |
FT_ULong count ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
387 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
388 |
/* try to read bytes at the end of a stream; return number of bytes */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
389 |
/* really available */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
390 |
FT_BASE( FT_ULong ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
391 |
FT_Stream_TryRead( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
392 |
FT_Byte* buffer, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
393 |
FT_ULong count ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
394 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
395 |
/* Enter a frame of `count' consecutive bytes in a stream. Returns an */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
396 |
/* error if the frame could not be read/accessed. The caller can use */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
397 |
/* the FT_Stream_Get_XXX functions to retrieve frame data without */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
398 |
/* error checks. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
399 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
400 |
/* You must _always_ call FT_Stream_ExitFrame() once you have entered */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
401 |
/* a stream frame! */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
402 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
403 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
404 |
FT_Stream_EnterFrame( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
405 |
FT_ULong count ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
406 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
407 |
/* exit a stream frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
408 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
409 |
FT_Stream_ExitFrame( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
410 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
411 |
/* Extract a stream frame. If the stream is disk-based, a heap block */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
412 |
/* is allocated and the frame bytes are read into it. If the stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
413 |
/* is memory-based, this function simply set a pointer to the data. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
414 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
415 |
/* Useful to optimize access to memory-based streams transparently. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
416 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
417 |
/* All extracted frames must be `freed` with a call to the function */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
418 |
/* FT_Stream_ReleaseFrame(). */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
419 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
420 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
421 |
FT_Stream_ExtractFrame( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
422 |
FT_ULong count, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
423 |
FT_Byte** pbytes ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
424 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
425 |
/* release an extract frame (see FT_Stream_ExtractFrame) */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
426 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
427 |
FT_Stream_ReleaseFrame( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
428 |
FT_Byte** pbytes ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
429 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
430 |
/* read a byte from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
431 |
FT_BASE( FT_Char ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
432 |
FT_Stream_GetChar( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
433 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
434 |
/* read a 16-bit big-endian integer from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
435 |
FT_BASE( FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
436 |
FT_Stream_GetShort( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
437 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
438 |
/* read a 24-bit big-endian integer from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
439 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
440 |
FT_Stream_GetOffset( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
441 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
442 |
/* read a 32-bit big-endian integer from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
443 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
444 |
FT_Stream_GetLong( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
445 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
446 |
/* read a 16-bit little-endian integer from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
447 |
FT_BASE( FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
448 |
FT_Stream_GetShortLE( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
449 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
450 |
/* read a 32-bit little-endian integer from an entered frame */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
451 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
452 |
FT_Stream_GetLongLE( FT_Stream stream ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
453 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
454 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
455 |
/* read a byte from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
456 |
FT_BASE( FT_Char ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
457 |
FT_Stream_ReadChar( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
458 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
459 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
460 |
/* read a 16-bit big-endian integer from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
461 |
FT_BASE( FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
462 |
FT_Stream_ReadShort( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
463 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
464 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
465 |
/* read a 24-bit big-endian integer from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
466 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
467 |
FT_Stream_ReadOffset( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
468 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
469 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
470 |
/* read a 32-bit big-endian integer from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
471 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
472 |
FT_Stream_ReadLong( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
473 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
474 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
475 |
/* read a 16-bit little-endian integer from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
476 |
FT_BASE( FT_Short ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
477 |
FT_Stream_ReadShortLE( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
478 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
479 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
480 |
/* read a 32-bit little-endian integer from a stream */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
481 |
FT_BASE( FT_Long ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
482 |
FT_Stream_ReadLongLE( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
483 |
FT_Error* error ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
484 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
485 |
/* Read a structure from a stream. The structure must be described */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
486 |
/* by an array of FT_Frame_Field records. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
487 |
FT_BASE( FT_Error ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
488 |
FT_Stream_ReadFields( FT_Stream stream, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
489 |
const FT_Frame_Field* fields, |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
490 |
void* structure ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
491 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
492 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
493 |
#define FT_STREAM_POS() \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
494 |
FT_Stream_Pos( stream ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
495 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
496 |
#define FT_STREAM_SEEK( position ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
497 |
FT_SET_ERROR( FT_Stream_Seek( stream, position ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
498 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
499 |
#define FT_STREAM_SKIP( distance ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
500 |
FT_SET_ERROR( FT_Stream_Skip( stream, distance ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
501 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
502 |
#define FT_STREAM_READ( buffer, count ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
503 |
FT_SET_ERROR( FT_Stream_Read( stream, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
504 |
(FT_Byte*)buffer, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
505 |
count ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
506 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
507 |
#define FT_STREAM_READ_AT( position, buffer, count ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
508 |
FT_SET_ERROR( FT_Stream_ReadAt( stream, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
509 |
position, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
510 |
(FT_Byte*)buffer, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
511 |
count ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
512 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
513 |
#define FT_STREAM_READ_FIELDS( fields, object ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
514 |
FT_SET_ERROR( FT_Stream_ReadFields( stream, fields, object ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
515 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
516 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
517 |
#define FT_FRAME_ENTER( size ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
518 |
FT_SET_ERROR( \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
519 |
FT_DEBUG_INNER( FT_Stream_EnterFrame( stream, size ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
520 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
521 |
#define FT_FRAME_EXIT() \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
522 |
FT_DEBUG_INNER( FT_Stream_ExitFrame( stream ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
523 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
524 |
#define FT_FRAME_EXTRACT( size, bytes ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
525 |
FT_SET_ERROR( \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
526 |
FT_DEBUG_INNER( FT_Stream_ExtractFrame( stream, size, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
527 |
(FT_Byte**)&(bytes) ) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
528 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
529 |
#define FT_FRAME_RELEASE( bytes ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
530 |
FT_DEBUG_INNER( FT_Stream_ReleaseFrame( stream, \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
531 |
(FT_Byte**)&(bytes) ) ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
532 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
533 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
534 |
FT_END_HEADER |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
535 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
536 |
#endif /* __FTSTREAM_H__ */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
537 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
538 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
539 |
/* END */ |