ChangeLog


Log

Author Commit Date CI Message
David Turner c567ff27 2008-05-18T14:32:51 add missing comment
David Turner a92cec56 2008-05-18T14:08:57 * src/psnames/psmodule.c: using 'static' to make declarations non-global for ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets, ps_check_wgl_name and ps_check_wgl_unicode
Werner Lemberg 89d64fa6 2008-05-17T20:06:13 * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Handle zero-contour glyphs correctly. Patch from Savannah bug #23277.
Werner Lemberg a2f17cc1 2008-05-17T10:01:45 * docs/CHANGES: Updated. Improve support for WGL4 encoded fonts. * src/psnames/psmodule.c (WGL_EXTRA_LIST_SIZE): New macro. (ft_wgl_extra_unicodes, ft_wgl_extra_glyph_names, ft_wgl_extra_glyph_name_offsets): New arrays. (ps_check_wgl_name, ps_check_wgl_unicode): New functions. (ps_unicodes_init): Use them to add additional Unicode mappings.
Werner Lemberg bcc750e5 2008-05-16T04:50:00 * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <op_closepath>: `closepath' without a path is a no-op, not an error (cf. the PS reference manual). Reported by Martin McBride.
Werner Lemberg bcfcc71d 2008-05-15T09:14:39 * builds/toplevel.mk (CONFIG_GUESS, CONFIG_SUB): Updated.
Werner Lemberg 2d738999 2008-05-14T23:33:53 Fix ChangeLog.
Werner Lemberg 504645ed 2008-05-14T23:26:20 * src/type1/t1load.c (parse_subrs): Accept fonts with a subrs array which contain a single but empty entry. This is technically invalid (since it must end with `return', but...) Reported by Martin McBride.
Werner Lemberg e6e6eade 2008-05-14T23:05:38 Finish fix of scaling bug of CID-keyed CFF subfonts. * include/freetype/internal/ftcalc.h, src/base/ftcalc.c (FT_Matrix_Multiply_Scaled, FT_Vector_Transform_Scaled): New functions. * src/cff/cffobjs.h (CFF_Internal): New struct. It is used to provide global hinting data for both the top-font and all subfonts (with proper scaling). * src/cff/cffobjs.c (cff_make_private_dict): New function, using code from `cff_size_init'. (cff_size_init, cff_size_done, cff_size_select, cff_size_request): Use CFF_Internal and handle subfonts. (cff_face_init): Handle top-dict and subfont matrices correctly; apply some heuristic in case of unlikely matrix concatenation results. This has been discussed with people from Adobe (thanks goes mainly to David Lemon) who confirm that the CFF specs are fuzzy and not correct. * src/cff/cffgload.h (cff_decoder_prepare): Add `size' argument. * src/cff/cffgload.c (cff_builder_init): Updated. (cff_decoder_prepare): Handle hints globals for subfonts. Update all callers. (cff_slot_load): Handling scaling of subfonts properly. * src/cff/cffparse.c (cff_parse_fixed_dynamic): New function. (cff_parse_font_matrix): Use it. * src/cff/cfftypes.h (CFF_FontDictRec): Make `units_per_em' FT_ULong. * docs/CHANGES: Document it.
Werner Lemberg fb57228b 2008-05-13T12:10:04 * src/winfonts/winfnt.c (fnt_face_get_dll_font, FNT_Face_Init): Handle case `face_index < 0'. * docs/CHANGES: Document it.
Werner Lemberg 32e05a6a 2008-05-04T16:53:22 Cleaning up.
Werner Lemberg 551dd3c0 2008-05-04T13:37:38 First steps to fix the scaling bug of CID-keyed CFF subfonts, reported by Ding Li on 2008/03/28 on freetype-devel. * src/base/cff/cffparse.c (power_tens): New array. (cff_parse_real): Rewritten to introduce a fourth parameter which returns the `scaling' of the real number so that we have no precision loss. This is not used yet. Update all callers. (cff_parse_fixed_thousand): Replace with... (cff_parse_fixed_scaled): This function. Update all callers.
Werner Lemberg 6d29f0f1 2008-05-03T15:54:15 * src/base/ftobjs.c (FT_Load_Glyph): Call the auto-hinter without transformation since it recursively calls FT_Load_Glyph. This fixes Savannah bug #23143.
Werner Lemberg de9479a0 2008-04-26T12:52:57 * include/freetype/internal/psaux.h (T1_BuilderRec): Mark `scale_x' and `scale_y' as obsolete since they aren't used. * src/psaux/psobjs.c (t1_builder_init): Updated. * src/cff/cffgload.h (CFF_Builder): Mark `scale_x' and `scale_y' as obsolete since they aren't used. * src/cff/cffgload.c (cff_builder_init): Updated.
Werner Lemberg 4ebc890e 2008-04-13T22:06:12 * src/pcf/pcfdrivr.c (PCF_Face_Init): Protect call to `FT_Stream_OpenLZW' with `FT_CONFIG_OPTION_USE_LZ'. From Savannah bug #22909.
Werner Lemberg 048b7563 2008-04-13T05:55:36 * src/psaux/psconv.c (PS_Conv_ToFixed): Increase precision if integer part is zero.
Werner Lemberg c32e83f2 2008-04-01T06:07:37 Fix compilation with g++ 4.1 (with both `single' and `multi' targets). * src/base/ftobjs.c (FT_Open_Face): Don't define a variable in block which is crossed by a `goto'. * src/otvalid/otvalid.h (otv_MATH_validate): Add prototype.
Werner Lemberg 210d6189 2008-04-01T05:55:48 Fix support for subsetted CID-keyed CFFs. * include/freetype/freetype.h (FT_FACE_FLAG_CID_KEYED, FT_IS_CID_KEYED): New macros. * src/cff/cffobjs.c (cff_face_init): Set number of glyphs to the maximum CID value in CID-keyed CFFs. Handle FT_FACE_FLAG_CID_KEYED flag. * docs/CHANGES: Document it. Fix CFF font matrix calculation and improve precision. * src/cff/cffparse.c (cff_parse_real): Increase precision if integer part is zero. (cff_parse_font_matrix): Simplify computation of `units_per_em'; this prevents overflow also. Support FT_Get_CID_Registry_Ordering_Supplement for PS CID fonts. * src/cid/cidriver.c: Include FT_SERVICE_CID_H. (cid_get_ros): New function. (cid_service_cid_info): New service structure. (cid_services): Register it.
Werner Lemberg a56e5266 2008-03-23T14:53:44 Adjustments for Visual C++ 8.0, as reported by Rainer Deyke. * builds/compiler/visualc.mk (CFLAGS): Remove /W5. (ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.
Werner Lemberg 8575117c 2008-03-21T07:16:00 * src/type1/t1objs.c (T1_Face_Init): Use `/Weight'. Patch from Savannah bug #22675.
Werner Lemberg 3863c951 2008-03-13T06:38:37 * src/truetype/ttgxvar.c (TT_Get_MM_Var): Fix named style loop. Patch from Savannah bug #22541.
Werner Lemberg fc293939 2008-03-03T08:08:12 * src/sfnt/ttcmap.c (tt_cmap14_char_map_nondef_binary, tt_cmap14_find_variant): Return correct value. (tt_cmap14_variant_chars): Fix check for `di'.
Werner Lemberg 5057e36c 2008-02-29T07:23:02 * docs/CHANGES: Updated.
Werner Lemberg 7faa1554 2008-02-29T07:14:38 Add build support for symbian platform. From Savannah bug #22440. * builds/symbian/*: New files.
Werner Lemberg 9b9d3349 2008-02-21T23:22:06 minor improvements, copyright years
Suzuki, Toshiya (鈴木俊哉) 6cb2faa8 2008-02-21T18:46:07 * src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
Werner Lemberg 31093cce 2008-02-21T17:10:04 minor fixes
Suzuki, Toshiya (鈴木俊哉) 5d3ac4ae 2008-02-21T10:15:41 * builds/unix/confiure.raw: Split the compiler option to link Carbon frameworks for each framework
Werner Lemberg 28464c48 2008-02-18T20:34:42 * src/truetype/ttinterp.c (Ins_IUP): Check number of points. Fix from Savannah bug #22356.
Werner Lemberg c903f2f2 2008-02-17T08:23:04 minor editing
Werner Lemberg 44c655b0 2008-02-17T08:22:08 * src/autofit/afloader.c (af_loader_load_g, af_loader_load_glyph): Check for valid callback pointers.
Suzuki, Toshiya (鈴木俊哉) d2c55ab0 2008-02-15T09:12:59 fix for inexistent sfnt ID in broken FOND
Werner Lemberg aa722df4 2008-02-14T10:46:40 Minor editing.
Suzuki, Toshiya (鈴木俊哉) 60e83a1d 2008-02-14T02:55:16 * src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c"
Werner Lemberg 744dd456 2008-02-11T08:22:40 * builds/modules.mk (CLOSE_MODULE, REMOVE_MODULE), builds/detect.mk (dos_setup), builds/freetype.mk (clean_project_dos, distclean_project_dos): Don't use \ but $(SEP). Reported by Duncan Murdoch.
Werner Lemberg 4c933991 2008-01-18T05:32:55 * src/base/ftlcdfil.c (_ft_lcd_filter_legacy): Updated comment to mention intra-pixel algorithm. * include/freetype/freetype.h (FT_Render_Mode): Mention that FT_Library_SetLcdFilter can be used to reduce fringes.
Werner Lemberg 1ddd1b76 2008-01-16T06:58:54 * src/raster/ftraster.c (ft_black_render): Check `outline' before using it. Reported by Allan Yang.
Werner Lemberg eca1f279 2008-01-12T07:46:09 * src/raster/ftraster.c (FT_CONFIG_OPTION_5_GRAY_LEVELS): Remove. * src/raster/ftraster.c (ft_black_init) [FT_RASTER_OPTION_ANTI_ALIASING]: Fix compilation.
Werner Lemberg bf391cb8 2008-01-10T08:47:08 * src/truetype/ttgload.c (load_truetype_glyph): Handle the case where the number of contours in a simple glyph is zero (and which does contain an entry in the `glyf' table). This fixes Savannah bug #21990.
Suzuki, Toshiya (鈴木俊哉) 75696860 2008-01-04T01:43:23 Formatting.
Werner Lemberg d2e15737 2007-12-30T23:49:14 * src/smooth/ftgrays.c (gray_raster_render): Check `outline' correctly. Whitespace.
Suzuki, Toshiya (鈴木俊哉) 540b9545 2007-12-21T06:03:59 Improvement of POSIX resource-fork accessor to load Mac OS X HelveLTMM
Werner Lemberg d156cabc 2007-12-14T07:48:32 * src/cff/cffparse.c (cff_parse_real): Don't apply `power_ten' division too early; otherwise the most significant digit(s) of the final result are lost as the value is truncated to an integer. This fixes Savannah bug #21794 (where the patch has been posted too).
Werner Lemberg bd7e1c3c 2007-12-06T17:17:30 Pass options from one configure script to another as-is (not expanded). This is needed for options like --includedir='${prefix}/include'. * builds/unix/detect.mk, configure: Prevent argument expansion in call to the (real) `configure' script. * src/truetype/ttgload.c (load_truetype_glyph): Fix compilation if TT_USE_BYTECODE_INTERPRETER isn't defined. There exist CFFs which contain opcodes for the Type 1 operators `hsbw' and `closepath' which are both invalid in Type 2 charstrings. However, it doesn't harm to support them. * src/cff/cffgload.c (CFF_Operator): Add `cff_op_hsbw' and `cff_op_closepath.' (cff_argument_counts): Ditto. (cff_decoder_parse_charstrings): Handle Type 1 opcodes 9 (closepath) and 13 (hsbw) which are invalid in Type 2 charstrings.
Suzuki, Toshiya (鈴木俊哉) a6d36573 2007-12-06T10:27:15 * src/base/ftrfork.c: add support for new pathname syntax "..namedfork/rsrc" to access resource fork on Mac OS X.
Suzuki, Toshiya (鈴木俊哉) 44b5e577 2007-12-06T07:47:25 Mac OS X Carbon tests in configure.raw are improved and builds/mac/ftmac.c is updated to sync to src/base/ftmac.c
Suzuki, Toshiya (鈴木俊哉) 05f5c58d 2007-12-06T05:43:36 Improvements of the document and comments in Mac OS sources by Sean McBride
Werner Lemberg a10d2b7c 2007-12-04T22:05:54 * src/cff/cffload.c (cff_subfont_load): Don't use logical OR to concatenate error codes. * src/sfnt/ttsbit.c (Load_SBit_Range): Ditto.
Werner Lemberg d496b926 2007-12-04T21:49:59 * src/truetype/ttobjs.c (tt_face_init): Don't use logical OR to concatenate error codes.
Werner Lemberg c0da5232 2007-12-04T21:44:32 * src/pfr/pfrgload.c (pfr_glyph_load_compound): Remove compiler warning.
Werner Lemberg 24fe618b 2007-11-23T09:18:07 Improve.
Suzuki, Toshiya (鈴木俊哉) 86c0f904 2007-11-20T14:00:17 * src/base/{ftobjs.c, ftrfork.c}: recovery of Carbon-free legacy MacOS font support in freetype-2.3.4
Suzuki, Toshiya (鈴木俊哉) a5470688 2007-11-16T16:29:36 * Add acknowledge of previous Mac OS X 10.5 patch author
Suzuki, Toshiya (鈴木俊哉) 00518cac 2007-11-16T15:48:58 * src/base/ftmac.c: Revise Carbon dependent functions for Mac OS X 10.5
Werner Lemberg d503fc57 2007-11-01T09:19:44 * src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere. This fixes Savannah bug #21485.
Werner Lemberg 27649fb6 2007-10-29T22:00:58 * src/winfonts/winfnt.c (FNT_Face_Init): Check first that the driver can handle the font at all, then check `face_index'. Otherwise, the driver might return the wrong error code. This fixes Savannah bug #21468.
Werner Lemberg e77b6c49 2007-10-21T08:18:40 Typo.
Werner Lemberg 7d9c189a 2007-10-21T08:12:30 * src/sfnt/sfobjs.c (sfnt_load_face): Support bit 9 and prepare support for bit 8 in the `OS/2' table. MS is already using this; hopefully, this becomes part of OpenType 1.5. Prepare also support for `name' IDs 21 (WWS_FAMILY) and 22 (WWS_SUBFAMILY).
Werner Lemberg 66842577 2007-10-20T16:17:28 * src/tools/docmaker/tohtml.py (html_header_2): Fix typo. Add `td.left' element to CSS. (toc_section_enter): Use it.
Werner Lemberg 7f2425fb 2007-10-20T16:15:07 Formatting, improving documentation.
David Turner cf432dbf 2007-10-19T12:36:40 * include/freetype/freetype.h, src/base/ftobjs.c: renamed cmap14-related new APIs to the FT_Object_ActionName scheme. update the documentation for these APIs * src/sfnt/ttcmap.c: stronger cmap 14 validation, make the code a little more consistent with FreeType coding conventions and modify the cmap14 functions that returned a newly allocated array to use a persistent vector from the TT_CMap14 object instead.
Werner Lemberg 9a966b7d 2007-10-15T17:21:32 Add support for cmap type 14. * devel/ftoption.h, include/freetype/config/ftoption.h (TT_CONFIG_CMAP_FORMAT_14): New macro. * include/freetype/internal/ftobjs.h (FT_CMap_CharVarIndexFunc, FT_CMap_CharVarIsDefaultFunc, FT_CMap_VariantListFunc, FT_CMap_CharVariantListFunc, FT_CMap_VariantCharListFunc): New support function prototypes. (FT_CMap_ClassRec): Add them. Update all users. * include/freetype/ttnameid.h (TT_APPLE_ID_VARIANT_SELECTOR): New macro. * include/freetype/freetype.h (FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API functions. * src/base/ftobjs.c (find_variant_selector_charmap): New auxiliary function. (FT_Set_Charmap): Disallow cmaps of type 14. (FT_Get_Char_Variant_Index, FT_Get_Char_Variant_IsDefault, FT_Get_Variant_Selectors, FT_Get_Variants_Of_Char, FT_Get_Chars_Of_Variant): New API functions. * src/sfnt/ttcmap.c (TT_PEEK_UINT24, TT_NEXT_UINT24): New macros. (TT_CMap14Rec, tt_cmap14_init, tt_cmap14_validate, tt_cmap14_char_index, tt_cmap14_char_next, tt_cmap14_get_info, tt_cmap14_char_map_def_binary, tt_cmap14_char_map_nondef_binary, tt_cmap14_find_variant, tt_cmap14_char_var_index, tt_cmap14_char_var_isdefault, tt_cmap14_variants, tt_cmap14_char_variants, tt_cmap14_def_char_count, tt_cmap14_get_def_chars, tt_cmap14_get_nondef_chars, tt_cmap14_variant_chars, tt_cmap14_class_rec): New functions and structures for cmap 14 support. (tt_cmap_classes): Register tt_cmap14_class_rec. (tt_face_build_cmaps): One more error message. * docs/CHANGES: Mention cmap 14 support.
Werner Lemberg 74597ccd 2007-10-01T07:08:56 * src/base/ftobjs.c (find_unicode_charmap): If search for a UCS-4 charmap fails, do the loop again while searching a UCS-2 charmap. This favours MS charmaps over Apple ones.
Suzuki, Toshiya (鈴木俊哉) 2be3f472 2007-08-29T06:08:59 * src/base/ftmac.c: Use more abstract data type instead of `short\'
Werner Lemberg abc44f5e 2007-08-18T06:38:07 * src/otvalid/otvcmmn.c (otv_x_y_ux_sy): Skip context glyphs. Found by Imran Yousaf. Fixes Savannah bug #20773. (otv_Lookup_validate): Correct handling of LookupType. Found by Imran Yousaf. Fixes Savannah bug #20782.
Werner Lemberg 23a424f5 2007-08-17T20:16:44 * src/otvalid/otvgsub.c (otv_SingleSubst_validate): Fix handling of SingleSubstFormat1.
Suzuki, Toshiya (鈴木俊哉) 4fc0ccea 2007-08-11T16:35:06 * Fix a bug in configure.raw overlooking native C compiler if named "platform-gcc"
Werner Lemberg 3f1905b1 2007-08-11T15:45:32 * src/otvalid/otvcommn.c, src/otvalid/otvcommn.h (otv_Coverage_validate): Add fourth argument to pass an expected count value. Update all users. Check glyph IDs. (otv_ClassDef_validate): Check `StartGlyph'. * src/otvalid/otvgsub.c (otv_SingleSubst_validate): More glyph ID checks. * src/otvalid/otvmath.c (otv_MathConstants_validate): There are only 56 constants. (otv_GlyphAssembly_validate, otv_MathGlyphConstruction_validate): Check glyph IDs.
Werner Lemberg d76fe5a1 2007-08-08T06:38:06 * src/otvalid/otvbase.c, src/otvalid/otvcommn.c, src/otvalid/otvgdef.c, src/otvalid/otvgpos.c, src/otvalid/otvgsub.c, src/otvalid/otvjstf.c: s/FT_INVALID_DATA/FT_INVALID_FORMAT/ where appropriate. Reported by George. * include/freetype/internal/fttrace.h: Define `trace_otvmath'. * src/otvalid/rules.mk (OTV_DRV_SRC): Add otvmath.c. * docs/CHANGES: Updated. Add `MATH' validating support to otvalid module. * include/freetype/tttags.h (TTAG_MATH): New macro. * include/freetype/ftotval.h (FT_VALIDATE_MATH): New macro. (FT_VALIDATE_OT): Updated. * src/otvalid/otmath.c: New file. * src/otvalid/otvalid.c: Include otvmath.c. * src/otvalid/otvmod.c (otv_validate): Handle `MATH' table.
Werner Lemberg b6617885 2007-08-04T22:17:48 * builds/unix/configure.raw: Add call to AC_LIBTOOL_WIN32_DLL. Fixes Savannah bug #20686.
Werner Lemberg d6752a6b 2007-08-02T22:03:30 * src/psnames/psmodule.c: Fix usage of FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro. Reported by Graham Asher.
Suzuki, Toshiya (鈴木俊哉) cf093cd7 2007-07-31T03:58:09 * Fix src/base/ftmac.c (open_face_from_buffer): fix the type of driver_type as const.
Werner Lemberg 39c91ad4 2007-07-28T05:40:40 * src/raster/ftraster.c (count_table): Make it conditional. * src/base/ftobjs.c (FT_New_Library): Check FT_RENDER_POOL_SIZE with a preprocessor statement.
Werner Lemberg 71dd6873 2007-07-27T04:44:36 * src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before first usage. From Savannah patch #6115.
Werner Lemberg ef915c36 2007-07-16T20:46:05 * docs/CHANGES: Updated. Add new service for getting the ROS from a CID font. * include/freetype/config/ftheader.h (FT_CID_H): New macro. * include/freetype/ftcid.h: New file. * include/freetype/internal/ftserv.h (FT_SERVIVE_CID_H): New macro. * include/freetype/internal/services/svcid.h: New file. * src/base/ftcid.c: New file. * src/cff/cffdrivr.c: Include FT_SERVICE_CID_H. (cff_get_ros): New function. (cff_service_cid_info): New service structure. (cff_services): Register it. * src/cff/cffload.c (cff_font_done): Free registry and ordering. * src/cff/cfftypes.h (CFF_FontRec): Add `registry' and `ordering'. * modules.cfg (BASE_EXTENSIONS): Add ftcid.c.
Werner Lemberg 2f109567 2007-07-11T05:32:00 Add support for postscript name service to CFF driver. * src/cff/cffdrivr.c: Include FT_SERVICE_POSTSCRIPT_NAME_H. (cff_get_ps_name): New function. (cff_service_ps_name): New service structure. (cff_services): Register it.
Werner Lemberg b003b3e7 2007-07-08T07:13:12 * src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of `target'. Reported by Sean McBride.
Werner Lemberg 1e1b6dff 2007-07-07T07:30:40 * src/pfr/pfrcmap.c: Include pfrerror.h. * src/autofit/afindic.c: Add some external declarations to pacify `make multi' compilation. * src/cid/cidgload.c (cid_load_glyph): Pacify compiler. * src/cff/cffdrivr.c (cff_ps_get_font_info), src/cff/cffobjs.c (cff_strcpy), include/freetype/internal/ftmemory.h (FT_MEM_STRDUP), src/autofit/aflatin.c (af_latin_hints_compute_edges), src/autofit/afcjk.c (af_cjk_hints_compute_edges), src/sfnt/ttmtx.c (tt_face_get_metrics), src/base/ftobjs.c (open_face) [FT_CONFIG_OPTION_INCREMENTAL]: Fix compilation with C++ compiler. * docs/release: Mention test compilation targets.
Werner Lemberg 3033f436 2007-07-04T14:12:19 * src/truetype/ttgload.c (load_truetype_glyph): Always allow a recursion depth of 1. This was the maximum value in TrueType 1.0, and some older fonts don't set this field correctly. * src/gxvalid/gxvmort1.c (gxv_mort_subtable_type1_substTable_validate): Fix tracing message.
Werner Lemberg 986ea4b2 2007-07-04T04:53:15 * docs/PROBLEMS: Mention that some PS based fonts can't be handled correctly by FreeType.
Werner Lemberg 3b0e5006 2007-07-03T04:48:19 * src/autofit/aflatin.c (af_latin_metrics_init_blues): Initialize `round' to pacify compiler. Really commit changes which have been used to build release 2.3.5.
Werner Lemberg e3be90bf 2007-07-02T14:58:58 formatting
David Turner 481b25f0 2007-07-01T09:51:15 * include/freetype/freetype.h, src/base/ftpatent.c: adding FT_Face_SetUnpatentedHinting to dynamically change the setting after a face is created.
David Turner 0ba89912 2007-07-01T09:34:04 fix a small bug in the TrueType loader that created distortion in the result of bytecode-hinted text. Werner, feel free to package 2.3.5 now :-)
David Turner 74cc0e9e 2007-06-30T22:54:12 * src/truetype/ttinterp.c: add missing variable initialization, gets rid of Valgrind fixes. * src/autofit/aflatin.c: get rid of an infinite loop in the case of degenerate fonts.
Werner Lemberg 7723dc34 2007-06-26T04:44:35 Add autofit module for Indic scripts. This currently just reuses the CJK-specific functions. * include/freetype/config/ftoption.h (AF_CONFIG_OPTION_INDIC): New macro. * devel/ftoption.h: Synchronize with include/freetype/config/ftoption.h. * src/autofit/afindic.c, src/autofit/afindic.h: New files. * src/autofit/afglobal.c, src/autofit/aftypes.h, src/autofit/autofit.c: Updated. * src/autofit/Jamfile (_sources), * src/autofit/rules.mk (AUTOF_DRV_SRC): Updated.
Werner Lemberg 7854c4a5 2007-06-23T07:16:20 Fix ChangeLog.
David Turner 8f626b04 2007-06-22T22:22:38 fix stupid typo that prevented the truetype loader from working correctly
Werner Lemberg 5b4d435a 2007-06-20T07:07:55 * src/cff/cffgload.c (cff_slot_load): Fix logic of 2007-05-28 change.
Werner Lemberg c67fb6f1 2007-06-20T06:08:13 Fix ChangeLog.
Werner Lemberg 9fe5815c 2007-06-19T07:57:30 * src/type1/t1load.c (parse_encoding): Handle one more error.
Werner Lemberg 5a829394 2007-06-19T04:53:30 * src/winfonts/winfnt.c (fnt_face_get_dll_font): Return error FNT_Err_Invalid_File_Format if file format was recognized but the file doesn't contain any FNT(NE) or RT_FONT(PE) resources. Add verbose debug logs to make it easier to debug failing load attempts. (FNT_Face_Init): A single FNT font can't contain more than 1 face, so return an error if requested face index is > 0. Do not do further attempt to load fonts if a previous attempt has failed but returned error FNT_Err_Invalid_File_Format, i.e., the file format has been recognized but no fonts found in the file.
Suzuki, Toshiya (鈴木俊哉) 7893501c 2007-06-19T03:27:05 * fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
Werner Lemberg bb2510da 2007-06-18T17:07:49 * src/type42/t42parse.c (t42_parse_encoding): Handle one more error.
Werner Lemberg f9fa1c8b 2007-06-18T17:00:05 * src/psaux/psobjs.c (ps_parser_skip_PS_token): Remove incorrect assertion. (ps_parser_to_bytes): Fix error message. * src/type42/t42objs.c (T42_Open_Face): Handle one more error return. * src/type42/t42parse.c (t42_parse_sfnts): s/alloc/allocated/. Don't allow mixed binary and hex strings. Handle zero string_size == 0 and string_buf == 0.
Werner Lemberg 95104a4d 2007-06-18T07:33:10 * src/cff/cffgload.c (cff_decoder_prepare): Fix change from 2007-06-06.
Werner Lemberg f48aec7b 2007-06-18T07:07:55 * src/psaux/psobjs.c (ps_tofixedarray, ps_tocoordarray): Fix exit logic. (ps_parser_load_field) <T1_FIELD_TYPE_BBOX>: Skip delimiters correctly. (ps_parser_load_field_table): Use `fields->array_max' instead of T1_MAX_TABLE_ELEMENTS to limit the number of arguments.
Werner Lemberg be183ebb 2007-06-17T11:27:17 * src/winfonts/winfnt.c (fnt_face_get_dll_font): Exit in case of invalid font. (FNT_Load_Glyph): Protect against invalid bitmap width.
Werner Lemberg e12ed563 2007-06-17T05:31:23 * src/tools/ftrandom.c (font_size): New global variable. (TestFace): Use it. (main): Handle new option `--size' to set `font_size'. (Usage): Updated. Formatting.
David Turner 815911ae 2007-06-16T17:07:20 * src/truetype/ttgload.c (TT_Load_Simple_Glyph): check the well-formedness of the contours array when loading a glyph * src/truetype/ttinterp.c (Ins_IP): check argument ranges to reject bogus operations properly