Werner Lemberg
4df5b26fdf
Put version information into the configure script. Reported by Paul
...
19 years ago
Werner Lemberg
1639c79482
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
...
19 years ago
Werner Lemberg
4f3b5bbd95
* src/lzw/ftlzw2.c: Renamed to...
...
19 years ago
Werner Lemberg
a94746caee
Formatting.
19 years ago
David Turner
679a252c24
* include/freetype/internal/ftmemory.h: allow compilation with
...
C++ compilers
19 years ago
Werner Lemberg
58eed04d5a
* include/freetype/config/ftoption.h (FT_STRICT_ALIASING): Removed.
19 years ago
Werner Lemberg
94204895db
Fix ChangeLog.
19 years ago
Werner Lemberg
c6afa1221a
* include/freetype/internal/ftmemory.h: s/new/newsz/ (for C++).
...
19 years ago
David Turner
9482ba50b7
* include/freetype/ftstream.h, src/base/ftstream.c: modifying
...
various frame-related functions to report the place where the
frames were entered/extracted/exited/released in the memory debugger.
19 years ago
David Turner
9ca782569c
* include/freetype/internal/ftmemory.h, src/base/ftbitmap.c,
...
src/base/ftmac.c, src/base/ftrfork.c, src/lzw/ftzopen.c,
src/raster/ftrend1.c, src/sfnt/ttpost.c, src/truetype/ttgxvar.c,
src/type42/t42parse.c, src/winfonts/winfnt.c: hardening the code
against out-of-bounds conditions when allocating arrays. This is
for the cases where FT_NEW_ARRAY and FT_RENEW_ARRAY are not used
already. Introducing the new FT_ALLOC_MULT and FT_REALLOC_MULT
macros.
19 years ago
David Turner
264f307e66
* include/freetype/fterrdef.h, include/freetype/config/ftconfig.h,
...
include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c,
src/base/ftutil.c: udpating the memory management functions and
macros to safely deal with array size buffer overflows, this
corresponds to attemps to allocate arrays that are too large. For
an example, consider the following code:
count = read_uint32_from_file();
array = malloc( sizeof(Item) * count );
for ( nn = 0; nn < count; nn++ )
array[nn] = read_item_from_file();
if 'count' is larger than FT_UINT_MAX/sizeof(Item), the multiplication
will overflow and the array allocated will be smaller than the data
read from the file. In this case, the heap will be trashed, and this
can be used as a denial-of-service, or make the engine crash later.
the FT_ARRAY_NEW and FT_ARRAY_RENEW macro now check that the new
count is no more than FT_INT_MAX/item_size, otherwise, a new error,
named 'FT_Err_Array_Too_Large' will be returned.
note that the memory debugger now works again when FT_DEBUG_MEMORY
is defined, and FT_STRICT_ALIASING has disappeared, the corresponding
code being now the default.
19 years ago
Suzuki, Toshiya (鈴木俊哉)
a229540280
fix bug in Mac_Read_POST_Resource()
19 years ago
Werner Lemberg
06fceb3f39
* builds/unix/unix-def.in (datarootdir): Define, for autoconf 2.59c
...
19 years ago
Werner Lemberg
8fe6539026
Further C library abstraction. Based on a patch from
...
19 years ago
Werner Lemberg
50ef72b6e3
* src/lzw/ftlzw.c, src/lzw/zopen.c, src/lzw/zopen.h: Removed,
...
19 years ago
Werner Lemberg
a1c990a632
convert to utf-8
19 years ago
Werner Lemberg
4e03fe76cc
convert to UTF-8
19 years ago
Werner Lemberg
99854e7c5a
Fix accents in ChangeLog.
19 years ago
Werner Lemberg
12cceaaca8
* builds/win32/visualc/freetype.vcproj: Updated.
19 years ago
David Turner
3b47dd6518
Releasing FreeType 2.2
19 years ago
Werner Lemberg
564b4432ca
* src/psaux/psobjs.c (shift_elements): Don't use FT_Long but
...
19 years ago
Werner Lemberg
8a8c6022bf
Formatting, copyright years, documentation.
19 years ago
David Turner
7aa2010216
* src/sfnt/ttcmap.c: removed compiler warnings (gcc-4.0.2)
19 years ago
David Turner
8e438ead71
* include/freetype/ftincrem.h, include/freetype/ftmodapi.h,
...
include/freetype/freetype.h: Documentation update
19 years ago
David Turner
7dc7f21533
doc updates
...
- fixing FT_Stroker_New to use a FT_Library instead of a FT_Memory
i know, i know, the ChangeLog will be updated later
19 years ago
David Turner
65c7c773aa
* src/autofit/afloader.c: removing superfluous code in the auto-fitter's
...
loader
19 years ago
Detlef Würkner
7d04322e40
no message
19 years ago
Werner Lemberg
7f18de64b6
* builds/compiler/intelc.mk (TE): New variable.
...
19 years ago
Werner Lemberg
764b25145a
* docs/PROBLEMS: New file.
19 years ago
Werner Lemberg
fd7456c796
* builds/exports.mk (clean_symbols_list, clean_apinames): Removed.
...
19 years ago
Werner Lemberg
4091786c81
Formatting.
19 years ago
David Turner
cf60371a1b
updating documentation
19 years ago
David Turner
0f15e1c181
* include/freetype/ftcache.h, include/freetype/config/ftheader.h:
...
updating documentation comments
19 years ago
David Turner
9da74d844b
updating cache documentation
19 years ago
Werner Lemberg
6e9df6855d
* builds/unix/install.mk (uninstall): Don't handle `cache'
...
19 years ago
Werner Lemberg
b56ff68076
Updated.
19 years ago
Werner Lemberg
21d929be71
Updated.
19 years ago
Detlef Würkner
d51b41e085
no message
19 years ago
Werner Lemberg
fa3651e7d8
formatting, copyright year
19 years ago
David Turner
42137bc614
* src/sfnt/ttkern.c (tt_face_get_kerning): fixed a serious bug
...
that caused some programs to go into an infinite loop when dealing
with fonts that don't have a properly sorted kerning sub-table
19 years ago
Werner Lemberg
26170df08b
* src/bdf/bdflib.c (ERRMSG4): New macro.
...
19 years ago
Werner Lemberg
b6f6d2479a
_not filtered_ -> _not_ _filtered_
19 years ago
Werner Lemberg
d6e2498f74
* src/tools/docmaker/tohtml.py (make_html_para): Convert `...' quotations
...
19 years ago
Werner Lemberg
af16820a12
Normalize quotation to `...'.
19 years ago
Werner Lemberg
e0dd18fc79
* src/tools/docmaker/tohtml.py (html_header_1): The `DOCTYPE' comment must
...
19 years ago
Werner Lemberg
4db32ecbc5
* docs/CHANGES: Updated.
...
19 years ago
David Turner
2ce9203735
- added FT_Get_SubGlyph_Info API to freetype.h
...
- small fix to lsb/rsb delta computations
- cleaning up Jamfile
19 years ago
Werner Lemberg
d8776b3439
Improve documentation of `FT_LOAD_MONOCHROME'.
19 years ago
Werner Lemberg
6c5b617c59
* src/cache/ftccache.c, (ftc_node_mru_up, FTC_Cache_Lookup)
...
19 years ago
Werner Lemberg
3867d2f2fb
* src/cache/ftccache.c, src/cache/ftccache.h (FTC_Node_Destroy):
...
19 years ago