David Turner
2c7a7fbafd
updating libtool version number to 9.11.3
2007-01-11 15:14:16 +00:00
David Turner
7a3c564e2e
* src/base/ftobjs.c (IsMacResource): fixed a small bug that caused a
...
crash with some Mac OS X .dfont files. Submitted by Masatake Yamoto.
2007-01-11 15:09:01 +00:00
David Turner
038ace28ad
small MacOS X fix for autogen.sh
2007-01-11 15:00:59 +00:00
David Turner
7201108da0
pre-tag doc update
2007-01-10 14:33:18 +00:00
David Turner
d5ca74723c
* Jamfile, README, builds/win32/visualc/freetype.dsp,
...
builds/win32/visualc/freetype.vcproj, docs/VERSION.DLL,
include/freetype/freetype.h, include/freetype/t1tables.h,
include/freetype/internal/tttypes.h: updating version
number to 2.3.0 !!
* include/freetype/ftchapters.h, include/freetype/ftgasp.h,
include/freetype/ftlcdfil.h: updating reference documentation
with GASP support and LCD filtering sections
2007-01-10 14:18:15 +00:00
David Turner
2628ea9c12
* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
...
fixed a typo which created an endless loop with some malformed
font files
2007-01-10 13:15:56 +00:00
Werner Lemberg
bf02d396ca
* src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point
...
values.
2007-01-10 07:07:37 +00:00
Werner Lemberg
cc7f12a429
formatting, copyright years and messages, doc polishing
2007-01-09 10:37:36 +00:00
David Turner
4f7496eea2
updating docs/CHANGES
2007-01-09 09:21:16 +00:00
David Turner
f48b60ed59
* include/freetype/ftgasp.h, src/base/ftgasp.c: adding a
...
new API FT_Get_Gasp to return entries of the GASP table
corresponding to a given character pixel size.
* src/sfnt/ttload.c: add version check for the GASP table,
in order to be better future-proof
* include/freetype/config/ftheader.h: add definition of
FT_GASP_H, corresponding to <freetype/ftgasp.h>
* src/base/rules.mk, src/base/Jamfile, modules.cfg,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: Adding src/base/ftgasp.c
to the default build
2007-01-08 15:15:32 +00:00
Werner Lemberg
b8004d2e88
* src/cid/cidparse.c (cid_parser_new): Improve error message for
...
Type 11 fonts.
Scan for `/sfnts' token.
2007-01-07 09:13:38 +00:00
Werner Lemberg
e6b6f3733e
* src/cid/cidparse.c (cid_parser_new): Reject Type 42 CID-keyed
...
fonts.
2007-01-07 00:06:47 +00:00
Werner Lemberg
be5f797f5b
* src/cff/cffload.c (cff_index_init): Remove unused variable.
...
(cff_index_read_offset): s/perror/errorp/ to avoid global shadowing.
2007-01-06 07:51:48 +00:00
Werner Lemberg
f629439905
formatting, copyright years
2007-01-06 07:47:45 +00:00
David Turner
34fcd0b409
* src/pfr/pfrobjs.c (pfr_face_init): detect non-scalable fonts
...
correctly. fixes bug #17876
2007-01-05 15:55:59 +00:00
David Turner
384be23418
* src/truetype/ttobjs.h, src/truetype/ttobjs.c,
...
src/truetype/ttgload.c: do not allocate interpreter-specific
tables in memory if we're not going to load glyphs with it
anyway.
2007-01-05 15:32:01 +00:00
David Turner
4a89bb9a13
- reset FT_CONFIG_OPTION_OLD_INTERNALS which *disables* the previous optimization
...
(duhhh)
2007-01-05 14:48:27 +00:00
David Turner
91a3402d78
- don't load metrics table in memory, reduces heap usage
...
- forgot to commit the changes in cffload.c that are already documented
2007-01-05 14:47:08 +00:00
David Turner
9d7d50f789
fixing typo
2007-01-05 13:17:15 +00:00
David Turner
a3a3c5d711
small optimization in the CMAP 4 validator
2007-01-05 13:15:29 +00:00
David Turner
5dbdb6c3c4
* src/cff/cffload.c, src/cff/cffload.h, src/cff/cffgload.c,
...
src/cff/cfftypes.h: formatting + do not load the CFF index
offsets into memory, since this wastes a *lot* of heap memory
with large Asian CFF fonts. There is no significant performance
loss
2007-01-05 13:14:08 +00:00
David Turner
3a2131a30b
formatting
2007-01-05 10:51:56 +00:00
Werner Lemberg
4ea0a7f0b6
formatting, minor doc fixes, copyright years
2007-01-05 09:03:31 +00:00
David Turner
f1c7e388ef
add missing comments
2007-01-04 23:16:37 +00:00
David Turner
d10dff2bed
formatting
2007-01-04 22:00:51 +00:00
David Turner
38d1002b8a
* src/raster/ftraster.c: removing dynamically generated "count_table",
...
and replace it with a constant array of bytes
2007-01-04 18:50:12 +00:00
David Turner
8a2c7f8fb8
* src/raster/ftraster.c, src/smooth/ftgrays.c: small optimization, the
...
rasterizers now uses the render pool to store their state during scanline
convertion. this saves about 6 KB of heap space for each FT_Library instance
2007-01-04 18:33:12 +00:00
David Turner
91bd5ddf17
* src/smooth/ftgrays.c: small optimization, the rasterizer now
...
uses the render pool to store its state during its operation,
this saves about 4 KB of heap for each FT_Library instance
2007-01-04 18:00:14 +00:00
David Turner
8a6c44e673
Getting rid of the FT_OPTIMIZE_MEMORY macro, since the optimization
...
is no longer experimental
2007-01-04 17:03:11 +00:00
David Turner
a8cf42bb7a
* src/pshinter/pshalgo.c: remove a stupid typo that results in no
...
hinting and a memory leak with some large Asian CFF fonts
* src/base/ftobjs.c (FT_Done_Library): remove a subtle memory leak
which happens when FT_Done_Library is called with opened CFF_Faces in
it. We need to close all faces before destroying the modules, or else
some bad things (memory leaks) may happen.
2007-01-04 16:46:46 +00:00
Werner Lemberg
6b87e6f0ff
* src/gxvalid/gxvkern.c (gxv_kern_subtable_fmt0_pairs_validate):
...
Remove compiler warning.
Formatting.
2007-01-02 19:20:08 +00:00
David Turner
9207e00198
adding documentation comment
2007-01-02 16:58:13 +00:00
Yamato, Masatake (大和正武)
d5d3e41dac
(gxv_kern_subtable_fmt0_pairs_validate): New function. Checks uniqueness of the gid pairs.
...
(gxv_kern_subtable_fmt0_validate): Move some code to `gxv_kern_subtable_fmt0_pairs_validate'.
2006-12-30 20:17:30 +00:00
David Turner
115b442b23
* src/autofit/aflatin.c, src/truetype/ttgload.c: removing compiler
...
warnings
* builds/win32/visualc/freetype.vcproj: adding _CRT_SECURE_NO_DEPRECATE
to avoid deprecation warnings with Visual C++ 8
2006-12-22 11:37:05 +00:00
Werner Lemberg
4755bf7a82
* src/base/ftlcdfil.c (FT_Library_SetLcdFilter)
...
[FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.
2006-12-16 08:58:44 +00:00
Werner Lemberg
0fd08bdc6a
formatting
2006-12-16 02:57:46 +00:00
Suzuki, Toshiya (鈴木俊哉)
1d5b6a6054
* Notes for simplification of src/base/ftmac.c
2006-12-15 15:44:56 +00:00
Suzuki, Toshiya (鈴木俊哉)
7a7d403d7a
* Improve resource fork handler for POSIX
2006-12-15 14:47:42 +00:00
Werner Lemberg
ec5b4508cc
* builds/toplevel.mk (version): Protect against `distclean' target.
2006-12-10 07:51:38 +00:00
Werner Lemberg
b26b314a93
* builds/*/*def.mk, builds/*/detect.mk (CAT): Define to either `cat'
...
or `type'.
* builds/freetype.mk (version): Extracted from freetype.h, using
GNU make's built-in string functions.
(refdoc): Use $(version) instead of static version number.
2006-12-09 20:01:43 +00:00
Werner Lemberg
4e1d6c0c51
* builds/toplevel.mk (dist): Extract version number from freetype.h.
2006-12-09 08:20:37 +00:00
Werner Lemberg
15c29503fb
* src/tools/apinames (State): Remove final comma in structure -- xlc
...
v5 under AIX 4.3 doesn't like this.
2006-12-09 07:29:54 +00:00
Werner Lemberg
256a351264
Fix ChangeLog.
2006-12-08 06:49:33 +00:00
David Turner
dbf3b43aea
* src/autofit/afloader.c (af_loader_load_g): small adjustment
...
to the spacing of auto-fitter glyphs. This only impacts rare
cases (e.g. Arial Bold at rather small character sizes)
2006-12-07 21:18:09 +00:00
Werner Lemberg
1117131c03
* src/sfnt/rules.mk (SFNT_DRV_SRC): Add ttsbit0.c.
2006-12-03 09:43:40 +00:00
Werner Lemberg
960ba59ad9
* src/sfnt/sfobjs.c (tt_face_get_name): All Unicode strings are
...
encoded in UTF-16BE. Patch from Rajeev Pahuja <rpahuja@esri.com>.
(tt_name_entry_ascii_from_ucs4): Removed.
* include/freetype/ftxf86.h: Fix and extend comment so that it
appears in the documentation.
* include/freetype/ftchapters.h: Add `font_format' section.
* src/tools/docmaker/tohtml.py (HtmlFormatter::index_exit): Add link
to TOC in index page.
Formatting.
2006-12-01 08:20:47 +00:00
David Turner
3a18c5e29e
* src/smooth/ftgrays.c (gray_raster_render): return 0 when we're
...
trying to rendering into a zero-width/height bitmap, instead of an
error code.
2006-11-28 08:38:31 +00:00
David Turner
80658e5075
* src/truetype/ttobjs.c (tt_face_init): Fix typo in previous patch
...
* src/smooth/ftgrays.c: remove hard-coded error values, use FreeType
ones instead
* src/autofit/afhints.c (af_glyph_hints_dump_segments): remove unused
variable
2006-11-28 08:09:20 +00:00
Werner Lemberg
8636c29ae8
* src/truetype/ttobjs.c (tt_face_init): Protect against NULL pointer.
2006-11-26 22:28:13 +00:00
David Turner
1bd6c47260
* src/autofit/afhints.c: add stubs to link the "ftgrid" test program
...
when debugging is disabled in the auto-hinter
2006-11-25 01:30:40 +00:00