Log

Author Commit Date CI Message
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 a9f3ccb5 2001-01-01T17:24:31 import of PCF driver
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 e39266ab 2000-12-30T01:18:22 Added entries for changes to CFF driver sources and headers. We now have a working charset and encoding parser, along with a working seac emulation (the 5 argument version of endchar).
Tom Kacvinsky fc1de559 2000-12-30T01:13:50 Changed the structures CFF_Encoding and CFF_Charset.
Tom Kacvinsky 97550fc4 2000-12-30T01:13:07 Chnaged the structures CFF_Charset and CFF_Encoding.
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 7fdd1e52 2000-12-24T10:05:04 Added entries pertaining to the changes needed in the CFF/Type 2 driver for font transforms to work.
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.
Werner Lemberg d85623c2 2000-12-23T16:55:29 Minor doc fix.
Tom Kacvinsky 390ec384 2000-12-22T07:35:19 Fixed 2000-12-21 entry for ah_hinter_load and ah_hinter_load_glyph to be more general. The problem affected more than synthetic fonts. Added an entry for changes to ahhint.c. I mistakenly committed ahhint.c without removing unnecessay comments. Furthermore, I did not remove some code that I had commented out. Silly me!
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 42f1d254 2000-12-21T01:34:01 Added entry for fixes to autohinter (related to synthetic fonts).
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.
Werner Lemberg 5a2fdc0c 2000-12-14T22:57:17 * INSTALL: Added info about makepp.
David Turner 1eb9a43a 2000-12-14T21:24:27 fixed small bug (no need to test target pixmap in direct rendering mode)
Werner Lemberg 28ffa1f5 2000-12-14T21:22:15 * docs/design/modules.html: Removed. Covered by design-*.html. src/smooth/ftgrays.c: Added support for clipped direct rendering in the smooth renderer. This should not break binary compatibility of existing applications. * INSTALL: Updated installation instructions on Win32, listing the new "make setup list" target used to list supported compilers/targets.
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.