Log

Author Commit Date CI Message
Werner Lemberg 88ab638e 2007-06-07T05:01:56 * 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'.
Werner Lemberg 470210b7 2007-06-06T10:05:49 * 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.
Werner Lemberg a8d65494 2007-06-06T04:47:49 * src/pfr/pfrcmap.c (pfr_cmap_init): Convert assertion into normal FreeType error.
Werner Lemberg 2a2dca6b 2007-06-06T04:39:37 * src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
Werner Lemberg e5c14d93 2007-06-05T20:50:37 * 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.
Werner Lemberg f4bc3f40 2007-06-05T07:32:15 * src/winfnt/winfnt.c (FNT_Face_Init): Check `family_size'.
Werner Lemberg 6e2f9d5d 2007-06-05T06:58:48 Improve tracing messages.
Werner Lemberg 1053656d 2007-06-05T06:49:50 whitespace
Werner Lemberg 9a0332cd 2007-06-05T05:50:01 * src/pfr/pfrgload.c (pfr_glyph_curve_to, pfr_glyph_line_to): Convert assertion into normal FreeType error.
Werner Lemberg 6c05475d 2007-06-05T05:27:54 * 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.
Werner Lemberg ad18b367 2007-06-04T07:04:05 * src/cid/cidgload.c (cid_load_glyph): Check `fd_select'. * src/tools/ftrandom/Makefile: Depend on `libfreetype.a'.
Werner Lemberg 25b14229 2007-06-03T19:53:02 More OBJ_DIR.
Werner Lemberg f2ff7329 2007-06-03T19:50:57 Some explanations, taken from an email sent by George.
Werner Lemberg 2fdb70e9 2007-06-03T19:38:59 Fold fttest.c into ftrandom.c (as it was orginally).
Werner Lemberg 99a320b4 2007-06-03T19:21:26 * src/tools/ftrandom/*: Add the `ftrandom' test program written by George Williams (with some modifications).
Werner Lemberg 3d507fef 2007-06-03T16:54:55 * 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.
Werner Lemberg ce280a22 2007-06-03T05:58:30 * src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
Werner Lemberg 5b591e49 2007-06-01T22:16:43 * 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.
Werner Lemberg b9933f4b 2007-06-01T21:27:12 * src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c (FTC_CMapCache_Lookup): Remove unused code.
Werner Lemberg c793d90f 2007-06-01T20:51:11 * src/truetype/ttinterp.c (Null_Vector, NULL_Vector): Removed, unused.
Werner Lemberg 4d2815db 2007-06-01T07:49:31 (cid_parser_new): Exit properly if no `StartData' has been seen at all.
Werner Lemberg 93634641 2007-06-01T06:56:17 Remove tabs from source files.
Werner Lemberg cb37b3b3 2007-06-01T06:49:03 * builds/unix/ftsystem.c (FT_Stream_Open): Don't use ULONG_MAX but LONG_MAX to avoid compiler warning. Suggested by Sean McBride.
Werner Lemberg bebc7b11 2007-06-01T06:32:30 * src/cid/cidparse.c (cid_parser_new): Don't continue second search pass for `StartData' if an error has occurred.
Werner Lemberg ba03af6f 2007-05-30T13:57:02 * 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.
Werner Lemberg 99e0c18e 2007-05-29T07:00:23 Formatting, reformulations.
David Turner c510d5d8 2007-05-28T21:34:04 remove compiler warning (unused variable)
David Turner 0291a5c6 2007-05-28T15:49:08 updating CHANGES
David Turner 552a9562 2007-05-28T15:45:35 optimize CFF glyph loader (avoid apply identity font transform)
David Turner f0cd69c1 2007-05-28T15:42:09 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 !
Werner Lemberg 1c8980ef 2007-05-25T07:11:12 * docs/CHANGES: Updated. Formatting.
Werner Lemberg 6ff2ff57 2007-05-24T19:39:14 * 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.
David Turner 7890686d 2007-05-22T14:08:09 fix crash when not using the bytecode interpreter with TrueType fonts
David Turner 3e2f953a 2007-05-22T13:10:59 real fix for bug #19910. the .Z format is really badly designed :-(
David Turner 0d0365ec 2007-05-22T09:53:44 avoid heap explosion in the case of malformed .Z font files related to bug #19910, but not a bugfix yet
Werner Lemberg 9df3c223 2007-05-20T18:07:52 * src/pshinter/pshrec.c (ps_mask_table_set_bits): Add `const'. (ps_dimension_set_mask_bits): Remove `const'.
Werner Lemberg 0f2b7bda 2007-05-19T15:15:47 * src/sfnt/ttmtx.c (tt_face_get_metrics) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
Werner Lemberg 79944110 2007-05-19T14:10:06 typo
Werner Lemberg c1d2257e 2007-05-19T07:24:55 Updated.
Werner Lemberg b826fa75 2007-05-19T07:18:48 Savannah patch #5929. * include/freetype/tttables.h, src/base/ftobjcs.c (FT_Get_CMap_Format): New function. * include/freetype/internal/services/svttcmap.c (TT_CMapInfo): Add `format' member. * src/sfnt/ttcmap.c (tt_cmap{0,2,4,6,8,10,12}_get_info): Set cmap_info->format.
Werner Lemberg 6f99c888 2007-05-19T07:01:49 * src/truetype/ttgload.c (load_truetype_glyph): Save graphics state before handling subglyphs so that it can be reinitialized each time. This fixes Savannah bug #19859.
Werner Lemberg d0692468 2007-05-16T15:48:02 Oops! Incorrect application of a patch...
Werner Lemberg 95bc9d3a 2007-05-16T15:19:42 * src/cache/ftccache.c (ftc_node_mru_link, ftc_node_mru_unlink), src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP), src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP), src/pshinter/pshmod.c (ps_hinter_init), src/sfnt/ttmtx.c (tt_face_load_hmtx, tt_face_load_hhea, tt_face_get_metrics): Fix type-punning issues.
Werner Lemberg 6ae7ff06 2007-05-15T11:55:37 Formatting, typos.
David Turner 0a24bd25 2007-05-15T10:54:10 do not use functions from <ctypes.h>, they are locale-dependent (and slower)
Werner Lemberg 607dec79 2007-05-15T06:49:37 * src/autofit/afcjk.c (af_cjk_hints_compute_edges): Remove unused variable. * src/autofit/afloader.c (af_loader_load_g): Ditto. * src/base/ftobjs.c (ft_validator_error): Use `ft_jmp_buf'. (open_face_from_buffer): Initialize `stream'. (FT_Request_Metrics): Remove unused variable. Remove redundant `break' statements. (FT_Get_Track_Kerning): Remove unused variable. * src/psaux/afmparse.c (afm_parse_track_kern, afm_parse_kern_pairs, afm_parse_kern_data): Remove redundant `break' statements. (afm_parser_parse): Ditto. Don't use uninitialized variables. * src/psnames/psmodule.c (VARIANT_BIT): Define as unsigned long. Use `|' operator instead of `^' to set it. Update all users. * src/sfnt/ttcmap.c (tt_face_build_cmaps): Use `ft_jmp_buf'. * src/sfnt/ttkern.c (tt_face_load_kern): Remove unused variable. * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Remove redundant comparison. (TT_Process_Simple_Glyph): Use FT_UInt for `n_points' and `i'. (TT_Load_Glyph): Remove unused variable.
Werner Lemberg 56ceaa48 2007-05-14T18:53:58 Formatting.
Werner Lemberg 8d463a53 2007-05-13T16:01:55 * src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928.
David Turner 711cf847 2007-05-11T14:36:24 implement FTC_ImageCache_LookupScaler and FTC_SBitCache_LookupScaler, which allow us to specify the font size with a FTC_Scaler structure, hence enabling fractional point sizes, etc...
David Turner a8b45e61 2007-05-11T14:10:30 fix a typo that force CVT scaling to be re-run on each glyph load
Werner Lemberg 94be20ea 2007-05-09T20:02:55 * src/truetype/ttinterp.c (Ins_IP), src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix compiler warnings.
Werner Lemberg 4127103f 2007-05-06T04:51:48 * builds/win32/visualce/freetype.sln: Removed, as requested by Vincent.
Werner Lemberg 405e2594 2007-05-05T06:26:09 whitespace
Werner Lemberg df49e697 2007-05-04T06:30:05 * builds/win32/visualce/*: Add Visual C++ project files for Pocket PC targets. * docs/CHANGES: Document them.
Werner Lemberg 5077e83e 2007-05-04T06:13:46 * builds/unix/ftsystem.c (FT_Stream_Open): Handle return value 0 of mmap (which might happen on some RTOS). From Savannah patch #5909.
Werner Lemberg 106eaf1d 2007-05-03T07:07:47 * src/base/ftobjs.c (FT_Set_Char_Size): Simplify code. * include/freetype/freetype.h (FT_Set_Char_Size): Update documentation.
Werner Lemberg 1b5267da 2007-04-28T21:06:15 * src/sfnt/sfobjs.c (sfnt_load_face): Check error code after loading `cmap'.
Werner Lemberg cc712a24 2007-04-27T17:16:50 * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Check for negative number of points in contours. Problem reported by Victor Stinner <victor.stinner@haypocalc.com>. (TT_Process_Simple_Glyph): Synchronize variable types.
Werner Lemberg 45bb18fc 2007-04-26T06:26:35 * src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to zero in case of error. This fixes Savannah bug #19689.
Werner Lemberg fcc1f472 2007-04-10T11:51:50 * src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]: Ignore `hhea' table. This fixes Savannah bug #19261.
Werner Lemberg 7b512f50 2007-04-10T05:13:03 Documentation: s/ttengine/truetype_engine/ for orthogonality.
Werner Lemberg 14bf82e1 2007-04-10T04:09:49 * Version 2.3.4 released. ========================= Tag sources with `VER-2-3-4'. * docs/CHANGES, docs/VERSION.DLL: Update documentation and bump version number to 2.3.4. * README, Jamfile (RefDoc), builds/win32/visualc/index.html, builds/win32/visualc/freetype.dsp, builds/win32/visualc/freetype.vcproj: s/2.3.3/2.3.4/, s/233/234/. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4. * builds/unix/configure.raw (version_info): Set to 9:15:3.
Werner Lemberg f4a52a6c 2007-04-09T08:40:11 * src/truetype/ttgload.c (load_truetype_glyph): Save and restore memory stream to avoid a crash with the incremental memory interface (Savannah bug #19260).
Werner Lemberg c81cf61f 2007-04-06T09:28:23 Fix ChangeLog.
David Turner 1dcb4448 2007-04-06T08:19:04 fixed a memory buffer overwrite bug. Damn !!
Werner Lemberg 9f83e055 2007-04-05T02:28:23 * Version 2.3.3 released. ========================= Tag sources with `VER-2-3-3'. * docs/CHANGES: Mention CVE-2007-1351.
Werner Lemberg 7478197e 2007-04-03T19:39:28 formatting
David Turner 7338ec2b 2007-04-03T14:30:34 make FT_Set_Char_Size deal with 0-valued resolution parameter like the other one
Werner Lemberg 94f1227f 2007-04-03T07:19:53 formatting; improved ChangeLog entries
David Turner e6472c12 2007-04-02T13:13:54 detect "extra-light" fonts in the auto-hinter in order to avoid producing weird results with them
Werner Lemberg 24fd93d6 2007-03-29T11:56:21 formatting
Werner Lemberg 644b1ad4 2007-03-28T21:17:11 * 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.
David Turner 3f539694 2007-03-28T14:53:40 fixing bug in the padding zero-ing of the bitmap emboldener
Werner Lemberg a08b2176 2007-03-28T07:17:17 * 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.
David Turner 23553d6d 2007-03-26T13:37:17 * docs/CHANGES, docs/VERSION, include/freetype/freetype.h, builds/unix/configure.raw, README, Jamfile: update documentation and bump version number to 2.3.3
David Turner f58caa09 2007-03-26T12:39:25 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
David Turner 3b242d36 2007-03-26T12:03:04 last (tiny) fix to the bytecode interpreter and code cleanup
Suzuki, Toshiya (鈴木俊哉) 86a3ee76 2007-03-26T05:40:55 Disable Carbon framework dependency on 64bit ABI of Mac OS X 10.4.x
Werner Lemberg 14ffe091 2007-03-22T06:12:43 formatting
Suzuki, Toshiya (鈴木俊哉) dabf0535 2007-03-22T05:23:53 Temporal fix for 32bit unsigned long overflow on LP64 platform
Suzuki, Toshiya (鈴木俊哉) 4bcf9574 2007-03-22T04:53:45 Suppress SGI compiler warning against setjmp
Werner Lemberg c9f6c66f 2007-03-21T13:30:14 formatting
Suzuki, Toshiya (鈴木俊哉) 6fb74f67 2007-03-19T06:30:26 Dequote OS_INLINE in configure.raw to avoid unexpected shell evaluation
David Turner 64a9ef20 2007-03-18T07:35:08 another bytecode regression fix. Hopefully, this should be the latest
David Turner 74c34eba 2007-03-18T07:19:31 another bytecode interpreter regression fix
David Turner 89020d97 2007-03-17T17:48:57 fixing TrueType bytecode interpreter regression for HLB_____.TTF, needs more testing with other fonts
Werner Lemberg 34cd7ea0 2007-03-11T01:21:00 comment fix
Werner Lemberg 25d592a7 2007-03-09T07:59:35 * 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/.
David Turner 121cad54 2007-03-08T16:43:50 updating version numbers and documentation
Werner Lemberg 1e259ded 2007-03-08T15:39:21 Fix ChangeLog; fix source code comment.
David Turner 3a51afac 2007-03-08T10:50:38 fixing implementation bug in ft_mem_strcpyn
Werner Lemberg d112cf09 2007-03-06T12:06:56 formatting, copyright years
Werner Lemberg 3d92f08b 2007-03-06T11:59:24 * 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.
David Turner dddd068e 2007-03-05T18:23:25 fix a small memory leak when FT_Init_FreeType fails for some reason
David Turner 91aaf326 2007-03-05T18:18:52 bugfix: do not erase root x_ppem and y_ppem values in tt_size_init_bytecode
David Turner 085bc6e2 2007-03-05T17:40:03 fix bug in the PFM parser: kerning values must be read as 16-bit *signed* values
Werner Lemberg de5e6866 2007-02-25T21:06:43 formatting
David Turner 601aefe4 2007-02-21T16:47:49 fix postscript hinter's handling of small and ghost stems
Suzuki, Toshiya (鈴木俊哉) b68e025c 2007-02-20T02:37:36 * Fix memory leak in ftmac.c, patch by Jjgod Jiang
Werner Lemberg a091517a 2007-02-16T08:12:50 * src/truetype/ttinterp.c (Ins_MD): Remove unused variable. * src/autofit/aflatin.c (af_latin_hints_link_segments): Ditto.