Werner Lemberg
fe0f16d295
Fix comments.
14 years ago
suzuki toshiya
c32d54c949
[mac] Conditionalize the inclusion of "AvailabilityMacros.h".
...
The native SDK on earliest Mac OS X (10.0-10.1) did not have
"AvailabilityMacros.h". To prevent the inclusion of missing
header file, ECANCELED (introduced in 10.2) in POSIX header
file <errno.h> is checked to detect the system version.
* include/freetype/config/ftconfig.h: Conditionalize the
inclusion of "AvailabilityMacros.h".
* builds/unix/ftconfig.in: Ditto.
* builds/vms/ftconfig.h: Ditto.
14 years ago
Werner Lemberg
d1bf3e33f7
Copyright years.
15 years ago
suzuki toshiya
4b71871418
Prevent to open a FT_Stream for zero-sized file on non-Unix.
...
builds/unix/ftsystem.c prevents to open an useless stream from
zero-sized file and returns FT_Err_Cannot_Open_Stream, but the
stream drivers for ANSI C, Amiga and VMS return useless streams.
For cross-platform consistency, all stream drivers should act
same.
* src/base/ftsystem.c (FT_Stream_Open): If the size of the opened
file is zero, FT_Err_Cannot_Open_Stream is returned.
* builds/amiga/src/base/ftsystem.c (FT_Stream_Open): Ditto.
* src/vms/ftsystem.c (FT_Stream_Open): Ditto.
15 years ago
Werner Lemberg
45489589ad
* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
...
17 years ago
Suzuki, Toshiya (鈴木俊哉)
9e2b9900dc
* Remove duplicated functions from builds/mac/ftmac.c. Now MPW builds builds/mac/ftmac.c as a part of ftbase.c
17 years ago
Werner Lemberg
644b1ad49e
* builds/win32/visualc/index.html,
...
18 years ago
Suzuki, Toshiya (鈴木俊哉)
86a3ee7613
Disable Carbon framework dependency on 64bit ABI of Mac OS X 10.4.x
18 years ago
Werner Lemberg
af16820a12
Normalize quotation to `...'.
19 years ago
Werner Lemberg
1a293d6c73
* src/sfnt/ttload.c (tt_face_load_metrics): Ignore excess number
...
19 years ago
Wu, Chia-I (吳佳一)
cb18238109
* builds/unix/ftsystem.c (FT_Stream_Open, FT_New_Memory,
...
FT_Done_Memory), builds/vms/ftsystem.c (FT_Stream_Open, FT_New_Memory,
FT_Done_Memory), builds/win32/ftdebug.c (FT_Message, FT_Panic):
s/FT_EXPORT/FT_BASE/.
19 years ago
Werner Lemberg
ba80d61c7a
* builds/unix/ftconfig.in, builds/vms/ftconfig.h: Define
...
21 years ago
Werner Lemberg
e42dbcec21
* Version 2.1.7 released.
...
22 years ago
Werner Lemberg
26fb1bcd05
* vms_make.com: Reworked support for shareable images on VMS. The
...
22 years ago
David Turner
737fa9acf7
* builds/unix/ftconfig.in, builds/vms/ftconfig.h: Oops, forgot to
...
update these files too
23 years ago
Werner Lemberg
b1e6e59782
* builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to
...
23 years ago
David Turner
53b3fa1da5
* renaming stream functions to the FT_Subject_Action scheme:
...
FT_Seek_Stream => FT_Stream_Seek
FT_Skip_Stream => FT_Stream_Skip
FT_Read_Stream => FT_Stream_Read
FT_Read_Stream_At => FT_Stream_Read_At
FT_Access_Frame => FT_Stream_Enter_Frame
FT_Forget_Frame => FT_Stream_Exit_Frame
FT_Extract_Frame => FT_Stream_Extract_Frame
FT_Release_Frame => FT_Stream_Release_Frame
FT_Get_XXXX => FT_Stream_Get_XXXX
FT_Read_XXXX => FT_Stream_Read_XXXX
note also that:
FT_New_Stream( filename, stream ) =>
FT_Stream_Open( stream, filename )
(the function doesn't create the FT_Stream structure, it simply
initializes it for reading)
FT_New_Memory_Stream( library, FT_Byte* base, size, stream ) =>
FT_Stream_Open_Memory( stream, const FT_Byte* base, size )
FT_Done_Stream => FT_Stream_Close
note that the name of the stream methods, defined in
"include/freetype/ftsystem.h" have also been changed without
problems:
FT_Stream_IO => FT_Stream_IOFunc
FT_Stream_Close => FT_Stream_CloseFunc
23 years ago
Werner Lemberg
a7d2f5e1c0
* src/autohint/ahglyph.c (ah_outline_link_segments): Remove unused
...
23 years ago
Werner Lemberg
8880f2c14d
* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
...
23 years ago
David Turner
5a1de37e7e
replaced liberal uses of "memset" by the "MEM_Set" macro call
...
(some platforms don't provide this ANSI function !!)
some changes to "ftsystem.c" implementations in order to use
the new memory debugger on Unix, VMS and Amiga too !!
24 years ago
Werner Lemberg
7dabafd63e
* builds/cygwin/*: Removed. Use the unix stuff instead.
...
* builds/vms/ftconfig.h (FT_CALLBACK_DEF): Updated to change dated
2001-06-27.
24 years ago
Werner Lemberg
415235df1b
finishing function header formatting
...
24 years ago
Werner Lemberg
4a2305cf0c
formatting
24 years ago
Werner Lemberg
f814d0fafe
First round in converting
...
24 years ago
David Turner
dee781342b
* include/freetype/ftconfig.h, src/*/*.c: changed the definition and
...
uses of the FT_CALLBACK_DEF macro in order to support 16-bit compilers
24 years ago
Werner Lemberg
53ecd88986
Initial revision
24 years ago