src


Log

Author Commit Date CI Message
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 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 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 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 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 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).
David Turner 1dcb4448 2007-04-06T08:19:04 fixed a memory buffer overwrite bug. Damn !!
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
Werner Lemberg c9f6c66f 2007-03-21T13:30:14 formatting
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 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.
Werner Lemberg 3cd6cc24 2007-02-16T08:10:17 formatting
David Turner 2c4500e9 2007-02-14T15:08:47 improving TrueType bytecode interpreter to better match Windows behaviour on tricky cases... FIX_BYTECODE is now the default to allow large testing
David Turner a6bdb667 2007-02-12T22:33:48 better handling of serif segments in the Latin auto-fitter, gets rid of broken "9" in Arial 9pt/96dpi
Werner Lemberg c6a14086 2007-02-12T22:08:15 * 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.
Werner Lemberg 406d25f3 2007-02-12T22:01:18 more formatting and copyright years
Werner Lemberg 442bfb89 2007-02-12T21:44:10 Formatting, copyright years, s/memcpy/ft_memcpy/.
David Turner 2ef3e0f1 2007-02-12T21:28:21 fix inter-letter spacing of auto-hinted glyphs (non-light modes)w
David Turner 72a0dd24 2007-02-12T15:24:51 some simplifications of the TrueType interpreter projection code (preliminaries to various interpreter fixes)
David Turner c0f9c4aa 2007-02-12T14:55:03 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
Werner Lemberg 582067dc 2007-02-11T15:03:05 * src/autofit/afloader.c (af_loader_load_g): Don't change width for non-spacing glyphs.
Werner Lemberg dcbb708e 2007-02-08T08:54:09 formatting, copyright years
Werner Lemberg 8f47453b 2007-02-07T08:31:01 * src/cff/cffdrivr.c (cff_get_name_index): Protect against NULL pointer.
Suzuki, Toshiya (鈴木俊哉) f223df6e 2007-02-05T04:07:46 * Add __attribute__((deprecated)) to functions whose interface using non ANSI data types
Suzuki, Toshiya (鈴木俊哉) beebb332 2007-02-05T03:44:27 * Fix to use builds/mac/ftmac.c if configured with --with-fsspec etc
Suzuki, Toshiya (鈴木俊哉) 4827e9bd 2007-02-05T03:28:29 * Add FT_GetFilePath_From_Mac_ATS_Name as replacement for FT_GetFile_From_Mac_ATS_Name
Suzuki, Toshiya (鈴木俊哉) 027357f1 2007-02-05T02:50:45 * Check ANSI compatibility of Mac OS X system header
Werner Lemberg 4b2e83d5 2007-02-01T07:58:02 A new set of spelling fixes from Alexei. Add some copyright messages.
Werner Lemberg 689dd66b 2007-01-30T23:08:50 More typo fixes from Alexei.
David Turner a7ee608c 2007-01-30T10:33:53 disable light auto-hinting optimization for the next release
Werner Lemberg 6e87ed9f 2007-01-26T22:18:56 Spelling fixes from Alexei.
Werner Lemberg bf24176b 2007-01-26T16:08:49 formatting
David Turner d91eebda 2007-01-26T15:05:41 improvement to glyph spacing, especially when light auto-hinting
Werner Lemberg d7855663 2007-01-25T13:53:56 formatting, rearranging
David Turner a42567bf 2007-01-25T12:23:37 - same CFF loader fix (stricter checking though than Werner's version) - document light auto-hinter improvements
Werner Lemberg b1be9e8b 2007-01-25T11:50:00 * src/cff/cffload.c (cff_index_get_pointers): Handle last entry correctly. This fixes Savannah bug #18867. * docs/CHANGES: Document it. Other formatting.
David Turner 741a17e8 2007-01-23T16:14:38 * src/truetype/ttobjs.c: fixed typo that prevented compilation when disabling both the unpatented and the bytecode interpreter in the TrueType font driver
David Turner b6de8d1d 2007-01-23T15:51:50 * 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
Werner Lemberg 555258ff 2007-01-21T09:46:37 * docs/CHANGES: Document SHZ fix. * src/truetype/ttinterp.c (Ins_SHZ): SHZ doesn't move phantom points.
Werner Lemberg 011d1112 2007-01-21T09:36:00 * src/sfnt/ttmtx.c (tt_face_get_metrics) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Fix limit check.
Werner Lemberg b4142d51 2007-01-17T12:45:26 Whitespace and spelling fixes from Alexei. Formatting, copyright years.
David Turner 22122729 2007-01-16T20:06:44 * src/autofit/aflatin.c, src/cff/cffdriver.c, src/truetype/ttobjs.c, src/truetype/ttinterp.c: fixing compiler warnings
Werner Lemberg 9b774e28 2007-01-16T06:11:27 Remove trailing whitespace. From Alexei.
Werner Lemberg 8c4120d0 2007-01-15T06:42:40 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.
Werner Lemberg 281c1486 2007-01-13T22:50:51 * src/type1/t1afm.c (T1_Read_Metrics): MS Windows allows PFM versions up to 0x3FF without complaining.
Werner Lemberg ac250b22 2007-01-13T14:01:36 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.
Werner Lemberg 23df31ad 2007-01-13T08:45:00 * 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.
Werner Lemberg 27cf9de1 2007-01-13T07:34:23 formatting, copyright years
David Turner e3654532 2007-01-13T00:19:18 * 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
Werner Lemberg 17432b5e 2007-01-12T09:28:44 * 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.
David Turner 7a3c564e 2007-01-11T15:09:01 * src/base/ftobjs.c (IsMacResource): fixed a small bug that caused a crash with some Mac OS X .dfont files. Submitted by Masatake Yamoto.
David Turner 2628ea9c 2007-01-10T13:15:56 * src/pshinter/pshalgo.c (psh_glyph_compute_inflections): fixed a typo which created an endless loop with some malformed font files
Werner Lemberg bf02d396 2007-01-10T07:07:37 * src/type1/t1load.c (T1_Get_MM_Var): Always return fixed point values.
Werner Lemberg cc7f12a4 2007-01-09T10:37:36 formatting, copyright years and messages, doc polishing
David Turner f48b60ed 2007-01-08T15:15:32 * 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