kc3-lang/freetype/src/base

Branch :


Log

Author Commit Date CI Message
45489589 2008-10-04 11:39:03 * src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler warnings. Formatting.
1137d04f 2008-10-04 07:11:58 * New function `open_face_PS_from_sfnt_stream' to check and open a Type1 PS or CID-keyed font in an sfnt stream.
bc2c4984 2008-10-03 12:28:52 * src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to FALSE when no PS resource is found
9e2b9900 2008-10-03 11:52:22 * Remove duplicated functions from builds/mac/ftmac.c. Now MPW builds builds/mac/ftmac.c as a part of ftbase.c
89a1a518 2008-10-02 06:48:10 * builds/freetype.mk (BASE_H): Rename to... (INTERNAL_H): This. (FREETYPE_H): Updated. * src/base/rules.mk: (BASE_OBJ_S, OBJ_DIR/%.$O): Add BASE_H. * src/bdf/rules.mk (BDF_DRV_H): Add bdferror.h. * src/cache/rules.mk (CACHE_DRV_H): Add ftccache.h and ftcsbits.h. * src/pcf/rules.mk (PCF_DRV_H): Add pcfread.h. * src/raster/rules.mk (RASTER_DRV_H): Add ftmisc.h. * src/type42/rules.mk (T42_DRV_H): Add t42types.h.
cff15b07 2008-10-02 05:38:29 Formatting.
ba3e2304 2008-10-02 01:48:14 * Fix wrong comment in ftbase.h
f414702e 2008-10-02 01:43:18 * Merge the duplicated functions in ftmac.c with ftobjs.c
ef4a915e 2008-09-30 16:21:07 * Fix make rules for multi build on Mac OS X
c6bdee5f 2008-09-30 00:59:55 * Fix the conditions for multi build on MacOS
22e970a2 2008-09-20 12:20:21 Formatting, minor code fixes.
6874d85b 2008-09-20 11:50:47 * src/base/ftoutln.c: Include FT_INTERNAL_DEBUG_H. (FT_Outline_Decompose): Decorate with tracing messages. * src/smooth/ftgrays.c [DEBUG_GRAYS]: Replace with FT_DEBUG_LEVEL_TRACE. [_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: Include stdio.h and stdarg.h. (FT_TRACE) [_STANDALONE_]: Remove. (FT_Message) [_STANDALONE_ && FT_DEBUG_LEVEL_TRACE]: New function. (FT_TRACE5, FT_TRACE7) [_STANDALONE_]: New macros. (FT_ERROR) [_STANDALONE_]: Updated. (gray_hline) [FT_DEBUG_LEVEL_TRACE]: Fix condition. Use FT_TRACE7. (gray_dump_cells): Make it `static void'. (graay_convert_glyph): Use FT_TRACE7. (FT_Outline_Decompose) [_STANDALONE_]: Synchronize with version in ftoutln.c. * src/base/ftadvanc.c (FT_Get_Advance, FT_Get_Advances): Use FT_ERROR_BASE. Other minor modifications.
3afbee82 2008-09-19 17:46:01 * ftmac.c: Import sfnt-wrapped Type1/CID font support
dec8e7b9 2008-09-19 16:47:01 * src/base/ftobjs.c: Fix double free bug in sfnt-wrapped Type1/CID font support
9ae5eaf8 2008-09-19 06:48:35 * src/base/ftobjs.c: Add initial support for sfnt-wrapped CID-keyed fonts
55c40631 2008-09-18 11:20:12 * src/base/ftsystem.c (FT_Done_Memory): Use ft_sfree directly for orthogonality (ft_free and ft_sfree could belong to different memory pools). This fixes Savannah bug #24297.
4afcfd30 2008-09-16 17:32:02 beautifying, doc fixes.
b211651a 2008-09-12 16:27:48 * autogen.sh, builds/unix/configure.raw, include/freetype/config/ftconfig.h, builds/unix/ftconfig.in: Minor beautifying. * include/freetype/ftadvanc.h, include/freetype/ftgasp.h, include/freetype/ftlcdfil.h: Protect against FreeType 1. Some other minor fixes. * devel/ftoption.h: Synchronize with include/freetype/config/ftoption.h. Formatting, documentation improvements.
8d3e6ecc 2008-09-11 08:29:14 * src/base/ftbase.c: Include ftadvanc.c.
f47d263f 2008-09-02 02:21:58 * include/freetype/ftoption.h, include/freetype/ftconfig.h, builds/unix/ftconfig.in, include/freetype/freetype.h, src/base/ftcalc.c: Make FT_MulFix an inlined function. Also provide an assembler implementation for ARM architectures. this is done to speedup FreeType a little (on x86 3% when loading+hinting, 10% when rendering, ARM savings are more important though). Disable this by undefining FT_CONFIG_OPTION_INLINE_MULFIX in ftconfig.h
238bb385 2008-09-01 21:35:53 ooops. Add missing files
28534d61 2008-09-01 21:35:21 * include/freetype/ftadvanc.h, src/base/ftadvanc.c, include/freetype/config/ftheader.h, include/freetype/freetype.h, src/base/Jamfile, src/base/rules.mk, src/cff/cffdrivr.c, src/cff/cffgload.c, src/cff/cffgload.h, src/truetype/ttdriver.c, src/truetype/ttgload.h, src/truetype/ttgload.c, src/type1/t1driver.c, src/type1/t1gload.h, src/type1/t1gload.c: Add a new header named FT_ADVANCES_H declaring some new APIs to extract the advances of one or more glyphs without necessarily loading their outlines. Also provide 'fast loaders' for the TrueType, Type1 and CFF font drivers (more to come later) * autogen.sh: add checks for minimum version of the 'autotools' stuff.
4c60bd91 2008-08-19 15:35:44 * Fix FT_Stream_New() to initialize stream always
77f73585 2008-08-19 04:53:02 Formatting.
fdc2d761 2008-08-18 06:02:07 * src/base/ftmac.c: Add a fallback for the case that HAVE_TYPE_RESOURCE_INDEX is not set by configure
50997cd7 2008-07-16 21:03:40 * src/pfr/pfrdrivr.c (pfr_get_advance): Fix off-by-one error. * src/base/ftcalc.c (FT_MulFix): Fix portability issue. * src/sfnt/ttpost.c (MAC_NAME) [!FT_CONFIG_OPTION_POSTSCRIPT_NAMES]: Fix compiler warning.
4e7d984d 2008-06-27 22:26:11 * src/ftlyph.c (FT_Matrix_Multiply, FT_Matrix_Invert): Move to... * src/ftcalc.c: Here. This fixes Savannah bug #23729.
f3a924dd 2008-06-24 17:13:58 Fix for 10.4u SDK bundled to Mac OS X 10.5
ad83e05b 2008-06-15 11:06:12 * src/base/ftcalc.c (FT_MulFix) <asm>: Protect registers correctly from clobbering. Patch from Savannah bug report #23556. * docs/CHANGES: Document it.
f3200faa 2008-06-10 04:57:57 Typo.
102bb83a 2008-06-10 04:57:19 * src/base/ftobjs.c (open_face): Check `clazz->init_face' and `clazz->done_face'. Update documentation of FT_Driver_ClassRec.
7cb9ec0f 2008-06-09 20:49:29 * src/type1/t1parse.h (T1_ParserRec): Make `base_len' and `private_len' unsigned. * src/type1/t1parse.c (read_pfb_tag): Make `asize' unsigned and read it as such. (T1_New_Parser, T1_Get_Private_Dict): Make `size' unsigned. * src/base/ftstream.c (FT_Stream_Skip): Reject negative values. * src/type1/t1load.c (parse_blend_design_positions): Check `n_axis' for sane value. Fix typo. * src/psaux/psobjs.c (ps_table_add): Check `idx' correctly. * src/truetype/ttinterp (Ins_SHC): Use BOUNDS() to check `last_point'. * src/sfnt/ttload.c (tt_face_load_max_profile): Limit `maxTwilightPoints'.
2b0b4221 2008-05-28 22:17:28 Cosmetic code changes.
062f88a4 2008-05-20 07:57:53 * src/base/ftmac.c (FT_New_Face_From_Suitcase): Check if valid aface is returned by FT_New_Face_From_FOND()
16dc51fe 2008-05-18 17:36:15 * src/base/ftdebug.c (FT_Message, FT_Panic): Send output to stderr. This fixes Savannah bug #23280. * docs/CHANGES: Updated. Some formatting.
e6e6eade 2008-05-14 23: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.
6d29f0f1 2008-05-03 15: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.
8271e5e4 2008-04-13 21:59:29 whitespace
c32e83f2 2008-04-01 06: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.
9b9d3349 2008-02-21 23:22:06 minor improvements, copyright years
6cb2faa8 2008-02-21 18:46:07 * src/base/ftmac.c: Fix a bug of PostScript font name synthesis in parse_fond().
d2c55ab0 2008-02-15 09:12:59 fix for inexistent sfnt ID in broken FOND
60e83a1d 2008-02-14 02:55:16 * src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c"
4c933991 2008-01-18 05: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.
75696860 2008-01-04 01:43:23 Formatting.
d2e15737 2007-12-30 23:49:14 * src/smooth/ftgrays.c (gray_raster_render): Check `outline' correctly. Whitespace.
540b9545 2007-12-21 06:03:59 Improvement of POSIX resource-fork accessor to load Mac OS X HelveLTMM
a6d36573 2007-12-06 10:27:15 * src/base/ftrfork.c: add support for new pathname syntax "..namedfork/rsrc" to access resource fork on Mac OS X.
05f5c58d 2007-12-06 05:43:36 Improvements of the document and comments in Mac OS sources by Sean McBride
86c0f904 2007-11-20 14:00:17 * src/base/{ftobjs.c, ftrfork.c}: recovery of Carbon-free legacy MacOS font support in freetype-2.3.4
00518cac 2007-11-16 15:48:58 * src/base/ftmac.c: Revise Carbon dependent functions for Mac OS X 10.5
cf432dbf 2007-10-19 12: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.
9a966b7d 2007-10-15 17: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.
74597ccd 2007-10-01 07: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.
2be3f472 2007-08-29 06:08:59 * src/base/ftmac.c: Use more abstract data type instead of `short\'
cf093cd7 2007-07-31 03:58:09 * Fix src/base/ftmac.c (open_face_from_buffer): fix the type of driver_type as const.
39c91ad4 2007-07-28 05: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.
71dd6873 2007-07-27 04:44:36 * src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before first usage. From Savannah patch #6115.
5bfe0d04 2007-07-17 04:57:01 Really add new files.
b003b3e7 2007-07-08 07:13:12 * src/base/ftglyph.c (FT_Glyph_Copy): Fix initialization of `target'. Reported by Sean McBride.
1e1b6dff 2007-07-07 07: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.
e3be90bf 2007-07-02 14:58:58 formatting
481b25f0 2007-07-01 09:51:15 * include/freetype/freetype.h, src/base/ftpatent.c: adding FT_Face_SetUnpatentedHinting to dynamically change the setting after a face is created.
7893501c 2007-06-19 03:27:05 * fix compiler warnings of src/base/ftmac.c, drop unnecessary part for Mac OS X.
b792017f 2007-06-11 05:37:35 experimental changes for the Latin auto-hinter. note that the new code is disabled by default.
f6c120f8 2007-06-11 04:55:58 * docs/CHANGES: Document FT_Face_CheckTrueTypePatents). Formatting, reformulations.
75e7acd8 2007-06-11 00:26:25 add missing file, doh !
84c6f881 2007-06-10 20:51:04 * 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
2a2dca6b 2007-06-06 04:39:37 * src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
3d507fef 2007-06-03 16: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.
ce280a22 2007-06-03 05:58:30 * src/base/ftobjs.c (FT_Request_Metrics): Fix compiler warning.
b9933f4b 2007-06-01 21:27:12 * src/base/ftobjs.c (FT_Request_Metrics), src/cache/ftccmap.c (FTC_CMapCache_Lookup): Remove unused code.
b826fa75 2007-05-19 07: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.
607dec79 2007-05-15 06: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.
8d463a53 2007-05-13 16:01:55 * src/base/ftobjs.c (FT_New_Library): Only allocate rendering pool if FT_RENDER_POOL_SIZE is > 0. From Savannah patch #5928.
106eaf1d 2007-05-03 07:07:47 * src/base/ftobjs.c (FT_Set_Char_Size): Simplify code. * include/freetype/freetype.h (FT_Set_Char_Size): Update documentation.
45bb18fc 2007-04-26 06:26:35 * src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to zero in case of error. This fixes Savannah bug #19689.
1dcb4448 2007-04-06 08:19:04 fixed a memory buffer overwrite bug. Damn !!
7478197e 2007-04-03 19:39:28 formatting
7338ec2b 2007-04-03 14:30:34 make FT_Set_Char_Size deal with 0-valued resolution parameter like the other one
24fd93d6 2007-03-29 11:56:21 formatting
3f539694 2007-03-28 14:53:40 fixing bug in the padding zero-ing of the bitmap emboldener
1e259ded 2007-03-08 15:39:21 Fix ChangeLog; fix source code comment.
3a51afac 2007-03-08 10:50:38 fixing implementation bug in ft_mem_strcpyn
d112cf09 2007-03-06 12:06:56 formatting, copyright years
dddd068e 2007-03-05 18:23:25 fix a small memory leak when FT_Init_FreeType fails for some reason
b68e025c 2007-02-20 02:37:36 * Fix memory leak in ftmac.c, patch by Jjgod Jiang
442bfb89 2007-02-12 21:44:10 Formatting, copyright years, s/memcpy/ft_memcpy/.
c0f9c4aa 2007-02-12 14: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
dcbb708e 2007-02-08 08:54:09 formatting, copyright years
f223df6e 2007-02-05 04:07:46 * Add __attribute__((deprecated)) to functions whose interface using non ANSI data types
beebb332 2007-02-05 03:44:27 * Fix to use builds/mac/ftmac.c if configured with --with-fsspec etc
4827e9bd 2007-02-05 03:28:29 * Add FT_GetFilePath_From_Mac_ATS_Name as replacement for FT_GetFile_From_Mac_ATS_Name
027357f1 2007-02-05 02:50:45 * Check ANSI compatibility of Mac OS X system header
6e87ed9f 2007-01-26 22:18:56 Spelling fixes from Alexei.
9b774e28 2007-01-16 06:11:27 Remove trailing whitespace. From Alexei.
8c4120d0 2007-01-15 06: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.
23df31ad 2007-01-13 08: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.
27cf9de1 2007-01-13 07:34:23 formatting, copyright years
e3654532 2007-01-13 00: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