kc3-lang/freetype/src/base

Branch :


Log

Author Commit Date CI Message
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
17432b5e 2007-01-12 09: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.
7a3c564e 2007-01-11 15: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.
cc7f12a4 2007-01-09 10:37:36 formatting, copyright years and messages, doc polishing
f48b60ed 2007-01-08 15: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
4ea0a7f0 2007-01-05 09:03:31 formatting, minor doc fixes, copyright years
a8cf42bb 2007-01-04 16:46:46 * src/pshinter/pshalgo.c: remove a stupid typo that results in no hinting and a memory leak with some large Asian CFF fonts * src/base/ftobjs.c (FT_Done_Library): remove a subtle memory leak which happens when FT_Done_Library is called with opened CFF_Faces in it. We need to close all faces before destroying the modules, or else some bad things (memory leaks) may happen.
eeaa6497 2006-12-19 14:34:07 add comment
4755bf7a 2006-12-16 08:58:44 * src/base/ftlcdfil.c (FT_Library_SetLcdFilter) [FT_FORCE_LIGHT_LCD_FILTER]: Fix typo.
0fd08bdc 2006-12-16 02:57:46 formatting
7e3d6013 2006-12-15 15:23:21 * Simplify src/base/ftmac.c for Mac OS X
7a7d403d 2006-12-15 14:47:42 * Improve resource fork handler for POSIX
913a3650 2006-11-19 09:19:17 Because FT_Load_Glyph expects CID values for CID-keyed fonts, the test for a valid glyph index must be deferred to the font drivers. This patch fixes Savannah bug #18301. * src/base/ftobjs.c (FT_Load_Glyph): Don't check `glyph_index'. * src/bdf/bdfdrivr.c (BDF_Glyph_Load), src/cff/cffgload.c (cff_slot_load), src/cid/cidgload.c (cid_slot_load_glyph), src/pcf/pcfdrivr.c (PCF_Glyph_Load), src/pfr/pfrobjs.c (pfr_slot_load), src/truetype/ttdriver.c (Load_Glyph), src/type1/t1gload.c (T1_Load_Glyph), src/winfonts/winfnt.c (FNT_Load_Glyph): Check validity of `glyph_index'.
0d0d78da 2006-11-14 10:37:10 formatting
29c191cd 2006-11-13 13:03:48 * src/base/ftlcdfil.c: added support for FT_FORCE_LIGHT_LCD_FILTER and FT_FORCE_LEGACY_LCD_FILTER at compile time. Define these macros when building the library to change the default LCD filter to be used. This is only useful for experimentation
8765c71b 2006-11-10 16:49:42 * include/freetype/ftlcdfil.h, include/internal/ftobjs.h, src/base/ftlcdfilt.c, src/smooth/ftsmooth.c: API change for the LCD filter, the FT_LcdFilter value is a enum describing which filter to apply, new values FT_LCD_FILTER_LIGHT and FT_LCD_FILTER_LEGACY (the latter implements the LibXft original algorithm which produces incredible color fringes for everything except very-well hinted text) * src/autofit/aflatin.c: various tiny improvements that drastically improve the handling of serif fonts and of LCD/LCD_V hinting modes.
d60ae949 2006-11-07 09:47:04 Formatting.
5e43089b 2006-11-07 09:35:03 * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Handle vertical layout also.
111b5aef 2006-11-03 09:40:12 * src/base/ftcalc.c: Don't use `long long' but `FT_Int64'. Formatting
effd15de 2006-11-02 17:21:02 - merging af_corner_XXX and psh_corner_XXX functions into ft_corner_XXX versions in ftcalc.c - more auto-fitter debugging support
e88c5261 2006-10-24 05:46:26 * src/cff/cffload.c (cff_encoding_load): Remove unused variable. * src/base/ftobjs.c (FT_Select_Charmap): Disallow FT_ENCODING_NONE as argument.
715e96ec 2006-10-24 05:28:45 formatting, improving ChangeLog entries
a186139c 2006-10-23 16:00:59 improve FT_Outline_Get_Orientation for broken asian fonts
07088260 2006-10-15 07:15:28 * src/base/ftmac.c (FT_New_Face_From_FOND): Initialize the variable error
046bf8b0 2006-10-03 08:43:42 formatting
2863cfa7 2006-10-01 17:04:00 * src/base/ftbase.c: Undo change from 2006-09-30. * src/base/rules.mk (BASE_SRC): Remove `ftlcdfil.c'.
df430e1a 2006-10-01 00:09:35 * include/freetype/internal/ftobjs.h, src/base/ftobjs.c, src/truetype/ttobjs.c: fixes related to the unpatented hinter
1e4402e3 2006-09-29 22:10:36 * src/base/rules.mk (BASE_SRC): Remove `ftapi.c' (which is no longer in use). * src/base/ftbase.c: Include `ftlcdfil.c'.
2c002e13 2006-09-29 21:31:53 formatting, improving documentation
ad830716 2006-09-27 16:20:59 * include/freetype/internal/ftobjs.h, src/truetype/ttobjs.c, src/base/ftobjs.c: fixed a bug in the automatic unpatented hinting support which prevented normal bytecode hinting to work properly * src/autofit/aftypes.h: undefining AF_DEBUG to get rid of traces
3cc7d630 2006-09-27 08:48:38 adding missing file
26bb2e27 2006-09-27 07:58:43 * src/base/Jamfile, src/base/rules.mk, vms_make.com: adding 'ftlcdfil.c' to the list of compiled source files
8a317cf7 2006-09-27 07:52:48 * include/freetype/freetype.h: bumping FT_FREETYPE_PATCH to 2 for an upcoming 2.2.2 release * include/freetype/ftlcdfil.h, src/freetype/ftlcdfil.c: added a new API to support color filtering of subpixel glyph bitmaps. In default build, the function FT_Library_SetLcdFilter returns FT_Err_Unimplemented_Feature; you need to #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING in ftoption.h to compile the real implementation * src/smooth/ftsmooth.c: adding support for sub-pixel color filtering; simplifying a few function calls * include/freetype/config/ftheader.h: adding FT_LCD_FILTER_H macro that points to <freetype/ftlcdfil.h>
745ff2c2 2006-09-19 05:48:02 * src/base/ftmac.c (FT_New_Face_From_FOND): Fall back to SFNT if LWFN fails and both are available.
a787f455 2006-08-27 11:26:18 2006-08-27 Jens Claudius <jens.claudius@yahoo.com> Fix miscellaneous compiler warnings. * freetype2/include/freetype/internal/ftobjs.h: close comment with `*/' to avoid `/* in comment' compiler warning. * freetype2/src/base/ftdbgmem.c (ft_mem_table_get_source): Turn cast `(FT_UInt32)(void*)' into `(FT_UInt32)(FT_PtrDist)(void*)' since on 64-bit platforms void* is larger than FT_UInt32. * freetype2/src/base/ftobjs.c (t_validator_error): cast away volatileness of argument to ft_longjmp. Spotted by Werner `Putzfrau' Lemberg. * freetype2/src/bdf/bdflib.c (bdf_load_font): initialize local variable `lineno'. * freetype2/src/gxvalid/gxvmod.c (classic_kern_validate): mark local variable `error' volatile.
6aa260ce 2006-08-25 22:45:13 support for "automatic unpatented hinting" added we still need to determine the list of "trick" CJK fonts that are going to toggle the bytecode interpreter instead of the auto-hinter
12342996 2006-08-19 11:18:09 formatting
33f5f249 2006-08-16 16:50:55 * include/freetype/internal/ftgloadr.h, include/freetype/internal/tttypes.h, src/base/ftgloadr.c, src/base/ftobjs.c, src/truetype/ttgload.c, src/truetype/ttinterp.c, src/truetype/ttobjs.c: improvements to native TrueType hinting, this is a first try, controlled by the FIX_BYTECODE macro in src/truetype/ttinterp.c
2b21a932 2006-08-16 09:24:32 * src/base/ftobjs.c (ft_validator_run): disabling function, it is buggy by design, so it will always return -1
ef3d2c23 2006-06-25 06:07:14 formatting, copyright years
52311976 2006-06-22 02:34:27 * src/base/ftmac.c: Add byteorder workaround for Intel Mac
817831f4 2006-06-15 09:05:41 src/base/ftgxval.c, src/base/ftotval.c: return FT_Err_Unimplemented_Feature when validation service is unavailable
d724f20e 2006-06-04 15:17:41 formatting