Werner Lemberg
644b1ad49e
* builds/win32/visualc/index.html,
...
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproc, README: s/2.3.2/2.3.3/,
s/232/233/.
* docs/CHANGES: Mention ftdiff.
2007-03-28 21:17:11 +00:00
David Turner
3f539694f1
fixing bug in the padding zero-ing of the bitmap emboldener
2007-03-28 14:53:40 +00:00
Werner Lemberg
a08b2176c1
* src/bdf/bdflib.c (setsbit, sbitset): Handle values >= 128
...
gracefully.
(_bdf_set_default_spacing): Increase `name' buffer size to 256 and
issue an error for longer names.
(_bdf_parse_glyphs): Limit allowed number of glyphs in font to the
number of code points in Unicode.
2007-03-28 07:17:17 +00:00
David Turner
23553d6d2b
* docs/CHANGES, docs/VERSION, include/freetype/freetype.h,
...
builds/unix/configure.raw, README, Jamfile: update documentation and bump version
number to 2.3.3
2007-03-26 13:37:17 +00:00
David Turner
f58caa09bc
fix autofit's blue zone computations: it now ignores 1-point contours that
...
correspond to mark attach coordinates, and not to the real glyph outline
2007-03-26 12:39:25 +00:00
David Turner
3b242d3619
last (tiny) fix to the bytecode interpreter and code cleanup
2007-03-26 12:03:04 +00:00
Suzuki, Toshiya (鈴木俊哉)
86a3ee7613
Disable Carbon framework dependency on 64bit ABI of Mac OS X 10.4.x
2007-03-26 05:40:55 +00:00
Werner Lemberg
14ffe0911f
formatting
2007-03-22 06:12:43 +00:00
Suzuki, Toshiya (鈴木俊哉)
dabf0535a8
Temporal fix for 32bit unsigned long overflow on LP64 platform
2007-03-22 05:23:53 +00:00
Suzuki, Toshiya (鈴木俊哉)
4bcf957406
Suppress SGI compiler warning against setjmp
2007-03-22 04:53:45 +00:00
Werner Lemberg
c9f6c66f95
formatting
2007-03-21 13:30:14 +00:00
Suzuki, Toshiya (鈴木俊哉)
6fb74f676b
Dequote OS_INLINE in configure.raw to avoid unexpected shell evaluation
2007-03-19 06:30:26 +00:00
David Turner
64a9ef20d5
another bytecode regression fix. Hopefully, this should be the latest
2007-03-18 07:35:08 +00:00
David Turner
74c34eba39
another bytecode interpreter regression fix
2007-03-18 07:19:31 +00:00
David Turner
89020d9749
fixing TrueType bytecode interpreter regression for HLB_____.TTF, needs more testing with other fonts
2007-03-17 17:48:57 +00:00
Werner Lemberg
25d592a71c
* Version 2.3.2 released.
...
=========================
Tag sources with `VER-2-3-2'.
* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproc, README: s/2.3.1/2.3.2/,
s/231/232/.
2007-03-09 07:59:35 +00:00
David Turner
121cad54ae
updating version numbers and documentation
2007-03-08 16:43:50 +00:00
Werner Lemberg
1e259deda2
Fix ChangeLog; fix source code comment.
2007-03-08 15:39:21 +00:00
David Turner
3a51afac36
fixing implementation bug in ft_mem_strcpyn
2007-03-08 10:50:38 +00:00
Werner Lemberg
d112cf099b
formatting, copyright years
2007-03-06 12:06:56 +00:00
Werner Lemberg
3d92f08bc5
* include/freetype/config/ftstdlib.h (ft_strstr): New wrapper
...
macro for `strstr'.
* src/truetype/ttobjs.c (tt_face_init): Use ft_strstr for scanning
`trick_names', as suggested by Ivan Nincic.
2007-03-06 11:59:24 +00:00
David Turner
dddd068e5d
fix a small memory leak when FT_Init_FreeType fails for some reason
2007-03-05 18:23:25 +00:00
David Turner
91aaf3267b
bugfix: do not erase root x_ppem and y_ppem values in tt_size_init_bytecode
2007-03-05 18:18:52 +00:00
David Turner
085bc6e2b2
fix bug in the PFM parser: kerning values must be read as 16-bit *signed* values
2007-03-05 17:40:03 +00:00
Werner Lemberg
de5e686661
formatting
2007-02-25 21:06:43 +00:00
David Turner
601aefe4ec
fix postscript hinter's handling of small and ghost stems
2007-02-21 16:47:49 +00:00
Suzuki, Toshiya (鈴木俊哉)
b68e025c1b
* Fix memory leak in ftmac.c, patch by Jjgod Jiang
2007-02-20 02:37:36 +00:00
Werner Lemberg
a091517a04
* src/truetype/ttinterp.c (Ins_MD): Remove unused variable.
...
* src/autofit/aflatin.c (af_latin_hints_link_segments): Ditto.
2007-02-16 08:12:50 +00:00
Werner Lemberg
3cd6cc24f2
formatting
2007-02-16 08:10:17 +00:00
David Turner
2c4500e981
improving TrueType bytecode interpreter to better match Windows behaviour
...
on tricky cases... FIX_BYTECODE is now the default to allow large testing
2007-02-14 15:08:47 +00:00
Werner Lemberg
eb3d1fdcb5
Fix ChangeLog.
2007-02-13 08:19:49 +00:00
David Turner
a6bdb667d9
better handling of serif segments in the Latin auto-fitter, gets rid of
...
broken "9" in Arial 9pt/96dpi
2007-02-12 22:33:48 +00:00
Werner Lemberg
c6a14086d2
* src/truetype/ttinterp.c (Project_x, Project_y): Remove compiler
...
warnings.
* src/pcf/pcfread.c (pcf_interpret_style), src/bdf/bdfdrivr.c
(bdf_interpret_style): Ditto.
2007-02-12 22:08:15 +00:00
Werner Lemberg
406d25f379
more formatting and copyright years
2007-02-12 22:01:18 +00:00
Werner Lemberg
5c74d3592f
Fix ChangeLog.
2007-02-12 21:46:18 +00:00
Werner Lemberg
173d0fe4d5
Fix ChangeLog.
2007-02-12 21:44:57 +00:00
Werner Lemberg
442bfb8913
Formatting, copyright years, s/memcpy/ft_memcpy/.
2007-02-12 21:44:10 +00:00
David Turner
2ef3e0f1cd
fix inter-letter spacing of auto-hinted glyphs (non-light modes)w
2007-02-12 21:28:21 +00:00
David Turner
72a0dd247d
some simplifications of the TrueType interpreter projection code
...
(preliminaries to various interpreter fixes)
2007-02-12 15:24:51 +00:00
David Turner
c0f9c4aadd
introduce ft_mem_dup, ft_mem_strdup and ft_mem_strcpyn, and the corresponding
...
macros to use them (e.g. FT_STRDUP, FT_DUP and FT_STRCPYN)
modify the code to use them instead of raw mallocs/strcpy
2007-02-12 14:55:03 +00:00
Werner Lemberg
582067dc92
* src/autofit/afloader.c (af_loader_load_g): Don't change width for
...
non-spacing glyphs.
2007-02-11 15:03:05 +00:00
Werner Lemberg
dcbb708e7a
formatting, copyright years
2007-02-08 08:54:09 +00:00
Werner Lemberg
8f47453b6a
* src/cff/cffdrivr.c (cff_get_name_index): Protect against NULL
...
pointer.
2007-02-07 08:31:01 +00:00
Suzuki, Toshiya (鈴木俊哉)
f223df6e79
* Add __attribute__((deprecated)) to functions whose interface using non ANSI data types
2007-02-05 04:07:46 +00:00
Suzuki, Toshiya (鈴木俊哉)
beebb33202
* Fix to use builds/mac/ftmac.c if configured with --with-fsspec etc
2007-02-05 03:44:27 +00:00
Suzuki, Toshiya (鈴木俊哉)
4827e9bd2c
* Add FT_GetFilePath_From_Mac_ATS_Name as replacement for FT_GetFile_From_Mac_ATS_Name
2007-02-05 03:28:29 +00:00
Suzuki, Toshiya (鈴木俊哉)
da5ada5def
* Fixed wrong comment in ftmac.h
2007-02-05 02:46:27 +00:00
Suzuki, Toshiya (鈴木俊哉)
b8128d93a1
* Check ANSI compatibility of Mac OS X system header
2007-02-05 02:31:34 +00:00
Werner Lemberg
313d77761c
* include/freetype/ttnameid.h (TT_MS_LANGID_DZONGHKA_BHUTAN):
...
Explain why applications shouldn't use it. Found by Alexei.
2007-02-01 08:10:45 +00:00
Werner Lemberg
4b2e83d5b5
A new set of spelling fixes from Alexei.
...
Add some copyright messages.
2007-02-01 07:58:02 +00:00
Werner Lemberg
53935939df
* Version 2.3.1 released.
...
=========================
Tag sources with `VER-2-3-1-FINAL'.
* builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/230/231/.
* builds/win32/visualc/index.html: s/221/231/.
* vms_make.com: Add `ftgasp'.
2007-01-31 08:53:02 +00:00
David Turner
3eaef6c170
updating version numbers to 2.3.1
2007-01-30 10:40:23 +00:00
David Turner
a7ee608c1d
disable light auto-hinting optimization for the next release
2007-01-30 10:33:53 +00:00
Werner Lemberg
bf24176be5
formatting
2007-01-26 16:08:49 +00:00
David Turner
d91eebda1c
improvement to glyph spacing, especially when light auto-hinting
2007-01-26 15:05:41 +00:00
Werner Lemberg
3b3f2baae4
* docs/release: Updated -- Savannah uses a new uploading scheme.
...
formatting
2007-01-25 22:14:40 +00:00
Werner Lemberg
d785566330
formatting, rearranging
2007-01-25 13:53:56 +00:00
David Turner
a42567bf66
- same CFF loader fix (stricter checking though than Werner's version)
...
- document light auto-hinter improvements
2007-01-25 12:23:37 +00:00
Werner Lemberg
b1be9e8b57
* src/cff/cffload.c (cff_index_get_pointers): Handle last entry
...
correctly. This fixes Savannah bug #18867 .
* docs/CHANGES: Document it.
Other formatting.
2007-01-25 11:50:00 +00:00
David Turner
741a17e82b
* src/truetype/ttobjs.c: fixed typo that prevented compilation when
...
disabling both the unpatented and the bytecode interpreter in the
TrueType font driver
2007-01-23 16:14:38 +00:00
David Turner
b6de8d1d3f
* src/autofit/aflatin.c, src/autofit/aftypes.h, src/autofit/afwarp.h,
...
src/autofit/afwarp.c: fix and enable the warper to improve "light"
hinting mode. This is not necessarily a final version, but it seems
to work well
2007-01-23 15:51:50 +00:00
Werner Lemberg
42b63b2bba
* ChangeLog: Split off older entries into...
...
* ChangeLog.22: This new file.
2007-01-21 21:01:33 +00:00
Werner Lemberg
555258fffe
* docs/CHANGES: Document SHZ fix.
...
* src/truetype/ttinterp.c (Ins_SHZ): SHZ doesn't move phantom
points.
2007-01-21 09:46:37 +00:00
Werner Lemberg
011d111218
* src/sfnt/ttmtx.c (tt_face_get_metrics)
...
[!FT_CONFIG_OPTION_OLD_INTERNALS]: Fix limit check.
2007-01-21 09:36:00 +00:00
Werner Lemberg
b800329782
Version 2.3.0 released.
2007-01-17 12:56:25 +00:00
Werner Lemberg
87a5a43e67
* docs/release: Updated.
2007-01-17 12:44:39 +00:00
David Turner
2212272992
* src/autofit/aflatin.c, src/cff/cffdriver.c, src/truetype/ttobjs.c,
...
src/truetype/ttinterp.c: fixing compiler warnings
2007-01-16 20:06:44 +00:00
Werner Lemberg
9b774e2822
Remove trailing whitespace. From Alexei.
2007-01-16 06:11:27 +00:00
Werner Lemberg
267e1d719a
* builds/amiga/makefile, builds/amiga/makefile.os4,
...
builds/amiga/smakefile: Add `ftgasp.c' and `ftlcdfil.c'.
* builds/amiga/include/freetype/config/ftconfig.h: Synchronize.
2007-01-15 07:48:09 +00:00
Werner Lemberg
8c4120d0a3
Fix various compiler warnings.
...
* src/truetype/ttdriver.c (tt_size_select), src/cff/cffobjs.h,
src/cff/cffobjs.c (cff_size_request), src/type42/t42objs.h:
s/index/strike_index/.
* src/base/ftobjs.c (FT_Match_Size): s/index/size_index/.
* src/gxvalid/gxvmorx5.c
(gxv_morx_subtable_type5_InsertList_validate): s/index/table_index/.
* src/truetype/ttinterp.c (Compute_Point_Displacement),
src/pcf/pcfread.c (pcf_seek_to_table_type): Avoid possibly
uninitialized variables.
2007-01-15 06:42:40 +00:00
Werner Lemberg
6164a9d13b
* docs/CHANGES, docs/INSTALL.MAC: Improvements.
2007-01-13 23:01:36 +00:00
Werner Lemberg
281c148621
* src/type1/t1afm.c (T1_Read_Metrics): MS Windows allows PFM
...
versions up to 0x3FF without complaining.
2007-01-13 22:50:51 +00:00
Werner Lemberg
ac250b228a
Add FT_Get_PS_Font_Info interface to CFF driver.
...
* src/cff/cfftypes.h: Include FT_TYPE1_TABLES_H.
(CFF_FontRec): Add `font_info' field.
* src/cff/cffload.c: Include FT_TYPE1_TABLES_H.
(cff_font_done): Free font->font_info if necessary.
* src/cff/cffdrvr.c (cff_ps_get_font_info): New function.
(cff_service_ps_info): Register cff_ps_get_font_info.
2007-01-13 14:01:36 +00:00
Werner Lemberg
23df31adcc
* src/base/ftoutln.c (FT_Outline_Get_Orientation): Fix compilation
...
with C++ compiler.
* src/autofit/afhints.c (af_glyph_hints_dump_segments,
af_glyph_hints_dump_edges): Ditto.
* src/base/rules.mk (BASE_SRC): Remove ftgasp.c (it's already in
`modules.cfg').
* src/sfnt/ttsbit0.h: Remove.
* src/sfnt/rules.mk (SFNT_DRV_SRC): Don't include ttsbit0.c.
2007-01-13 08:45:00 +00:00
Werner Lemberg
27cf9de104
formatting, copyright years
2007-01-13 07:34:23 +00:00
Yamato, Masatake (大和正武)
9f9bc2bc46
Fix a typo.
2007-01-13 06:38:56 +00:00
David Turner
e3654532ea
* src/base/ftbitmap.c: fixing memory stomping bug in the
...
bitmap embolderner when the pitch of the source bitmap is
*much* larger than its width
* src/truetype/ttinterp.c: fixing aliasing-related compilation
warning
2007-01-13 00:19:18 +00:00
Werner Lemberg
6d96d31d98
* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
...
`automake' CVS module from sources.redhat.com.
2007-01-12 10:30:19 +00:00
Werner Lemberg
17432b5e37
* src/type1/t1load.c (is_space): Removed.
...
(parse_encoding, parse_charstrings): Use IS_PS_DELIM.
(parse_charstrings): Use IS_PS_TOKEN.
* autogen.sh: Avoid bash specific syntax.
2007-01-12 09:28:44 +00:00
David Turner
490503acf5
small doc update
2007-01-11 15:29:41 +00:00
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