Log

Author Commit Date CI Message
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.
Werner Lemberg edc7d81a 2008-02-16T05:53:46 Explain `CJK'.
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 61d83d09 2008-01-18T05:19:20 Oops!
Werner Lemberg 250c01d4 2008-01-18T05:16:09 whitespace
Werner Lemberg 53286c09 2008-01-18T05:14:13 more formatting and whitespace
Werner Lemberg 4af139d2 2008-01-18T04:53:28 formatting, whitespace
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 ee0f2ab9 2008-01-12T20:24:01 Whitespace.
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 0b2b5ca7 2008-01-10T10:33:47 Small doc improvement.
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 cc272c51 2007-10-01T07:33:38 Clarify `best' in documentation of FT_Select_Charmap.
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 5bfe0d04 2007-07-17T04:57:01 Really add new files.
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 d21fe6e5 2007-07-10T23:10:39 Really restore changes introduced in revision 1.178.
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 0f6f367e 2007-07-04T19:57:45 Better maxComponentDepth test.
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 aa52eab7 2007-07-02T15:14:50 Updated.
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
David Turner 6c2ab097 2007-06-16T16:40:37 prevent a 16-bit integer overflow that would create problems when rendering *very* large anti-aliased outlines
Werner Lemberg e9f47999 2007-06-16T09:32:31 Document ftpatchk.
Werner Lemberg ab1604bd 2007-06-16T07:59:39 * src/winfonts/winfnt.h: Add necessary structures for PE resource parsing. (WinPE32_HeaderRec): New structure. (WinPE32_SectionRec): New structure. (WinPE_RsrcDirRec): New structure. (WinPE_RsrcDirEntryRec): New structure. (WinPE_RsrcDataEntryRec): New structure. (FNT_FontRec): Remove unused `size_shift' field. * src/winfonts/winfnt.c (fnt_face_get_dll_font): Add support for loading bitmap .fon files in PE format.
Werner Lemberg 08a645d8 2007-06-15T14:05:20 * builds/win32/ftdebug.c: Unify debug level handling with other platforms.
Werner Lemberg 367f301b 2007-06-14T06:56:52 * builds/win32/ftdebug.c (FT_Message): Send debug output to the console as well as to the debugger.
Werner Lemberg 46dde495 2007-06-14T03:59:02 * 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.
Werner Lemberg 49e18b8d 2007-06-11T21:15:09 formatting
David Turner a4816275 2007-06-11T20:35:54 experimental auto-hinter updates
David Turner b38c15da 2007-06-11T19:36:48 fix bug #19565, which was caused by an incorrect segment link computation