config


Log

Author Commit Date CI Message
David Turner 873a9543 2000-06-23T08:36:07 fix
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.
Werner Lemberg e35cac66 2000-06-11T03:46:57 A complete revision of FreeType 2's GNU makefiles (of the library): Tons of unnecessary stuff have been removed; only the essential rules have been retained. The source files now depend on all header files in include/freetype, include/freetype/config, and include/freetype/internal. This is not optimal, I know, and I'll try to improve this, but it is better than before (namely no dependencies on `internal'). FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know exactly whether this is really useful, but it doesn't harm. There is now more documentation in the makefiles itself. io-frames.html: Use of <th>, <code>, and <var> for better tagging. Reactivating of FT_DEBUG_LEVEL_xxx macros. Added a lot of #include directives to make `multi' builds possible -- note that currently the modules cid, t1, and t1z have clashing structures and functions which means that you can only use one of these three modules for a multi build. Added some missing function declarations to (local) header files. Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot of other functions should be renamed also... Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished yet... Fixed FT_Free() to allow a NULL pointer without an assertion (this has always been a valid assumption in FreeType, at least in FT 1.x). A lot of other, minor fixes (mostly documentation).
Werner Lemberg 9a754ce3 2000-06-02T21:31:32 Formatting; adding some tracing code.
David Turner c30aea98 2000-05-12T15:01:18 another massive changes in order to completely avoid compiler warnings with GCC + "-ansi -pedantic -Wall -W" and LCC. Also fixed the compilation of "type1z" with Win32-LCC (its pre-processor is broken !!) Updated the BUILD document too
David Turner 8c62a120 2000-05-11T19:06:03 another fix for the build system (the module list wasn't taken from the correct location) plus a small update in the tutorial to reflect the fact that we know use the "freetype" directory prefix for header inclusion
David Turner 787183ea 2000-05-11T18:47:02 re-added the "freetype.mk" that was mistakenly deleted
David Turner efce08d6 2000-05-11T18:23:52 major re-organisation of the FreeType 2 directory hierarchy
David Turner 06b73729 2000-05-02T11:04:18 added FT_CONFIG_OPTION_OLD_CALCS to ensure that the bytecode interpretation is exactly the same as in 1.4 this is needed to find a bug in the raster..
David Turner 65e823da 2000-04-25T16:36:31 raised TT_MAX_SUBGLYPHS to 96 to avoid problems with Asian fonts (with up to 80 contours !)
David Turner 231d0587 2000-04-14T10:29:00 raised the value of TT_MAX_SUBGLYPHS, as it prevented the correct loading of some glyphs in Mingli.ttf
David Turner 521e2bc8 2000-04-10T12:11:33 Added pre-liminary autoconf support files for Unix. Note that these don't work correctly for now and will be updated later. They are currently ignored by the build system. You can however run `autoconf' when in "freetype2/config/unix" to generate the `configure' script there. Then, launch `configure' while in "config/unix". This will generate the following files: - ftconfig.h - unix.mk - libtool copy "unix.mk" to "freetype2/config.mk", then run make from the top-level directory. Note that for now, these file compile the library (with libtool). However, installing isn't supported yet, as well as compiling the demo programs..
David Turner 37379e21 2000-03-28T11:22:31 major changes to the library: - there is now a "convenience" API to manage glyphs in "include/ftglyph.h". See the demo program "ftstring" for an example.. - the raster interface has been changed in order to allow direct composition through user-provided callbacks. This has been tested but isn't demonstrated for now in "demos" - the FT_LOAD_NO_RECURSE flag is supported, as this is required by some new code in the auto-hinting engine - some bug fixed in FT_MulFix which made FT_xxx_Transform return incorrect results..
Just van Rossum 05ef28c4 2000-03-17T11:48:25 Added mac FOND driver, and use t1z driver instead of the "old" t1 driver.
David Turner 3246efed 2000-03-13T12:12:46 first step towards moving all configuration options to the single "config/ftoption.h"
Werner Lemberg febe3fbe 2000-03-05T01:14:19 A first check of FT2's Make system. Many smaller and larger bugs have been fixed: . Removing unused variables. . detect.mk files now must provide $(CONFIG_FILE) and not $(CONFIG_RULE). . ansi.mk will now be really used as a fallback if the detect mechanism fails. . ANSIFLAGS will now be really used (fixing a typo). . `make clean' now works (again two typos). . Detection of gcc on Unix has been fixed (using the `-v' option instead of `--version'). . `make devel' now works (on Unix). . Fixing *again* a bug in demos/graph/x11/rules.mk to allow multiple use of `-L' compiler options. . $(BASE_H) now contains a few more header files. As usual, a lot of formatting (not finished yet).
Just van Rossum 7ba2c674 2000-03-02T01:42:48 readme file: needs copyright notice
Just van Rossum 2e8482b3 2000-03-02T01:28:18 Mac modules file. For now the same as the default, minus the t1z driver. First step in adding a Mac FOND driver...
Just van Rossum 926c81c8 2000-03-02T01:26:53 CodeWarrior Pro4 project file to build the FT library under MacOS
David Turner c75f71e0 2000-02-29T17:12:03 fix
David Turner 7bda46d0 2000-02-29T16:56:18 updated the build system to avoid file duplication : - All "common" ANSI files were moved to "freetype2/config" - The modules list is in "config" now (instead of config/<system>") - All system-specific configuration Makefiles have been renamed. E.g. "config/win32/Makefile.gcc" is now "config/win32/w32-gcc.mk" - Updated "config/freetype.mk" and "config/modules.mk"
David Turner 9ac7fa16 2000-02-28T11:32:17 small update in config files
David Turner 35eee3f3 2000-02-22T13:53:01 removed the reference to 'type1z' in order to allow compilation under OS/2
David Turner 4ea18e55 2000-02-17T10:25:24 added some configuration macros
David Turner 5194f8bf 2000-02-02T12:48:20 fixed a small bug that prevented the modules list to be properly erased on Win32 when invoking "make modules" from the top directory..
David Turner d00a8ce6 2000-01-18T09:52:08 some updates. The yesterday modifications prevented the demo programs from compiling under Unix. fixed..
Eric Olson 702b8d52 2000-01-17T19:44:07 Removed obsolete file in uppercase. FTOPTION.H has fallen behind the ftoption.h file. Its continued presence causes some problems with case insensitive systems. --Eric
David Turner 281f9f6a 2000-01-17T11:20:26 Important changes were performed to clean up the makefiles, these will be detailed later in a document (the work is not completely finished).
David Turner 62ccef75 2000-01-07T14:37:00 added Windows NT detection
David Turner f8bf6e2b 1999-12-29T00:19:37 Added the file `config/modules.mk' used to generate the file `config/<platform>/ftmodule.h' which contains the list of available font drivers. The list can be re-generated with "make modules" from the top directory
David Turner b4a98378 1999-12-21T14:08:00 fixed a bug in ftsystem that prevented the library from reading files
David Turner d2b1f357 1999-12-16T23:11:37 Initial revision