Log

Author Commit Date CI Message
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 6b41954e 2000-12-13T09:21:59 * builds/unix/ftsystem.c: Fixed typos. Fixed inclusion of wrong ftconfig.h file.
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 4978d04e 2000-12-12T16:39:11 sigh,...
Werner Lemberg 16a60e87 2000-12-12T16:29:46 next try
Werner Lemberg 9fe338bf 2000-12-12T16:06:49 next try
Werner Lemberg d96cd73f 2000-12-12T15:33:01 next try
Werner Lemberg b052460a 2000-12-12T07:35:12 another 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 b404d06a 2000-12-05T14:49:39 updated DocMaker to generate section-specific pages
David Turner 5b939ffb 2000-12-05T08:40:54 update
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 e0061599 2000-12-04T23:34:42 fixing Cygwin build
David Turner 8c8af31f 2000-12-04T23:28:14 fixed Unix installation
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..
Werner Lemberg bac727a4 2000-12-02T17:08:55 Added 2.0.1 entry
Werner Lemberg 1e8b4ae5 2000-12-02T17:07:15 formatting
David Turner ac4cd951 2000-12-02T00:35:11 changes to allow compilation under Unix and Cygwin
Werner Lemberg 2e82c93b 2000-12-01T21:56:47 minor fixes
David Turner efa80f2b 2000-12-01T21:43:05 fixed a few warnings with Borland C++
David Turner aaac8133 2000-12-01T18:55:22 small updates to the documentation and the configure scripts to prepare the 2.0.1 release
Werner Lemberg 4c80f0c9 2000-12-01T17:25:58 * INSTALL: Revised. * builds/compiler/bcc-dev.mk, builds/compiler/visualage.mk, builds/compiler/bcc.mk, builds/win32/w32-bcc.mk, builds/win32/w32-bccd.mk: Revised. * include/freetype/config/ftbuild.h, include/freetype/internal/internal.h: Revised. * include/freetype/ftimage.h: Updated to new header inclusion scheme. * builds/toplevel.mk (.PHONY): Adding `distclean'. * builds/unix/detect.mk (.PHONY): Adding `devel', `unix', `lcc', `setup'. * INSTALL: Slightly updated the quick starter documentation to include IDE compilation, prevent against BSD Make, and specify "make setup" instead of a single "make" for build configuration. * include/config/ftbuild.h, include/internal/internal.h: Added new configuration files used to determine the location of all public, configuration, and internal header files for FreeType 2. Modified all headers under "include/freetype" to reflect this change. Note that we still need to change the library source files themselves though. builds/win32/detect.mk: Added new files to support compilation with the free Borland C++ command-line compiler. Modified the detection rules to recognize the new "bcc32" target in "make setup bcc32". src/truetype/ttobjs.c, src/truetype/ttgload.c, src/truetype/ttinterp.c: Fixed a few comparisons that Borland C++ didn't really like. Basically, this compiler complains when FT_UInt is compared to FT_UShort (apparently, it promotes `UShort' to `Int' in these cases).
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
David Turner 8fba32d2 2000-11-30T23:12:33 introduced the new <freetype/config/ftbuild.h> file to determine where is the top-level include directory for all public, configuration and internal header files..
Tom Kacvinsky c261b63a 2000-11-30T21:58:49 Added entries for calculation of `face-height' in t1/t2objs.c.
Tom Kacvinsky 16bf6da6 2000-11-30T21:56:55 Fixed computation of `face->height'.
Tom Kacvinsky 21da8484 2000-11-30T21:53:39 Added calculation of `face->height' for pure CFF fonts.
Werner Lemberg 6c65d91c 2000-11-30T06:23:45 formatting
David Turner ac83e7e0 2000-11-29T23:59:08 fixed a bug in the Conic bezier extrema computation formula..
Werner Lemberg ada9503d 2000-11-29T17:48:57 * src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c (FT_Set_Renderer): Use FT_EXPORT_DEF. * src/cache/ftcimage.c (FTC_Image_Cache_Lookup), src/cache/ftcmanag.c (FTC_Manager_Done, FTC_Manager_Reset, FTC_Manager_Lookup_Face, FTC_Manager_Lookup_Size, FTC_Manager_Register_Cache), src/cache/ftcsbits.c (FTC_SBit_Cache_Lookup): Ditto. * src/include/freetype/cache/ftcglyph.h (FTC_GlyphNode_Init), src/include/freetype/ftmac.h (FT_New_Face_From_FOND): Use FT_EXPORT.
Werner Lemberg f1ca2344 2000-11-29T15:18:54 * src/sfnt/sfdriver.c: Include ttsbit.h and ttpost.h only conditionally. * src/truetype/ttdriver.c (Set_Char_Sizes, Set_Pixel_Sizes): Set `size->strike_index' only conditionally. * src/type1/t1driver.c, src/type1/t1objs.c: Include t1afm.h only conditionally. * src/winfonts/winfnt.h: Move all type definitions to... * src/include/freetype/internal/fnttypes.h: New file. * src/winfonts/winfnt.c: Use it. * include/freetype/internal/ftdebug.h: Replaced FT_CAT and FT_XCAT with a direct solution (which also satifies picky compilers).
Werner Lemberg bf8155a0 2000-11-29T15:17:44 new file
Werner Lemberg d157fcf0 2000-11-29T04:45:26 * src/truetype/ttobjs.c (TT_Init_Size): Fix #ifdef's to work with disabled interpreter also. * src/base/ftnames.c (FT_Get_Sfnt_Name_Count): Fix incorrect parentheses.
Werner Lemberg 053e24ea 2000-11-27T19:23:05 formatting
Tom Kacvinsky f214137f 2000-11-27T08:31:05 Changed entry for src/cff/t2gload.c (T2_Parse_CharStrings) to reflect changes made for even/odd argument counts.
Tom Kacvinsky 6dc51e9c 2000-11-27T08:22:23 T2_Parse_CharStrings: Added more logic to glyph width setting code to take into account even/odd argument counts.
Tom Kacvinsky 834b53ed 2000-11-27T03:23:50 Simplied glyph width processing code and the comments pertaining to it.
Tom Kacvinsky ed581a34 2000-11-27T01:00:38 Added entry for src/cff/t2gload.c (T2_Parse_CharStrings): Modified the glyph width parsing code to be more robust.
Tom Kacvinsky 6037f084 2000-11-27T00:57:13 In function T2_Parse_CharStrings, modified glyph width assignment code to be more robust. The code now takes into account glyphs that 1. have the width given as it is, rather than as a difference against `nominal_width', and 2. have the width operand specified before one of the h/r/vmoveto commands or the endchar command.
Werner Lemberg 6dd303db 2000-11-26T21:25:53 * builds/ansi/ansi.mk: Fix inclusion order of files. * src/type1/t1objs.c (T1_Init_Face): Compute style flags.
Werner Lemberg d1e9249b 2000-11-26T10:12:00 * builds/compiler/ansi-cc.mk (CLEAN_LIBRARY): Fix rule and conditional.
Werner Lemberg 27695e5d 2000-11-23T08:21:13 * src/type1/t1load.c (parse_subrs, parse_charstrings): Use decrypt function from PSAux module. * src/type1/t1parse.c (T1_Done_Parse): Renamed to... (T1_Finalize_Parser): New function (to avoid name clash with a function in the PSAux module). (T1_Decrypt): Removed since it it duplicated in the PSAux module. (T1_Get_Private_Dict): Added `psaux' as new parameter; use decrypt function from PSAux module. * src/type1/t1parse.h: Adapted.
Tom Kacvinsky 7e10ee40 2000-11-23T03:45:52 Added an entry for "off by one" error in src/cff/t2load.c (T2_Get_String).
Tom Kacvinsky 3da9d565 2000-11-23T03:43:14 In function T2_Get_String, we called T2_Get_Name with an string id that was off by one.
David Turner 0fc54d00 2000-11-23T03:01:07 adding cache manager documentation (draft)
Tom Kacvinsky de01c5d9 2000-11-22T23:37:31 Added entry for changes made to t2parse.c (in function parse_t2_real).
Tom Kacvinsky a51b45c6 2000-11-22T23:34:56 Make sure that parse_t2_real correctly parses a CFF real number. Added more comments to the function.
Tom Kacvinsky ef0af208 2000-11-22T20:40:29 Changed entry for `src/cff/t2objs.c (T2_Init_Face)' so that it is shorter.
Tom Kacvinsky 30eacee9 2000-11-22T14:38:29 Added entry for changes to T2_Init_Face (related to pure CFF fonts).
Tom Kacvinsky c3dfbde0 2000-11-22T14:34:22 In function T2_Init_Face, make sure that root->num_faces gets set when loading a pure CFF font, and change units_per_EM to 1000 for a pure CFF font.
Werner Lemberg 5c4f5ebd 2000-11-18T04:42:41 formatting
David Turner e006675e 2000-11-16T19:06:28 added support to synthetic Type 1 fonts. Why didn't this thing get committed ??
David Turner 39440180 2000-11-16T18:06:55 added auto-hinting support for synthetic (obliqued) Type 1 fonts
Werner Lemberg 34e52707 2000-11-13T16:58:01 Formatting; removing tabs.
Tom Kacvinsky b5274f55 2000-11-13T07:37:51 Added entry for src/sfnt/ttload.c: Change tracing output in functions TT_LookUp_Table and TT_Load_Generic_Table. Change comments preceding TT_Load_Generic_Table. Added entry for src/sfnt/sfobjs.c: In function SFNT_Load_Face, set boolean variable has-outline to true only if the font has a `glyf' or `CFF ' table.
Tom Kacvinsky 200a1a41 2000-11-13T07:31:21 In function TT_Load_Generic_Header, change tracing output to indicate if a `bhed' or `head' table is being read. In function TT_LookUp_Table, change tracing output to indicate success or failure of table loading, and place output on one line.
Tom Kacvinsky e0bd0c01 2000-11-13T07:26:31 In function SFNT_Load_Face, set has_outline to true only if the font has a `CFF ' or `glyf' table.
Werner Lemberg e397e2a3 2000-11-12T06:49:17 * builds/win32/visualc/freetype.dsp: Fix raster1->raster and type1z->type1.
Tom Kacvinsky e503527c 2000-11-12T02:55:25 Added a --libtool option, which returns the absolute path to the libtool convenience library.
Tom Kacvinsky 8a2503aa 2000-11-12T02:53:35 builds/unix/freetype-config.in, builds/cygwin/freetype-config.in: Added --libtool option.
Werner Lemberg 84278bc7 2000-11-11T21:48:05 * builds/cygwin/cygwin-def.in: Same fix as previous. * builds/unix/unix-def.in: Add so that installation of freetype-config does not fail.
Tom Kacvinsky 2c818337 2000-11-11T08:35:24 Fixed minor type in unix-def.in entry. Oops!
Tom Kacvinsky 5279cd24 2000-11-11T08:32:41 Added entry for changes to builds/unix/unix-defs.mk.
Tom Kacvinsky d5d28f89 2000-11-11T08:29:17 Added INSTALL_PROGRAM := @INSTALL_PROGRAM@ INSTALL_SCRIPT := @INSTALL_SCRIPT@ So that the install of freetype-config does not fail.
Werner Lemberg 9a5a3ae0 2000-11-11T06:27:58 New file.
Werner Lemberg 4af2f18c 2000-11-11T05:55:41 Minor fixes.
Werner Lemberg a82cd844 2000-11-10T22:43:37 Small fixes and formatting.
Werner Lemberg a8df54a3 2000-11-10T22:39:21 Revising, formatting.
Werner Lemberg 15d3dcd9 2000-11-10T17:10:14 Revised.
Werner Lemberg 6f369005 2000-11-10T05:45:07 Revised.
Werner Lemberg 361d9b8a 2000-11-09T22:15:34 Revised.
David Turner 85924a88 2000-11-09T19:14:11 fixed typos in the license
David Turner 27c8827f 2000-11-09T19:10:22 small update
David Turner 276e47e7 2000-11-09T18:29:59 - moved default installation of header files to "include/freetype2" instead of "include/freetype" - added generation and installation of "freetype-config" script
David Turner 73622119 2000-11-09T18:23:30 - changing the default include path from "include/freetype" to "include/freetype2" - adding template for the "freetype-config" script that is installed in the "bin" directory. It is used to retrieve information about the current installation path, C flags & linker flags
Werner Lemberg fed760b1 2000-11-09T16:23:23 Revised.
Werner Lemberg 0901f653 2000-11-09T08:01:18 Revised.
Werner Lemberg 5330dd6e 2000-11-09T06:26:30 Revised.
David Turner c9d7b5e3 2000-11-09T03:18:32 minor warning with VC++ solved
David Turner 0c426d1e 2000-11-09T01:14:31 updating the "Design of FreeType 2" document
David Turner cd1afc4e 2000-11-09T00:47:05 fixed a bug in "docs/glnames.py" which caused he generation of an invalid Mac names table in the file "src/psnames/pstables.h". This caused FT_Get_Glyph_Name to return invalid glyph names for certain TrueType fonts..
David Turner 3574643b 2000-11-09T00:01:38 major reformatting of the "Glyph Conventions" document. It is now made of 7 different pages and has been updated
Werner Lemberg f42e6595 2000-11-08T20:21:38 Minor fixes.
David Turner a6c747d2 2000-11-08T19:44:48 fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were not set correctly when the auto-hinter is used to load/hint a glyph..
David Turner 5387d894 2000-11-08T19:40:08 fixed max advance width for fixed-pitch T1 fonts
David Turner 042584a9 2000-11-08T00:24:58 changed comments in the cache sub-system sources to indicate that it is now BETA code, instead of ALPHA
David Turner 23a0670b 2000-11-08T00:20:25 removed the file <freetype/internal/ftlist.h> and corrected files that depended on it. the ftlist.c function definitions are now FT_EXPORT_DEF instead of FT_BASE_DEF
David Turner 94e3bfaf 2000-11-08T00:15:58 fixed a small bug in the abstract chunk cache class
Werner Lemberg 8ec9dfd9 2000-11-07T23:56:02 Moving doc comments for BASE functions from source to header files.