Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 4e4a4363 | 2000-10-28 13:17:11 | - completed the abstract chunk cache class - started implementin a "small-bitmaps" cache derived from it - (soon a "metrics" cache will be written too) | ||
| 9b8f5c4c | 2000-10-28 07:26:59 | small updates: - reworked slightly the cache manager to better differentiate between the abstract class in "ftcglyph.h" and the FT_Glyph sub-class in "ftcimage.h", and slightly reduced the size of FTC_GlyphNodeRec, saving 8 bytes on a 32-bit system. Yes, I'm crazy ;-) - added build files to compile with LCC on Unix too (compile speeds _are_ insane with it). There is unfortunately a bug in the version I'm using (LCC 4.1) that prevents it to compile FT_MulTo64 correctly (in src/base/ftcalc.c) the generated assembly is incorrect, I don't know what to do ?? the build files are ok, though.. you should invoke "make setup lcc" to select them.. | ||
| ddbb8e7b | 2000-10-26 10:04:16 | Some formatting. Fixed some data types/added header files to remove compiler warnings. Added trivial input data check to FT_Outline_Get_BBox(). Fixed type1z -> type1 file inclusions. | ||
| 54169b35 | 2000-10-26 00:06:35 | - reviving the "ftbbox" component, used to compute exact bounding box computations - minor update to docmaker.py, more is coming | ||
| 6a425338 | 2000-10-24 05:44:59 | fixes for fixes :-) formatting; compiles now without warnings on my Linux box | ||
| dc26e7b7 | 2000-10-23 22:46:56 | - minor reformatting of "ftmodule.h" - added missing "const" statements in the source code in order to really get rid of writable static variables | ||
| 8aed8529 | 2000-10-23 18:33:30 | - reformatting and tiny doc update | ||
| 3c7c5da3 | 2000-10-19 15:56:22 | added development header files to CONFIG_H in the makefiles increased T1_MAX_CHARSTRINGS_OPERANDS (again) to 256 -- one glyph of the Chinese MingTiEG-Medium needs it that large | ||
| 47a5f41d | 2000-10-17 03:38:43 | Added copyright messages to all Makefiles. Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch]) minor other doc fixes | ||
| 0bf381f7 | 2000-10-15 21:59:58 | Make ftsynth.c work again. Renamed FT_*_Outline to FT_Outline_* | ||
| e73d9957 | 2000-10-14 05:18:59 | Enabled TT interpreter in development version of ftoption.h | ||
| e67e349a | 2000-10-13 21:00:36 | More fixes to the tutorial. Added artificial Type 1 pid/eid paors to ttnameid.h. | ||
| eddd9909 | 2000-10-12 05:05:40 | formatting small fixes | ||
| 3c95d31e | 2000-10-12 01:29:14 | formatting | ||
| f559a48e | 2000-10-12 01:22:29 | formatting | ||
| a7096374 | 2000-10-11 23:31:12 | Added new `ft_glyph_bbox_unscaled' enum; fixing documentation of FT_Glyph_Get_CBox(). ftnames.c has been omitted from the Makefile. | ||
| 4b92cf80 | 2000-10-10 03:58:32 | provide `export "C"' guard only for default fterror handling. | ||
| c118a32d | 2000-10-07 15:51:50 | fix documentation | ||
| 6fbe4db6 | 2000-10-05 04:53:31 | minor formatting issues | ||
| a0be99f1 | 2000-10-03 18:02:02 | changing the linkage type of FT_New_GlyphSlot and FT_Done_GlyphSlot to BASE_DEF instead of FT_EXPORT_DEF | ||
| 8bb45ec8 | 2000-09-29 06:41:56 | Fixing comment in unixddef.mk which caused a trailing blank. Adding a new error, FT_Err_Invalid_Pixel_Size (used in winfnt.c) Fixing FT_Read_Fields() which failed for ft_frame_{bytes,skip}. This bug disabled the Winfont driver. Minor formatting issues. | ||
| 42022c8c | 2000-09-27 01:01:10 | fixed a bug in the Type 1 and CID font drivers: the value of the descent returned was positive, instead of being negative.. | ||
| f50c2954 | 2000-09-22 06:52:20 | Fixed typo in ftimage.h Fixed sbit on/off flag in cache code. | ||
| 08a91fd0 | 2000-09-19 02:08:09 | final touches. Cache seems working after all, though the default cache size of 300 Kb is certainly too high for now :-) Need to implement abstract chunk cache and bitmap chunck cache | ||
| 58e93215 | 2000-09-19 01:10:25 | removed obsolete file (ftcimage.h) updated header files | ||
| 9b11b9e3 | 2000-09-15 22:50:59 | adding updated cache header files | ||
| 046f7a0c | 2000-09-15 22:42:06 | major revamp of the build system | ||
| f9b03750 | 2000-09-11 22:50:13 | small formatting issues. | ||
| a8194a97 | 2000-09-02 00:20:42 | - added a new function called FT_SqrtFixed to compute the 16.16 square root of a 16.16 number (this could come handy in a later version of the auto-hinter) - small fixes to the smooth renderer. It used to use way too much line segments when drawing beziers !! | ||
| 155a575a | 2000-09-01 05:35:49 | Small improvement. | ||
| 79096739 | 2000-08-30 21:40:45 | - the file "ftlist.h" was moved from <freetype/internal/..> to <freetype/...> - bugfix for the cache sub-system.. | ||
| 4e9dae68 | 2000-08-29 16:50:01 | Introducing new macro LOCA_VAR to solve some problems with structures containing function pointers. FT will now compile again with C++. | ||
| 80b96f35 | 2000-08-29 16:04:28 | fixed some bugs in the caching sub-system and improved its API to enable many kinds of glyph images.. (note that the "ftview" program has been changed to use the caching sub-system, "ftmulti" and "ftstring" should come soon). | ||
| dc7f9c8d | 2000-08-27 07:12:40 | Formatting. docmaker.py will now run with older Python versions also. Small fix. | ||
| 95853c87 | 2000-08-26 22:16:44 | Introducing new error code FT_Err_Invalid_Cache_Handle. Regrouping of error codes. | ||
| d1b7475b | 2000-08-24 16:29:15 | Formatting, small fixes. Adding basic input parameter checking for exported functions. | ||
| 98d2701c | 2000-08-24 11:53:35 | changed the FTC_Manager_New function to accept "max_faces" and "max_sizes" parameters fixed some bugs. the cache manager is now tested and validated (now, it's time for the glyph image cache) | ||
| 34f1c2f5 | 2000-08-23 22:47:44 | finally, the CID and Type1z driver are finished !! Werner, please have a look at the code and start re-formatting it :-) | ||
| 3b2c50eb | 2000-08-23 21:11:13 | completing the FreeType Cache subsystem files | ||
| 8728f294 | 2000-08-23 17:32:42 | Formatting, small fixes. Adding copyright notices etc. | ||
| a39acf55 | 2000-08-23 02:47:57 | updated "psaux" and "type1z". The Type 1 driver now completely relies on "psaux". I now need to change the CID driver accordingly, then finally move the Type 2 parsing routines to "psaux" when appropriate.. | ||
| d8b4514d | 2000-08-22 22:53:03 | added preliminary emboldening code.. still _very_ experimental | ||
| 38cb5af0 | 2000-08-22 22:51:57 | changed the "devel" setup targets to use "builds/<system>/devel" as the build directory. This is used to specify a specific "ftoption.h" that toggles all traces and logging on. Hence, the default build doesn't need the traces | ||
| 97488074 | 2000-08-22 22:36:33 | the psaux module is now nearly completed the "type1z" driver uses it to parse Type 1 charstrings (not to parse the Type 1 token stream yet though).. | ||
| f95a6031 | 2000-08-21 04:58:49 | minor updates to the "psaux" module. Werner, please do not start re-formatting my experimental code until I declare it "finished", because I still make big changes to it that create lots of CVS conflicts.. thanks for your work, anyway :-) | ||
| b1c8bf06 | 2000-08-17 07:18:04 | Minor formatting. Adding copyright/C++ guards to psaux files. | ||
| 24d7024c | 2000-08-17 01:09:06 | added draft "psaux" code the t1 driver now reads the complete font matrix and applies it (some fonts do not work properly without hinting though...) | ||
| 29a90e26 | 2000-08-03 00:03:08 | Updating unix/ftconfig.in to recent config/ftconfig.h changes. More C++ fixes: Introducing LOCAL_FUNC_X for local functions used in function pointers (there are no local anonymous functions in C++) and FT_CPLUSPLUS (instead of FT_EXPORT_VAR) to define linkage of structures which contain function pointers. | ||
| 3a89c2a4 | 2000-08-01 17:05:20 | Removing FT_MAKE_OPTION_SINGLE_LIBRARY_OBJECT. It has never worked. Instead, define BASE_DEF() and BASE_FUNC() similarly to FT_EXPORT_DEF() and FT_EXPORT_FUNC(), respectively, allowing the programmer to define proper types and/or export lists for multiple DLLs if necessary (e.g. ftbase.dll -- standalone, fttype1.dll -- needs ftbase.dll, etc.). The library is finally compiling and linking natively with a C++ compiler! | ||
| c713d924 | 2000-08-01 13:17:04 | Added #ifdef's for C++ to all header files. | ||
| b8431ed7 | 2000-08-01 01:34:18 | Use the ANSI offsetof() macro instead of something home-brewn. | ||
| e72c9fec | 2000-07-31 18:59:02 | Simplifying the FIELD_* and FRAME_* macros. Before calling these macros, you should #define FT_STRUCTURE to the structure which will be filled. Replaced FT_FIELD_REF with FT_FIELD_SIZE, FT_FIELD_SIZE_DELTA, and FT_FIELD_OFFSET to make the code more readable; additionally, it should be more portable because we no longer cast a pointer to an FT_UShort (which e.g. fails with Sun's C++ compiler) but computes the difference between two pointers which is guaranteed to work. Fixing warnings (and C++ errors) while using Sun's latest cc and CC incarnations. Most of them are related to variable shadowing. | ||
| e973e66a | 2000-07-28 01:08:32 | Header for one Mac-specific additional API call. | ||
| 58b17f96 | 2000-07-27 23:29:08 | Formatting. | ||
| c5cdf8bc | 2000-07-27 21:40:22 | re-adding a "unix-dev.mk". Debugging libtool output is just too much of a pain for me, I prefer a good old static lib without optimizations :-) "make devel" is back on Unix then.. | ||
| 796f9de2 | 2000-07-26 22:51:03 | Updating to libtool 1.3.5. | ||
| bc80b12b | 2000-07-26 22:29:22 | small compilation fix on 64-bits machines.. | ||
| 5fe4c00e | 2000-07-26 19:04:08 | - fixed the incorrect SO extension for Visual C++ - disabled the TrueType interpreter by default - disabled the "type1" driver, "type1z" is now used by default (the internal driver name is "type1" now !!) | ||
| 04563546 | 2000-07-24 06:01:34 | `make install' is available now. Formatting. | ||
| 9cb8fb18 | 2000-07-23 16:24:42 | removed duplicate macro (FT_MODULE_IS_DRIVER was defined twice) | ||
| d060a75b | 2000-07-20 06:57:41 | Formatting. Rudimentary support for autoconf (still using GNU make) Say `make unix'. | ||
| c49f69cb | 2000-07-20 03: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.. | ||
| 6930b45f | 2000-07-19 17: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.. | ||
| a4367e08 | 2000-07-19 16:17:55 | Formatting. Fixing documentation. Removing unused configuration macros. | ||
| e1bbc017 | 2000-07-19 06:25:56 | Formatting. Fixing documentation. | ||
| c8f9cf37 | 2000-07-19 02:59:31 | Formatting. | ||
| 0959a877 | 2000-07-18 06:50:03 | Formatting. | ||
| 5aa646c5 | 2000-07-14 06:16:47 | Formatting. Fixing a bug in FT_Get_Kerning(). Moving FT_Get_Module_Interface() to ftoutln.c. | ||
| 6cca5578 | 2000-07-12 05:52:59 | Formatting. | ||
| 862bcbb7 | 2000-07-11 06:50:03 | Fixed typo. | ||
| 2405d14f | 2000-07-11 06:12:20 | Formatting/Synchronizing. Updating OS/2 bits in ttnameid.h to latest version (as posted on the opentype@ list). | ||
| e161ee44 | 2000-07-10 22: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.. | ||
| 93ac3e39 | 2000-07-10 21:41:32 | Formatting. Synchronizing docs. | ||
| 670caab8 | 2000-07-10 14:24:26 | Formatting. | ||
| b390a124 | 2000-07-10 00:13:39 | removed some stupid #defines in <freetype/config/ftconfig.h> | ||
| 97b2de58 | 2000-07-10 00:06:22 | More formatting. Synchronizing docu in include/freetype with src/base. | ||
| b48a6094 | 2000-07-09 19: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. | ||
| 415cc7c9 | 2000-07-08 22:52:21 | Formatting. Adding proper trace level. | ||
| 7fa51b55 | 2000-07-08 19:51:42 | Formatting. Adding some trivial error checking. Adding/Fixing tracing levels. | ||
| 9b3d1c75 | 2000-07-07 19:47:34 | - fixed a leak in the Type 1 driver - updated the CFF driver to support flex opcodes | ||
| bd5ae400 | 2000-07-05 04: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++. | ||
| c6157665 | 2000-07-04 18:15:22 | stupid changed due to Visual C++ brain dead behaviour the "vector" parameter of FT_Vector_Transform was changed to "vec".. | ||
| c6a92202 | 2000-07-04 18: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.. | ||
| aa8c7da0 | 2000-07-04 03: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 | ||
| d18388e4 | 2000-07-03 15: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> | ||
| 5811c7c3 | 2000-07-02 13:53:16 | Formatting. Fixed some errors which prevented compiling. | ||
| db5285a0 | 2000-07-02 01:27:32 | added missing file | ||
| e0bba322 | 2000-07-01 19: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 !! | ||
| c06aba28 | 2000-06-30 23:38:23 | updated the CHANGES file, plus a few fix in "ftstring" to display monochrome glyphs too | ||
| f9ca2bb5 | 2000-06-30 23: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.. | ||
| 5ae831c1 | 2000-06-30 01:31:22 | changes used to implement the auto-hinting support | ||
| deb4e983 | 2000-06-29 03:14:25 | Formatting... Preprocessor lines now always start the line. Improved error handling in `base' module. Fixed a out-of-bounds error in ttgload. | ||
| 81bb4ad9 | 2000-06-28 04:19:49 | latest clean-ups.. The code compiles with NO WARNINGS with GCC and Visual C++ (also with LCC minus debugging options) | ||
| 9d636b6d | 2000-06-27 23:32:27 | various cleanups to reduce compiler warnings + support for CID-keyed fonts in the CFF driver (still some unexpected bugs though..) | ||
| b3880dde | 2000-06-27 05:58:22 | fixing __cplusplus block end. | ||
| 994d7747 | 2000-06-25 04:49:19 | various hacks to the TrueType driver that I cannot explain now, but they'll be very useful in the near future :-) | ||
| 90f68b72 | 2000-06-23 12:26:14 | still more updates to the TrueType driver to make it more "extensible".. | ||
| b51a58fa | 2000-06-23 11:36:51 | added a few missing commits !! | ||
| 53078ee7 | 2000-06-22 00:26:54 | removed obsolete headers, added new ones | ||
| f0df85ba | 2000-06-22 00: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. |