Werner Lemberg
08a645d833
* builds/win32/ftdebug.c: Unify debug level handling with other
...
platforms.
2007-06-15 14:05:20 +00:00
Werner Lemberg
367f301b44
* builds/win32/ftdebug.c (FT_Message): Send debug output to the
...
console as well as to the debugger.
2007-06-14 06:56:52 +00:00
Werner Lemberg
46dde4953a
* src/autofit/aflatin.c (af_latin_uniranges): Expand structure to
...
cover all ranges which could possibly be handled by the aflatin
module (since the default fallback for unknown ranges is now the
afcjk module). It might be necessary to fine-tune this further by
splitting off modules for Greek, Cyrillic, or other blocks.
2007-06-14 03:59:02 +00:00
Werner Lemberg
49e18b8d5f
formatting
2007-06-11 21:15:09 +00:00
David Turner
a48162759e
experimental auto-hinter updates
2007-06-11 20:35:54 +00:00
David Turner
b38c15da09
fix bug #19565 , which was caused by an incorrect segment link computation
2007-06-11 19:36:48 +00:00
David Turner
b792017faf
experimental changes for the Latin auto-hinter.
...
note that the new code is disabled by default.
2007-06-11 05:37:35 +00:00
Werner Lemberg
cf7b764285
Fix ChangeLog.
2007-06-11 04:58:01 +00:00
Werner Lemberg
f6c120f826
* docs/CHANGES: Document FT_Face_CheckTrueTypePatents).
...
Formatting, reformulations.
2007-06-11 04:55:58 +00:00
David Turner
7fa30ee879
remove compiler warning
2007-06-11 00:55:23 +00:00
David Turner
75e7acd840
add missing file, doh !
2007-06-11 00:26:25 +00:00
David Turner
5f5e544611
slight speed-up of the TrueType glyph loader
2007-06-11 00:18:00 +00:00
David Turner
84c6f88117
* include/freetype/config/ftoption.h: clarify documentation regarding
...
unpatented hinting
* include/freetype/freetype.h, src/base/ftpatent.c, src/truetype/ttdriver.c,
include/freetype/internal/services/svttglyf.h, modules.cfg,:
include/freetype/internal/ftserv.h,:
Fonts without a cmap must be handled correctly by FreeType (anything
Adding the FT_Face_CheckTrueTypePatents API to FT_FREETYPE_H, it is
implemented by the optional src/base/ftpatent.c
2007-06-10 20:51:04 +00:00
Werner Lemberg
33db39e292
* src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28.
...
Fonts without a cmap must be handled correctly by FreeType (anything
else would be a bug).
* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
[FT_DEBUG_LEVEL_TRACE]: Improve tracing message.
2007-06-08 06:30:29 +00:00
Werner Lemberg
88ab638e0f
* src/sfnt/ttsbit0.c (tt_sbit_decoder_init,
...
tt_sbit_decoder_load_image): Protect against integer overflows.
* src/pfr/pfrgload.c (pfr_glyph_load_simple): More bounding checks
for `x_control' and `y_control'.
2007-06-07 05:01:56 +00:00
Werner Lemberg
470210b73c
* src/winfonts/winfnt.c (fnt_face_get_dll_font): Do a rough check of
...
`font_count'.
* src/type1/t1load.c (parse_font_matrix): Check `temp_scale'.
* src/cff/cffgload.c (cff_decoder_prepare): Change return type to
`FT_Error'.
Check `fd_index'.
(cff_slot_load): Updated.
* src/cff/cffgload.h: Updated.
2007-06-06 10:05:49 +00:00
Werner Lemberg
a8d65494cb
* src/pfr/pfrcmap.c (pfr_cmap_init): Convert assertion into normal
...
FreeType error.
2007-06-06 04:47:49 +00:00
Werner Lemberg
2a2dca6b40
* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
2007-06-06 04:39:37 +00:00
Werner Lemberg
e5c14d93b8
* src/psaux/psobjs.c (ps_tocoordarray, ps_tofixedarray): Return -1
...
in case of parsing error.
(ps_parser_load_field): Updated.
* src/type1/t1load.c (parse_font_matrix): Updated.
2007-06-05 20:50:37 +00:00
Werner Lemberg
f4bc3f40b3
* src/winfnt/winfnt.c (FNT_Face_Init): Check `family_size'.
2007-06-05 07:32:15 +00:00
Werner Lemberg
6e2f9d5db7
Improve tracing messages.
2007-06-05 06:58:48 +00:00
Werner Lemberg
1053656d24
whitespace
2007-06-05 06:49:50 +00:00
Werner Lemberg
9a0332cd3f
* src/pfr/pfrgload.c (pfr_glyph_curve_to, pfr_glyph_line_to): Convert
...
assertion into normal FreeType error.
2007-06-05 05:50:01 +00:00
Werner Lemberg
6c05475d50
* src/pfr/pfrgload.c (pfr_glyph_done): Comment out unused code.
...
(pfr_glyph_load_simple): Convert assertion into normal FreeType
error.
Check `idx'.
(pfr_glyph_load_compound): Convert assertion into normal FreeType
error.
* src/pfr/pfrtypes.h (PFR_GlyphRec): Comment out unused code.
2007-06-05 05:27:54 +00:00
Werner Lemberg
ad18b367e9
* src/cid/cidgload.c (cid_load_glyph): Check `fd_select'.
...
* src/tools/ftrandom/Makefile: Depend on `libfreetype.a'.
2007-06-04 07:04:05 +00:00
Werner Lemberg
25b14229f1
More OBJ_DIR.
2007-06-03 19:53:02 +00:00
Werner Lemberg
f2ff7329c7
Some explanations, taken from an email sent by George.
2007-06-03 19:50:57 +00:00
Werner Lemberg
2fdb70e9d5
Fold fttest.c into ftrandom.c (as it was orginally).
2007-06-03 19:38:59 +00:00
Werner Lemberg
99a320b431
* src/tools/ftrandom/*: Add the `ftrandom' test program written by
...
George Williams (with some modifications).
2007-06-03 19:21:26 +00:00
Werner Lemberg
3d507fefe8
* src/base/ftobjs.c (destroy_charmaps), src/type1/t1objs.c
...
(T1_Face_Done), src/winfonts/winfnt.c (FNT_Face_Done): Check for
face == NULL. Suggested by Graham Asher.
2007-06-03 16:54:55 +00:00
Werner Lemberg
ce280a22e2
* src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
2007-06-03 05:58:30 +00:00
Werner Lemberg
5b591e49cf
* include/freetype/fterrdef.h (FT_Err_Corrupted_Font_Header,
...
FT_Err_Corrupted_Font_Glyphs): New error codes for BDF files.
* src/bdf/bdflib.c (bdf_load_font): Use them.
* src/bdf/bdflib.c (_bdf_parse_start): Check `FONT' better.
2007-06-01 22:16:43 +00:00
Werner Lemberg
b9933f4b02
* src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c
...
(FTC_CMapCache_Lookup): Remove unused code.
2007-06-01 21:27:12 +00:00
Werner Lemberg
c793d90fca
* src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed,
...
unused.
2007-06-01 20:51:11 +00:00
Werner Lemberg
4d2815db50
(cid_parser_new): Exit properly if no `StartData' has been seen at all.
2007-06-01 07:49:31 +00:00
Werner Lemberg
936346413f
Remove tabs from source files.
2007-06-01 06:56:17 +00:00
Werner Lemberg
cb37b3b36a
* builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but
...
LONG_MAX to avoid compiler warning. Suggested by Sean McBride.
2007-06-01 06:49:03 +00:00
Werner Lemberg
bebc7b11c5
* src/cid/cidparse.c (cid_parser_new): Don't continue second search
...
pass for `StartData' if an error has occurred.
2007-06-01 06:32:30 +00:00
Werner Lemberg
ba03af6f91
* src/type1/t1load.c (parse_subrs, parse_charstrings): Protect
...
against too small binary data strings.
* src/bdf/bdflib.c (_bdf_parse_glyphs): Check `STARTCHAR' better.
2007-05-30 13:57:02 +00:00
Werner Lemberg
99e0c18ea1
Formatting, reformulations.
2007-05-29 07:00:23 +00:00
David Turner
c510d5d837
remove compiler warning (unused variable)
2007-05-28 21:34:04 +00:00
David Turner
0291a5c696
updating CHANGES
2007-05-28 15:49:08 +00:00
David Turner
552a956247
optimize CFF glyph loader (avoid apply identity font transform)
2007-05-28 15:45:35 +00:00
David Turner
f0cd69c1b4
2007-05-28 David Turner <david@freetype.org>
...
* src/autofit/afglobal.c: change default hinting script to
CJK, since it works well with a larger array of scripts. thanks to
"Rahul Bhalerao" <b.rahul.pm@gmail.com> for pointing this out !
2007-05-28 15:42:09 +00:00
Werner Lemberg
1c8980ef4a
* docs/CHANGES: Updated.
...
Formatting.
2007-05-25 07:11:12 +00:00
Werner Lemberg
6ff2ff574b
* src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration
...
into TT_USE_BYTECODE_INTERPRETER preprocessor block.
* src/truetype/ttobjs.c (tt_size_ready_bytecode)
[!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
2007-05-24 19:39:14 +00:00
David Turner
7890686d80
fix crash when not using the bytecode interpreter with TrueType fonts
2007-05-22 14:08:09 +00:00
David Turner
3e2f953a10
real fix for bug #19910 . the .Z format is really badly designed :-(
2007-05-22 13:10:59 +00:00
David Turner
0d0365ec59
avoid heap explosion in the case of malformed .Z font files
...
related to bug #19910 , but not a bugfix yet
2007-05-22 09:53:44 +00:00
Werner Lemberg
9df3c223f7
* src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'.
...
(ps_dimension_set_mask_bits): Remove `const'.
2007-05-20 18:07:52 +00:00