src


Log

Author Commit Date CI Message
David Turner e6d4518f 2001-04-27T09:49:27 * src/base/ftbbox.c (BBox_Cubic_Check): fixed the coefficient normalization algorithm (invalid final bit position, and invalid shift computation..)
Werner Lemberg 3780273e 2001-04-26T13:34:36 * builds/unix/config.guess, builds/unix/config.sub: Updated to latest versions from gnu.org. * builds/compiler/gcc-dev.mk: Add `-Wno-long-long' flag. * include/freetype/internal/ftcalc.h: Define FT_SqrtFixed() uncoditionally. * src/base/ftbbox.c: Include FT_INTERNAL_CALC_H. Fix compiler warnings. * src/base/ftcalc.c: Fix (potential) compiler warnings. * src/base/ftcalc.c (FT_SqrtFixed): Corrected/optimized the 32-bit fixed-point square root computation. It is now used even with 64-bits integers, as it is _much_ faster than calling FT_Sqrt64 :-) * src/base/ftbbox.c: Removed invalid "#include FT_BEZIER_H" line. * src/base/ftbbox.c (BBox_Cubic_Check): Rewrote function to use direct computations with 16.16 values instead of sub-divisions. It is now slower, but proves a point :-) * src/raster/ftraster.c, src/smooth/ftgrays.c, src/base/ftbbox.c: Fixed the bezier stack depths. * src/base/ftcalc.c (FT_MulFix): Minor rounding fix. * builds/beos: Added BeOS-specific files to the old build system (no changes were necessary to support BeOS in the Jamfile though). * ftconfig.h, ftoption.h: Updated "ftconfig.h" to detect 64-bit int types on platforms where Autoconf is not available). Also removed FTCALC_USE_LONG_LONG and replaced it with FT_CONFIG_OPTION_FORCE_INT64. * builds/win32/freetype.dsp: Updated the Visual C++ project file. Doesn't create a DLL yet. * cffgload.c: Removed a compilation warning.
David Turner c2cd0044 2001-04-26T00:21:48 minor optimisations in ftcalc.c
David Turner ec46b28d 2001-04-25T22:56:30 * src/base/ftcalc.c (FT_SqrtFixed): corrected/optimised the 32-bit fixed-point square root. it is now used even with 64-bits ints, as it's simply _much_ faster than calling FT_Sqrt64 :-) * src/base/ftbbox.c : removed invalid "#include FT_BEZIER_H" line
David Turner caf72cd6 2001-04-25T18:11:16 * src/base/ftbbox.c (BBox_Cubic_Check): rewrote function to use direct computations with 16.16 values instead of sub-divisions. It is now slower, but proves a point :-) * src/raster/ftraster.c, src/smooth/ftgrays.c, src/base/ftbbox.c : fixed the bezier stack depths.. * src/base/ftcalc.c (FT_MulFix): minor rounding fix * builds/beos : added BeOS-specific files to the old build system (no changes were necessary to support BeOS in the Jamfile though)
David Turner 6d4fbec1 2001-04-20T08:50:36 * ftconfig.h, ftoption.h: updated "ftconfig.h" to detect 64-bit int types on platforms where Autoconf is not available). Also removed FTCALC_USE_LONG_LONG and replaced it with FT_CONFIG_OPTION_FORCE_INT64 * builds/win32/freetype.dsp: updated the Visual C++ project file. Doesn't create a DLL yet.. * cffgload.c: removed a compilation warning
Tom Kacvinsky 9d770c90 2001-04-11T18:40:27 Fix typos (entires -> entries).
Werner Lemberg ef6ebd63 2001-04-11T18:09:49 formatting
Tom Kacvinsky cad797e6 2001-04-10T18:15:17 In function parse_charstrings, changed code for placing .notdef glyph into slot 0 so that we no longer have a memory access violation.
Tom Kacvinsky 60ee2812 2001-04-10T18:13:28 In structure T1_Loader, added swap_table (of type PS_Table) to facilitate placing the .notdef glyph in slot 0.
Werner Lemberg 800f5096 2001-04-10T13:59:58 * src/pcf/pcfdriver.c (PCF_Get_Char_Index): Fix return value. * builds/dos/detect.mk: Add support for bash.
Werner Lemberg cbc9938e 2001-04-06T07:05:50 * builds/os2/*.mk: These files have been forgotten to update to the structure of similar makefiles. * builds/dos/*.mk: Ditto. * builds/ansi/*.mk: Ditto. * builds/win32/win32-def.mk (BUILD): Fix typo. * builds/compiler/*.mk (CLEAN_LIBRARY): Don't use NO_OUTPUT. This is already used in the link_*.mk files. * src/*/Jamfile: Slight changes to make files more cryptic.
Werner Lemberg a1844e09 2001-04-03T21:07:36 * Jamfile, src/Jamfile, src/*/Jamfile: Formatted. Slight changes to give files identical structure.
Werner Lemberg 1429db6c 2001-04-02T23:54:01 * README: Formatting. * Jamfile: Fix typo. * src/cff/cffparse.c: Move error code #defines to... * include/freetype/internal/cfferrs.h: This file. * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced `FT_Err_*' with `CFF_Err_*'. * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'. * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto. * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with `TT_Err_*'. * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto. * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'. * include/freetype/internal/cfferrs.h: Add `CFF_Err_Unknown_File_Format'. * include/freetype/internal/t1errors.h: Add `T1_Err_Unknown_File_Format'. * include/freetype/internal/tterrors.h: Add `TT_Err_Unknown_File_Format'. * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset' references. * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'. * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use FT_LOCAL_DEF. * src/cid/cidobjs.c (CID_Done_Driver): Ditto. * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size): Ditto. * src/type1/t1objs.c (T1_Done_Driver): Ditto. * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto. * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.
Tom Kacvinsky 4a1bc8fc 2001-04-02T17:47:16 In function TT_Load_Metrics, fix improper an improper pointer dereference. Submitted by herbert duerr <duerr@sun.com>
David Turner 5bf0a394 2001-03-24T17:10:09 * Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles to the source tree. see www.freetype.org/jam/index.html for details
Werner Lemberg 521a2d7a 2001-03-20T22:58:56 * builds/win32/detekt.mk: Fix .PHONY target for Intel compiler. Renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H. * docs/docmaker.py: Added generation of INDEX link in table of contents. * INSTALL, docs/BUILD: Updated documentation to indicate that the compilation process has changed slightly (no more `src' required in * builds/*/*-def.mk: Changed the objects directory from "obj" to "objs". * include/freetype/config/ftheader.h: Removed obsolete macros like FT_SOURCE_FILE, etc. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: Removed the use of FT_SOURCE_FILE, etc. Now, each component needs to add its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly. * src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c, src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove compiler warnings in pedantic modes. * include/config/ft2build.h, include/config/ftheader.h: The file top-level <ft2build.h>. * include/config/ftheader.h: Added new section describing the #include macros. the Type 2 glyph charstring (used by conversion programs). * docs/docmaker.py: Added cross-references generation as well as seac emulation provided by the Type 2 endchar operator. * src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files, Added support for clipped direct rendering in the smooth renderer. * src/cff/t2objs.c (T2_Init_Face): For pure CFF fonts, set
David Turner 6ce03efb 2001-03-20T14:50:04 * include/freetype/config/ftheader.h, include/freetype/ftsnames.h: renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to FT_SFNT_NAMES_H * docs/docmaker.py: added generation of INDEX link in table of contents
David Turner 8d3a401f 2001-03-20T11:14:24 * builds/*/*-def.mk: changed the objects directory from "obj" to "objs" * include/freetype/config/ftheader.h: removed obsolete macros like FT_SOURCE_FILE, etc.. and added cache-specific macro definitions that were previously defined in <freetype/ftcache.h>. Added comments to be included in a new API Reference section. * src/*/*: removed the use of FT_SOURCE_FILE, etc.. now, each component needs to added its own directory to the include path at compile time. Modified all "rules.mk" and "descrip.mms" accordingly..
Tom Kacvinsky f3dad68b 2001-03-19T13:52:31 In function parse_font_matrix(), make sure that the units per em value is assigned an unsigned short value, first by shifting right 16 bits, then by casting the results to FT_UShort.
Tom Kacvinsky 70d6f38e 2001-03-19T13:44:15 Change units per EM assignment in cff_parse_font_bbox().
David Turner 3798110f 2001-03-19T11:34:49 fixed a small bug
David Turner 168e39a1 2001-03-17T23:25:34 small update to remove compiler warnings
Tom Kacvinsky c24eff8d 2001-03-17T19:01:25 Another minor typo fix in cff_parse_font_bbox().
Tom Kacvinsky b2712e2e 2001-03-17T16:46:25 Corrected a typo in function cff_parse_font_bbox().
Tom Kacvinsky ea48f458 2001-03-17T16:38:49 In function cff_parse_font_bbox(), obtain rounded FT_Fixed values for the bounding box numbers.
Tom Kacvinsky 8958d03a 2001-03-17T16:36:51 In function CFF_Init_Face(), when we process a pure CFF font, set `root->ascender' (`root->descender') to the integer part of the `root->bbox.yMax' (`root->bbox.yMin', respectively).
Tom Kacvinsky 84ad2a22 2001-03-16T15:03:13 Added function get_cff_glyph_name() in order to facilitate getting a glyph name for glyph index via FT_Get_Glyph_Name(). In function cff_get_interface(), added support for getting a glyph name via the "glyph_name" module interface (used in the function FT_Get_Glyph_Name()). We use the new function get_cff_glyph_name().
Tom Kacvinsky b9561b78 2001-03-16T13:40:50 In function CFF_Init_Face(), logical or the face flags with FT_FACE_FLAG_GLYPH_NAMES only if FT_CONFIG_OPTION_NO_GLYPH_NAMES is not defined. This is to add support for getting a glyph name from a glyph index vi FT_Get_Glyph_Name().
Tom Kacvinsky 8316bc59 2001-03-16T13:35:56 In function CFF_Parse_CharStrings(), added support for deprecated operator "dotsection". Submitted by Sander van der Wal <svdwal@xs4all.nl>
Werner Lemberg 9a8b536f 2001-03-12T22:33:52 * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix error messages. * INSTALL, docs/BUILD: We need GNU make 3.78.1 or newer.
Tom Kacvinsky 68621135 2001-03-12T02:17:50 In cid_read_subrs, decode subroutines only if lenIV >= 0.
Tom Kacvinsky e355d008 2001-03-12T02:05:17 In cid_load_glyph, decrypt charstrings only if lenIV >= 0.
Tom Kacvinsky 9b59f2c3 2001-03-12T01:42:38 In function T1_Decoder_Parse_Charstrings, take into account lenIV seed bytes at the start of a decrypted subroutine.
Werner Lemberg 22e812a8 2001-03-11T13:11:43 * src/pcf/pcfread.c: Put READ_Fields() always in a conditional to avoid compiler warnings.
Werner Lemberg 29bac136 2001-03-11T11:28:39 * TODO: Updated. * src/cid/cidload.c (parse_font_matrix): Added units_per_EM * src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
Tom Kacvinsky e5b8bbb8 2001-03-10T19:10:25 In function T1_Init_Face, changed the assignment code for ascender, descender, and max_advance_width.
Tom Kacvinsky 5d362b6b 2001-03-10T19:08:44 Changed parse_font_bbox to use FT_Fixed values for the bbox assignment, and use rounded values instead.
Tom Kacvinsky 00169a30 2001-03-10T19:06:54 In CID_Init_Face, use calculated units_per_EM, and if that is not available, default to 100 units per EM. Changed assignment code for ascender and descender values.
Tom Kacvinsky 025c2f3f 2001-03-10T19:04:41 Added units_per_EM processing to parse_font_matrix, and added FT_Fixed number handling to parse_font_bbox.
Tom Kacvinsky c2f44c16 2001-03-10T19:02:51 Added implementation of three new functions: FT_RoundFix, FT_CeilFix, and FT_FloorFix.
Werner Lemberg 914b289f 2001-03-10T17:07:42 * src/*/*.c: Added many casts to make code more 64bit-safe.
Tom Kacvinsky bdcfd524 2001-03-07T20:53:08 Minor correction in T1_Init_Face: we must wait until parse_font_bbox is changed before we use logical shift rights in the assignments of `root->ascender', `root->descender', and `root->max_advance_width'.
Tom Kacvinsky 3f06635b 2001-03-07T20:42:18 2001-03-07 Tom Kacvinsky <tjk@ams.org> * src/type1/t1objs.c (T1_Done_Face): Free `char_name' table to avoid a memory leak. Submitted by Sander van der Wal <svdwal@xs4all.nl>
Werner Lemberg 2e35c9b4 2001-03-06T13:56:42 formatting
Tom Kacvinsky e20035ae 2001-03-05T16:22:25 2001-03-05 Tom Kacvinsky <tjk@ams.org> * src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the the Type 2 glyph charstring (used by conversion programs). Submitted by Ha Shao <hashao@chinese.com>.
Werner Lemberg e274cfd3 2001-03-04T21:53:08 * src/autohint/ahtypes.h (AH_Hinter): Add elements `disable_horz_edges', `disable_vert_edges'. * src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use them (and remove static variables with the same names). * src/pcf/pcfutil.c (BitOrderInvert): Add `const'. * docs/glnames.py: Updated to latest pstables.h changes. * src/psnames/pstables.h: Add more `const'. * src/pcf/pcfutil.c: Ditto. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo (FT_Glyph_Done -> FT_Done_Glyph). * include/freetype/ttnameid.h: Added some new Microsoft language codes and LCIDs as found in Office Xp. * builds/hurd/detect.mk: New file. Added support to detect the GNU Hurd operating system as Unix-like. Fix submitted by Anthony Fok <foka@debian.org>. * src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the the Type 1 glyph charstring (used by conversion programs). Submitted by Ha Shao <hashao@chinese.com>. * src/base/ftgrays.c (grays_sweep): The function didn't exit immediately if `num_cells' was 0 as it should. Thanks to Boris for finding this out. * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when bitmap rendering fails (thanks to Graham Asher). * docs/docmaker.py, include/freetype/*.h: Updated the DocMaker script to support chapters and section block ordering. Updated the public header files accordingly. * src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format were not correctly copied.
David Turner 8a8d5c88 2001-02-28T09:36:13 the Type 1 glyph loader now sets the glyph control data to the T1 charstrings program.
David Turner 5aeaad6c 2001-02-23T17:47:41 fixed a bug reported by Graham Asher
David Turner 8fe916ca 2001-02-16T16:27:35 fixed a small bug (the advance and format were not copied in FT_Glyph_Copy)
Werner Lemberg 500dc854 2001-02-10T17:45:01 formatting
Tom Kacvinsky 1e5f0ee6 2001-02-08T23:23:46 Removed an unnecessary fprintf( stderr, ... ) from cff_parse_font_matrix
Tom Kacvinsky 97094311 2001-02-07T03:45:49 In function is_alpha, make `-' a legal alphanumeric character. This is so that font names with `-' are fully parsed, etc...
Tom Kacvinsky 7b91bead 2001-02-07T01:14:53 In function T1_Init_Face, added code to get the units_per_EM from the value assigned in parse_font_matrix, if available. Default to 1000 if not available.
Tom Kacvinsky c27cd28e 2001-02-07T01:11:54 In function cff_parse_font_matrix, added logic to get the units_per_EM from the FontMatrix. Added a new function (cff_parse_fixed_thousand) that gets a real number fromt he CFF font, but multiplies by 1000 (this is to avoid rounding errors when placing this real number into a 16.16 fixed number). In function cff_parse_real, added code so that the integer part is moved into the high sixtenn bits of the 16.16 fixed number.
Tom Kacvinsky c97cf17a 2001-02-07T01:08:34 In function CFF_Init_Face, added logic to get the units per EM from the CFF dictionary, if available.
Werner Lemberg e56b411f 2001-02-03T04:34:53 * src/psaux/psobjs.c (shift_elements): Remove if clause (which is obsolete now). (reallocate_t1_table, PS_Table_Done): Replace REALLOC() with ALLOC() + MEM_Copy() to avoid a memory bug.
Tom Kacvinsky b2d5fefe 2001-01-24T22:41:20 In function parse_font_matrix, added heuristic to get units_per_EM from the font matrix. In parse_dict, deleted test to see if the FontInfo keyword has been seen. Deletion of this test allows fonts without FontInfo dictionaries to be parsed by the Type 1 driver. In T1_Open_Face, deleted empty subroutines array test to make sure fonts with no subroutines still are parsed.
Werner Lemberg 3dac27d9 2001-01-18T04:00:12 * src/pcfread.c (pcf_get_properties, pcf_get_metrics, pcf_get_bitmaps): Fix compiler errors. * src/pcf/pcfread.c: Removed some compilation warnings related
David Turner db071787 2001-01-12T21:49:08 some minor changes to allow compilation in all modes, without warnings
Werner Lemberg d573c7e7 2001-01-03T07:14:12 formatting
Werner Lemberg c3e987e2 2001-01-03T06:47:10 * builds/vms: Support files for VMS architecture added. * descrip.mms, src/*/descrip.mms: VMS makefiles added. * README.VMS: New file. * LICENSE.TXT: Added info about PCF driver license.
Tom Kacvinsky 8d1f6049 2001-01-03T00:21:59 Changed to use cffgload.{c,h} instead of t2gload.{c,h}. Also, all occurences of t2_ (T2_) were replaced with cff_ (CFF_, resp.).
Tom Kacvinsky 8050a6b8 2001-01-03T00:17:58 This file was previously known as t2gload.h.
Tom Kacvinsky 167e2be4 2001-01-03T00:17:15 Renamed to cffgload.h.
Tom Kacvinsky ceac7b9f 2001-01-03T00:16:24 Changed to reflect the changes made in the source files: we now use cffgload.{c,h} instead of t2gload.{c,h}.
Tom Kacvinsky cd92b11d 2001-01-03T00:15:00 This file was previously known as t2gload.c.
Tom Kacvinsky fa3d6e94 2001-01-03T00:14:11 Renamed t2gload.c to cffgload.c.
Werner Lemberg 389acc62 2001-01-01T17:25:21 * src/pcf/*: New driver module for PCF font format (used in X Windows). * include/freetype/internal/ftdebug.h (FT_Trace): Added values for PCF driver. * include/freetype/internal/pcftypes.h: New file. * include/freetype/config/ftmodule.h: Added PCF driver module. * src/winfonts/winfnt.c (FNT_Get_Char_Index): Fix parameter type. * builds/modules.mk (clean_module_list): Fixed deletion of module file in case `make make_module_list' is called before `make setup'.
Werner Lemberg f28b7bfa 2001-01-01T17:24:31 Initial revision
Werner Lemberg 6b766636 2000-12-30T22:14:58 * src/cff/cffload.c (CFF_Load_Charset): Improved error messages. (CFF_Load_Charset, CFF_Load_Encoding): Remove unnecessary variable definition. * src/cff/t2gload.c (t2_lookup_glyph_by_stdcharcode, t2_operator_seac): Added these functions for use in implementing the seac emulation provided by the Type 2 endchar operator. (T2_Parse_CharStrings): Added seac emulation for the endchar operator. CFF_Done_Encoding, CFF_Done_Charset): Extended to load and parse the charset/encoding tables, and free the memory used by them when the CFF driver is finished with them. Added tables
Tom Kacvinsky abe0d472 2000-12-30T00:39:40 Added functions t2_lookup_glyph_by_stdcharcode and t2_operator_seac for use in implementing the seac emulation provided by the Type 2 endchar operator. Extended T2_Parse_CharStrings to add seac emulation for the endchar operator.
Tom Kacvinsky 4ba1c0ad 2000-12-30T00:37:14 Added tables cff_isoadobe_charset cff_expert_charset cff_expertsubset_charset cff_standard_encoding cff_expert_encoding Extended functions CFF_Load_Encoding, CFF_Load_Charset, CFF_Done_Encoding, and CFF_Done_Charset to load and parse the charset/encoding tables, and free the memory used by them when FreeType is finished with them.
Tom Kacvinsky 91a0b65f 2000-12-24T10:01:54 In function T2_Load_Glyph, added code so that the font transform is applied.
Tom Kacvinsky a05c02c9 2000-12-24T09:57:28 Added code to cff_parse_font_matrix so that the font matrix numbers are scaled by 1/(matrix->yy). Also, the offset vector now contains integer values instead of 16.16 fixed numbers.
Tom Kacvinsky 45fbecbb 2000-12-22T07:24:02 Removed unnecessary comments and commented-out code from ah_hinter_load_glyph.
David Turner 55b7403b 2000-12-22T03:40:14 removing obsolete "cidafm" files
Tom Kacvinsky f8d841a7 2000-12-21T01:25:13 Changed functions ah_hinter_load and ah_hinter_load_glyph so that synthetic fonts render correctly. Previously, the first glyph rendered from such a font did not have the FontMatrix applied.
Werner Lemberg 594f0c96 2000-12-20T22:09:41 * *.mk: Added lots of `.PHONY' targets. * *.mk: Implemented `platform' target to disable auto-detection. Added support for clipped direct rendering in the smooth renderer. This should not break binary compatibility of existing applications. * include/freetype/fttypes.h, include/freetype/ftimage.h: Move definition of the FT_BBox structure from the former to the latter. * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to FT_Raster_Flag enumeration. Add `clip_box' element to FT_Raster_Params structure. * src/smooth/ftgrays.c (grays_convert_glyph): Implement it. * src/raster/ftraster.c (ft_black_render): Test for unsupported direct rendering before testing arguments.
David Turner 1eb9a43a 2000-12-14T21:24:27 fixed small bug (no need to test target pixmap in direct rendering mode)
David Turner 859a18a3 2000-12-14T18:50:40 support for clipped direct rendering updated INSTALL file for Win32 case
Werner Lemberg 63408a12 2000-12-13T23:44:37 include/freetype/internal/internal.h: Fixed header inclusion macros to use direct definitions. This is the only way to do these things in a portable way :-( The rest of the code should follow shortly though everything compiles now. * builds/compiler/intelc.mk, builds/compiler/watcom.mk: New files. * builds/win32/detect.mk: Added support for the Intel C/C++ compiler, as well as _preliminary_ (read: doesn't work!) support for Watcom. Also added a new setup target. Type "make setup list" for a list of supported command-line compilers on Win32. * src/base/ftdebug.c: Added dummy symbol to avoid empty file if conditionals are off.
David Turner 170c0d4c 2000-12-13T19:55:11 * include/freetype/config/ft2build.h, include/freetype/internal/internal.h: fixed header inclusion macros to use direct definitions. This is the only way to do these things in a portable way :-( The rest of the code should follow shortly though everything compiles now.. * builds/compiler/intelc.mk, builds/compiler/watcom.mk, builds/win32/detect.mk: added support for the Intel C/C++ compiler, as well as _preliminary_ (read: doesn't work !!) support for Watcom. Also added a new setup target. Type "make setup list" for a list of supported command-line compilers on Win32..
Werner Lemberg d5c1b27d 2000-12-12T22:28:12 * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT): Removed. ANSI C doesn't (explicitly) allow macro expansion in arguments using `##'. (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory names directly. Make them configurable. Use `##' to strip leading and trailing spaces from arguments. * builds/unix/ft2unix.h: Adapted. * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream, ft_close_stream): Use FT_CALLBACK_DEF. * builds/unix/ftsystem.c: Use new header scheme. (FT_Done_Memory): Use free() from FT_Memory structure. * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes. * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.
Werner Lemberg 16a60e87 2000-12-12T16:29:46 next try
Werner Lemberg 6d5d719d 2000-12-12T06:36:55 * include/freetype/config/build.h (FT2_CONFIG_ROOT, FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE, FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant. * builds/unix/detect.mk: Remove unused USE_CFLAGS variable. * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.
Werner Lemberg 90d9964e 2000-12-09T00:45:38 * */*.h: Changed body inclusion macro names to start and end with `__' (those which haven't converted yet). Fixed minor conversion issues. * src/winfonts/winfnt.c: Updated to new header inclusion scheme. * */*.[ch]: Changed source files to adhere to the new * src/cff/cff.c, src/cff/rules.mk: Updated. * */*.[ch]: Now using <ft2build.h> as the default build and setup
Werner Lemberg cc069beb 2000-12-08T16:17:16 cleanups
David Turner 19ed8afe 2000-12-08T02:42:29 - updated all source files to adhere to the new inclusion scheme - the CFF loader now loads the encodings and charset tables though doesn't use them for now
David Turner 50840943 2000-12-06T18:02:01 * src/cache/ftlru.c (FT_Lru_Done): fixed a small memory leak
Werner Lemberg 33d02368 2000-12-06T16:31:30 * builds/module.mk: Replaced `xxx #' with `xxx$(space). * builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to avoid trailing spaces in variable. * builds/freetype.mk: Use $(D) instead of $D to make statement more readable. * docs/docmaker.py: Formatting. * src/psaux/psauxmod.c: Fixed a broken inclusion of component header files (an FT_FLAT_COMPILE test was missing). * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused an occasional crash when the function was called (due to a dangling pointer). * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug: The ANSI "free()" function was called instead of "memory->free()". * docs/docmaker.py: Added section filtering, multi-page generation (index page generation is still missing though). * builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h" is now installed as <ft2build.h> for Unix systems. Note that we still use the "freetype2/freetype" installation path for now. * many files: Now using <ft2build.h> as the default build and setup configuration file in all public headers. Internal source files still need some changes though. * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new Win32 developer builds. builds/win32/w32-dev.mk: Changed the developer build targets to "devel-gcc" and "devel-bcc" in order to be able to develop with the Borland C++ compiler.
David Turner 940d3064 2000-12-05T23:07:16 re-fixed FTC_Manager_Done :-)
David Turner 00004eef 2000-12-05T22:28:15 fixed a broken inclusion of header files (a FT_FLAT_COMPILE test was missing !!)
David Turner 91bb1658 2000-12-05T22:23:12 fixed a bug in FTC_Manager_Done
David Turner ca8d1cda 2000-12-05T21:32:02 fixed small error in last update of FT_Done_Memory
David Turner e646ff6f 2000-12-05T08:39:14 fixed an obvious bug in FT_Done_Memory. The ANSI "free" function was called, instead of "memory->free" !!
David Turner d3c8e064 2000-12-04T22:53:55 - updating the header inclusion scheme to use <ft2build.h> by default.. - created "builds/devel" to hold developer builds options for both Win32 and Unix - fixed a bug in the winfonts driver, where the glyph image format wasn't set correctly..
David Turner efa80f2b 2000-12-01T21:43:05 fixed a few warnings with Borland C++
David Turner b1aabf4c 2000-11-30T23:48:22 - added support for the free command-line Borland C++ compiler in the "builds" directory - modified a few files because BCC32 didn't like certain comparisons (UInt compared with a UShort, apparently the UShort is promoted to an Int) - updated the INSTALL file to include IDE compilation, prevent against BSD Make, and clarify the use of "make setup" (instead of "make") for build configuration
Tom Kacvinsky 16bf6da6 2000-11-30T21:56:55 Fixed computation of `face->height'.