1 |
2005-03-04 David Turner <david@freetype.org> |
2005-03-04 Werner Lemberg <wl@gnu.org> |
2 |
|
|
3 |
* include/freetype/internal/{ftmemory.h,ftserv.h}: removing |
* src/base/ftutil.c: Include FT_INTERNAL_OBJECTS_H. |
|
compiler warnings with GCC 3.3 and above... |
|
|
|
|
|
* include/freetype/internal/ftobjs.h, src/base/ftutil.c (ft_highpow2), |
|
|
src/pfr/pfrload.c, src/pfr/pfrobjs.c, src/pfr/pfrtypes.h: implement |
|
|
FT_OPTIMIZE_MEMORY, the kerning table is not loaded into the heap |
|
|
anymore. |
|
|
|
|
|
* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Introduce |
|
|
temporary variable to avoid gcc warning. |
|
|
(tt_face_load_sbit_image): Mark unused variables with FT_UNUSED. |
|
|
|
|
|
* include/freetype/config/ftmodule.h: moving the order of drivers to |
|
|
speed up font loading. the pcf and bdf loaders are still slow and |
|
|
eat memory like crazy. |
|
4 |
|
|
5 |
2005-03-03 Werner Lemberg <wl@gnu.org> |
2005-03-03 Werner Lemberg <wl@gnu.org> |
6 |
|
|
34 |
|
|
35 |
* src/truetype/ttgload.c: Include `ttpload.h'. |
* src/truetype/ttgload.c: Include `ttpload.h'. |
36 |
|
|
37 |
|
2005-03-03 David Turner <david@freetype.org> |
38 |
|
|
39 |
|
* include/freetype/internal/ftmemory.h (FT_ALLOC, FT_REALLOC, |
40 |
|
FT_QALLOC, FT_QREALLOC) [gcc >= 3.3]: Provide macro versions which |
41 |
|
avoid compiler warnings. |
42 |
|
(FT_NEW, FT_NEW_ARRAY, FT_RENEW_ARRAY, FT_QNEW, FT_QNEW_ARRAY, |
43 |
|
FT_QRENEW_ARRAY, FT_ALLOC_ARRAY, FT_REALLOC_ARRAY): Updated. |
44 |
|
|
45 |
|
* include/freetype/internal/ftserv.h (FT_FACE_FIND_SERVICE, |
46 |
|
FT_FACE_FIND_GLOBAL_SERVICE, FT_FACE_LOOKUP_SERVICE) [__cpluscplus]: |
47 |
|
Provide macro versions which avoid compiler warnings. |
48 |
|
|
49 |
|
* src/base/ftutil.c (ft_highpow2): New utility function. |
50 |
|
|
51 |
|
* include/freetype/internal/ftobjs.h: Updated. |
52 |
|
|
53 |
|
* src/pfr/pfrload.c (pfr_get_gindex, pfr_compare_kern_pairs, |
54 |
|
pfr_sort_kerning_pairs): Don't define if FT_OPTIMIZE_MEMORY is set. |
55 |
|
(pfr_phy_font_done): Don't handle `kern_pairs' if FT_OPTIMIZE_MEMORY |
56 |
|
is set. |
57 |
|
(pfr_phy_font_load): Don't call `pfr_sort_kerning_pairs' if |
58 |
|
FT_OPTIMIZE_MEMORY is set. |
59 |
|
|
60 |
|
* src/pfr/pfrobjs.c (pfr_slot_load): Comment out some code which |
61 |
|
doesn't work with broken fonts. |
62 |
|
(pfr_face_get_kerning) [FT_OPTIMIZE_MEMORY]: Implement. |
63 |
|
|
64 |
|
* src/pfr/pfrtypes.h (PFR_KernItemRec): Optimize member types. |
65 |
|
(PFR_NEXT_KPAIR): New macro. |
66 |
|
(PFR_PhyFontRec): Don't define `kern_pairs' if FT_OPTIMIZE_MEMORY is |
67 |
|
set. |
68 |
|
|
69 |
|
* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Introduce |
70 |
|
temporary variable to avoid gcc warning. |
71 |
|
(tt_face_load_sbit_image): Mark unused variables with FT_UNUSED. |
72 |
|
|
73 |
* src/truetype/ttpload.c (tt_face_load_loca) [FT_OPTIMIZE_MEMORY]: |
* src/truetype/ttpload.c (tt_face_load_loca) [FT_OPTIMIZE_MEMORY]: |
74 |
Remove redundant variable. |
Remove redundant variable. |
75 |
|
|
76 |
|
* include/freetype/config/ftmodule.h: Moving the order of drivers to |
77 |
|
speed up font loading. The PCF and BDF loaders are still slow and |
78 |
|
consume far too much memory. |
79 |
|
|
80 |
2005-03-03 Werner Lemberg <wl@gnu.org> |
2005-03-03 Werner Lemberg <wl@gnu.org> |
81 |
|
|
82 |
* devel/ftoption.h: Updated to recent changes. |
* devel/ftoption.h: Updated to recent changes. |