Log

Author Commit Date CI Message
Werner Lemberg 81991cd2 2000-07-21T16:43:55 Fix file inclusion.
Werner Lemberg e616d225 2000-07-20T16:06:54 Adding $(CFG) variable to pass configure script parameters. Fixing DLL version.
Werner Lemberg d060a75b 2000-07-20T06:57:41 Formatting. Rudimentary support for autoconf (still using GNU make) Say `make unix'.
David Turner c49f69cb 2000-07-20T03:44:50 some welcome fixes related to the auto-hinter: - removed a stupid memory leak - fixed the weird metrics hinting (the horizontal edges were used, instead of the vertical one, to compute the metrics adjustments, silly, silly, silly). there is still some bugs that I'm looking at though, but we're very near the release..
David Turner bca33287 2000-07-19T20:17:37 Boris's patch regarding glyph index 0
David Turner 3469d0d0 2000-07-19T20:02:14 added auto-hinter module. Note that the code has been cleaned up, and it seems a bug was introduced ??? I'll start checking this under Linux, as debugging is a lot easier under this environment..
David Turner 6930b45f 2000-07-19T17:13:03 - introduced FT_Get_Glyph_Name (see freetype.h) to access individual glyph names. Changed some drivers to support it through a new interface named "glyph_name". - introduced FT_Get_Sfnt_Name (see ftnames.h) to access the SFNT name table in a TrueType/OpenType file..
Werner Lemberg 6b8fcd53 2000-07-19T16:36:36 Renaming license.txt -> LICENSE.TXT for orthogonality.
Werner Lemberg a4367e08 2000-07-19T16:17:55 Formatting. Fixing documentation. Removing unused configuration macros.
Werner Lemberg e1bbc017 2000-07-19T06:25:56 Formatting. Fixing documentation.
Werner Lemberg c8f9cf37 2000-07-19T02:59:31 Formatting.
Werner Lemberg 0959a877 2000-07-18T06:50:03 Formatting.
David Turner 2f8f1542 2000-07-17T22:14:12 Boris patches for ascender/descender/text height
Werner Lemberg 5aa646c5 2000-07-14T06:16:47 Formatting. Fixing a bug in FT_Get_Kerning(). Moving FT_Get_Module_Interface() to ftoutln.c.
David Turner 8cfcf6e0 2000-07-13T00:21:51 more patches from Tom (to fix its former patches :-)
David Turner 49bd4f05 2000-07-12T16:57:37 removed some warnings with Visual C++ that prevented compilation
Werner Lemberg 6cca5578 2000-07-12T05:52:59 Formatting.
Werner Lemberg 862bcbb7 2000-07-11T06:50:03 Fixed typo.
Werner Lemberg 2405d14f 2000-07-11T06:12:20 Formatting/Synchronizing. Updating OS/2 bits in ttnameid.h to latest version (as posted on the opentype@ list).
David Turner e161ee44 2000-07-10T22:03:10 fixed a bug that caused invalid clipping of monochrome bitmaps when they were blitted on the left edge of an 8-bit pixmap..
Werner Lemberg 93ac3e39 2000-07-10T21:41:32 Formatting. Synchronizing docs.
David Turner e208f4e0 2000-07-10T20:30:59 fixed a really tupid bug in the Multiple Master support of "type1z"
Werner Lemberg 670caab8 2000-07-10T14:24:26 Formatting.
David Turner b390a124 2000-07-10T00:13:39 removed some stupid #defines in <freetype/config/ftconfig.h>
Werner Lemberg 97b2de58 2000-07-10T00:06:22 More formatting. Synchronizing docu in include/freetype with src/base.
Werner Lemberg b48a6094 2000-07-09T19:15:30 Formatting. Moving some internal structures and constants from freetype.h to ftobjs.h. Finally removing FT_LOAD_ANTI_ALIAS. Cleaning up all error codes. Only the used ones have survived :-) Removed unused FT_MAX_GLYPH_FORMATS constant. T2 error codes are now in the range 0x500-0x5FF (instead of `TrueDoc'). Some minor improvements of error return values. Finally fixing error code values in ftraster and ftgrays to be compliant with all other FT error codes.
Werner Lemberg 681e8eea 2000-07-09T00:48:37 formatting fixing minor `make multi' problem
Werner Lemberg 7b5c4a96 2000-07-08T22:57:11 Removed `demos' tree. Use `ft2demos' module instead.
Werner Lemberg 415cc7c9 2000-07-08T22:52:21 Formatting. Adding proper trace level.
Werner Lemberg 50857ff4 2000-07-08T20:14:13 ttdebug will compile again...
Werner Lemberg 7fa51b55 2000-07-08T19:51:42 Formatting. Adding some trivial error checking. Adding/Fixing tracing levels.
David Turner e1075cea 2000-07-08T02:07:27 the font driver now supports CEF fonts and needs a few more work to fully support pure CFF fonts.. yet another patch inspired by Tom !! Aaaaa :-)
David Turner 9eeea990 2000-07-08T01:49:28 fixes from Tom related to 64-bitness and strange compiler behaviour on DEC Unix also preliminary support for CEF fonts. I can see the glyphs in "ftview" but need to complete the Unicode charmap support..
David Turner 52b430ab 2000-07-08T01:18:38 fixed a rather stupid bug in the last patch (one of those with dire consequences..)
David Turner 1ca6f2d1 2000-07-08T00:49:43 minor update
David Turner 9a5ec98a 2000-07-08T00:48:42 removed "BUILD"
David Turner dbeb64e3 2000-07-08T00:46:52 removed the "config" directory, now replaced by "builds"
David Turner a90663f5 2000-07-08T00:41:13 vast clean-up of the sources in order to allow flat directory compilation (by defining the FT_FLAT_COMPILE macro at compile time..) moved "freetype2/BUILD" to "freetype2/docs/BUILD"
David Turner 74043010 2000-07-08T00:22:20 renaming "freetype2/config" to "freetype2/builds"
David Turner 62952153 2000-07-07T20:14:22 removed a compiler warning..
David Turner 9b3d1c75 2000-07-07T19:47:34 - fixed a leak in the Type 1 driver - updated the CFF driver to support flex opcodes
David Turner 60735896 2000-07-07T19:46:30 removed obsolete files..
David Turner ab9cc277 2000-07-07T19:46:01 added Windows FNT/FON font driver
David Turner 43a2f656 2000-07-05T18:23:38 fixed a few bugs, cleaned up some code
Werner Lemberg bd5ae400 2000-07-05T04:32:02 Run g++ on the FreeType library. This should make the use of code in C++ programs easier: Renamed FT_WordXX to FT_UIntXX. Changed a lot of void* to FT_Byte* if related to i/o streams -- FreeType always accesses streams byte-wise, so this makes sense IMHO. Added a lot of #ifdef __cplusplus to header files (and removed a few). Other minor syntax fixes (mostly casts). Replaced the variable `private' with `private_dict' -- `private' is reserved in C++.
David Turner c6157665 2000-07-04T18:15:22 stupid changed due to Visual C++ brain dead behaviour the "vector" parameter of FT_Vector_Transform was changed to "vec"..
David Turner c6a92202 2000-07-04T18:12:13 various clean-ups: - using FT_UNUSED instead of UNUSED - using FT_LONG64 and FT_INT64 instead of LONG64 & INT64 - using FT_SIZEOF_INT & FT_SIZEOF_LONG instead of... - removed the #ifdefs that used SIZEOF_INT, instead we now use FT_Int32 and FT_UInt32 when needed to support 32-bits quantity correctly on 64-bits systems..
Werner Lemberg aa8c7da0 2000-07-04T03:37:18 Don't use -lefence in the demo Makefile. Added C++ guards in ftmodule.h Fix error check in ftglyph.c Formatting; adding copyrights; fixing documentation
Werner Lemberg d0c36e3b 2000-07-03T16:45:15 Formatting; fixing documentation.
David Turner d18388e4 2000-07-03T15:00:49 fixed a few 64-bit related bugs in "sfnt/ttload.c" and "base/ftstream.c" Note that "TT_PCLT" was incorrectly defined in <freetype/tttables.h>
Werner Lemberg 768c9561 2000-07-03T07:09:09 Formatting. Fixing some tracing messages.
Werner Lemberg 5811c7c3 2000-07-02T13:53:16 Formatting. Fixed some errors which prevented compiling.
David Turner db5285a0 2000-07-02T01:27:32 added missing file
Werner Lemberg fbeb41d9 2000-07-02T00:27:53 Formatting. Adding copyright notices. Removing an unnecessary file (smooth.h).
David Turner e0bba322 2000-07-01T19:33:40 fixed the PSNames -> Unicode translation table the Python script "glnames.py" was buggy and lacked quite a few values in the "names_to_unicode" table !!
Werner Lemberg 798e70e4 2000-07-01T14:09:27 Removing.
Werner Lemberg 11735fe3 2000-07-01T14:08:31 A small fix from Tom.
Werner Lemberg a8bbc267 2000-07-01T14:06:46 Formatting as usual... Adding trivial argument checking to some functions. Added dynamic driver interface to cidriver. Minor `version' fixes for macfont and psnames modules. Removed unnecessary files
David Turner c06aba28 2000-06-30T23:38:23 updated the CHANGES file, plus a few fix in "ftstring" to display monochrome glyphs too
David Turner f9ca2bb5 2000-06-30T23:12:55 managed to re-design entirely the API in <freetype/ftglyph.h> It is now really the "glyph factory" that Stefan was probably dreaming about.. fixed some recent formatting errors from Werner ;-) cleaned up the demonstration programs from most of the rust that they had, though I'm sure someone is going to re-format them really soon !! "ftstring" now uses the new ftglyph.h API, and is now faster and smaller.. yep..
Werner Lemberg ac39ecdc 2000-06-30T22:24:36 Formatting... Fixing incorrect scaling of vertical advance width.
Werner Lemberg cc9fc49c 2000-06-30T06:21:26 Formatting... Applying some fixes from Tom.
David Turner 5ae831c1 2000-06-30T01:31:22 changes used to implement the auto-hinting support
David Turner 203bb47c 2000-06-29T22:34:50 first updates to the tutorial. This is step 1 (fairly basic stuff)
David Turner 32b85e67 2000-06-29T21:48:58 various bug fixes in the postscript font drivers (mainly they added one un-necessary point to each contour..)
David Turner cc809bcb 2000-06-29T07:59:40 fixed an ugly bug that caused some unaligned access on 64-bits platforms.. Thnks a lot to Tom !!
David Turner 60402683 2000-06-29T06:19:07 small fix in the definition of the convenience functions
Werner Lemberg deb4e983 2000-06-29T03:14:25 Formatting... Preprocessor lines now always start the line. Improved error handling in `base' module. Fixed a out-of-bounds error in ttgload.
David Turner 63e3c3b5 2000-06-29T00:39:30 some real updates to the tutorial, more to come soon
David Turner 98258619 2000-06-28T20:43:07 debugged the CFF driver. The "advance width" problem was strictly unrelated to our previous worries, it was a really simple bug in t2gload.c !!
David Turner 075cdf12 2000-06-28T05:35:58 fixed a _nasty_ bug in the CFF driver. Note that there are still escapement problems though..
David Turner 98c2fde0 2000-06-28T04:31:24 removed obsolete files... :-(
David Turner 81bb4ad9 2000-06-28T04:19:49 latest clean-ups.. The code compiles with NO WARNINGS with GCC and Visual C++ (also with LCC minus debugging options)
David Turner 9d636b6d 2000-06-27T23:32:27 various cleanups to reduce compiler warnings + support for CID-keyed fonts in the CFF driver (still some unexpected bugs though..)
David Turner 74abee8e 2000-06-27T23:31:53 various cleanups to reduce compiler warnings
David Turner 7ed5a057 2000-06-27T23:23:22 small bugfix
David Turner 385bedb8 2000-06-27T23:22:49 formatting
David Turner 728da1c8 2000-06-27T23:21:51 changed file names and some functions names to avoid conflicts with the "type1" driver.
David Turner a1be2dce 2000-06-27T23:20:35 cleaned up source code to avoid function name conflicts with Type 1 driver(s)
David Turner 5ae1bad3 2000-06-27T23:18:39 added new renderer module
Werner Lemberg 314bf4a1 2000-06-27T20:54:06 fix typo in w32-vcc.mk allow direct setting of X11_PATH for unusual X11 paths.
Werner Lemberg b3880dde 2000-06-27T05:58:22 fixing __cplusplus block end.
Werner Lemberg d7a04683 2000-06-25T23:02:11 More formatting. About previous commitment: Added latest versions of (still unused) config.guess and config.sub files.
Werner Lemberg dcd2e14c 2000-06-25T07:43:15 forgotten fixes.
Werner Lemberg a929ba9b 2000-06-25T06:47:11 applying formatting again
David Turner 994d7747 2000-06-25T04:49:19 various hacks to the TrueType driver that I cannot explain now, but they'll be very useful in the near future :-)
David Turner 2a98b3c4 2000-06-23T13:47:55 reduced some nasty memory leaks
David Turner 90f68b72 2000-06-23T12:26:14 still more updates to the TrueType driver to make it more "extensible"..
David Turner b51a58fa 2000-06-23T11:36:51 added a few missing commits !!
David Turner 873a9543 2000-06-23T08:36:07 fix
David Turner c3128615 2000-06-23T05:02:13 bugfixes in the Type1 drivers
Pavel Kaňkovský 5b58f5e3 2000-06-23T04:19:36 fixed *top++ bug present in type1/t1gload.c as well
Pavel Kaňkovský 7802d466 2000-06-23T04:18:55 *top++-bug was not a compiler bug, therefore the comment about the affected compiler was misleading and has been removed
David Turner d0079e66 2000-06-23T00:07:06 improved the Type1 drivers to deal with the case where the lenIV field is set to -1 to indicate unencoded charstrings fixed some source code to prevent a compiler bug on IRIX fixed the module version's in the "type1z" driver
David Turner 910c597d 2000-06-22T00:31:01 updated for new design
David Turner aa4c28f9 2000-06-22T00:27:15 added new files
David Turner 53078ee7 2000-06-22T00:26:54 removed obsolete headers, added new ones
David Turner 20629743 2000-06-22T00:26:21 small bugfix
David Turner e82a82af 2000-06-22T00:26:11 small bugfix in the "seac" code
David Turner f0df85ba 2000-06-22T00:17:42 - MAJOR INTERNAL REDESIGN: A lot of internal modifications have been performed lately on the source in order to provide the following enhancements: - more generic module support: The FT_Module type is now defined to represent a handle to a given module. The file <freetype/ftmodule.h> contains the FT_Module_Class definition, as well as the module-loading public API The FT_Driver type is still defined, and still represents a pointer to a font driver. Note that FT_Add_Driver is replaced by FT_Add_Module, FT_Get_Driver by FT_Get_Module, etc.. - support for generic glyph image types: The FT_Renderer type is a pointer to a module used to perform various operations on glyph image. Each renderer is capable of handling images in a single format (e.g. ft_glyph_format_outline). Its functions are used to: - transform an glyph image - render a glyph image into a bitmap - return the control box (dimensions) of a given glyph image The scan converters "ftraster.c" and "ftgrays.c" have been moved to the new directory "src/renderer", and are used to provide two default renderer modules. One corresponds to the "standard" scan-converter, the other to the "smooth" one. The current renderer can be set through the new function FT_Set_Renderer. The old raster-related function FT_Set_Raster, FT_Get_Raster and FT_Set_Raster_Mode have now disappeared, in favor of the new: FT_Get_Renderer FT_Set_Renderer see the file <freetype/ftrender.h> for more details.. These changes were necessary to properly support different scalable formats in the future, like bi-color glyphs, etc.. - glyph loader object: A new internal object, called a 'glyph loader' has been introduced in the base layer. It is used by all scalable format font drivers to load glyphs and composites. This object has been created to reduce the code size of each driver, as each one of them basically re-implemented its functionality. See <freetype/internal/ftobjs.h> and the FT_GlyphLoader type for more information.. - FT_GlyphSlot had new fields: In order to support extended features (see below), the FT_GlyphSlot structure has a few new fields: linearHoriAdvance: this field gives the linearly scaled (i.e. scaled but unhinted) advance width for the glyph, expressed as a 16.16 fixed pixel value. This is useful to perform WYSIWYG text. linearVertAdvance: this field gives the linearly scaled advance height for the glyph (relevant in vertical glyph layouts only). This is useful to perform WYSIWYG text. Note that the two above field replace the removed "metrics2" field in the glyph slot. advance: this field is a vector that gives the transformed advance for the glyph. By default, it corresponds to the advance width, unless FT_LOAD_VERTICAL_LAYOUT was specified when calling FT_Load_Glyph or FT_Load_Char bitmap_left: this field gives the distance in integer pixels from the current pen position to the left-most pixel of a glyph image WHEN IT IS A BITMAP. It is only valid when the "format" field is set to "ft_glyph_format_bitmap", for example, after calling the new function FT_Render_Glyph. bitmap_top: this field gives the distance in integer pixels from the current pen position (located on the baseline) to the top-most pixel of the glyph image WHEN IT IS A BITMAP. Positive values correspond to upwards Y. loader: this is a new private field for the glyph slot. Client applications should not touch it.. - support for transforms and direct rendering in FT_Load_Glyph: Most of the functionality found in <freetype/ftglyph.h> has been moved to the core library. Hence, the following: - a transform can be specified for a face through FT_Set_Transform. this transform is applied by FT_Load_Glyph to scalable glyph images (i.e. NOT TO BITMAPS) before the function returns, unless the bit flag FT_LOAD_IGNORE_TRANSFORM was set in the load flags.. - once a glyph image has been loaded, it can be directly converted to a bitmap by using the new FT_Render_Glyph function. Note that this function takes the glyph image from the glyph slot, and converts it to a bitmap whose properties are returned in "face.glyph.bitmap", "face.glyph.bitmap_left" and "face.glyph.bitmap_top". The original native image might be lost after the conversion. - when using the new bit flag FT_LOAD_RENDER, the FT_Load_Glyph and FT_Load_Char functions will call FT_Render_Glyph automatically when needed.