kc3-lang/freetype/include

Branch :


Log

Author Commit Date CI Message
389acc62 2001-01-01 17: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'.
6b766636 2000-12-30 22: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
fc1de559 2000-12-30 01:13:50 Changed the structures CFF_Encoding and CFF_Charset.
97550fc4 2000-12-30 01:13:07 Chnaged the structures CFF_Charset and CFF_Encoding.
859a18a3 2000-12-14 18:50:40 support for clipped direct rendering updated INSTALL file for Win32 case
63408a12 2000-12-13 23: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.
170c0d4c 2000-12-13 19: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..
d5c1b27d 2000-12-12 22: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.
4978d04e 2000-12-12 16:39:11 sigh,...
16a60e87 2000-12-12 16:29:46 next try
9fe338bf 2000-12-12 16:06:49 next try
d96cd73f 2000-12-12 15:33:01 next try
b052460a 2000-12-12 07:35:12 another try
6d5d719d 2000-12-12 06: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.
90d9964e 2000-12-09 00: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
cc069beb 2000-12-08 16:17:16 cleanups
19ed8afe 2000-12-08 02: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
33d02368 2000-12-06 16: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.
940d3064 2000-12-05 23:07:16 re-fixed FTC_Manager_Done :-)
d3c8e064 2000-12-04 22: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..
ac4cd951 2000-12-02 00:35:11 changes to allow compilation under Unix and Cygwin
4c80f0c9 2000-12-01 17: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).
8fba32d2 2000-11-30 23: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..
ada9503d 2000-11-29 17: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.
f1ca2344 2000-11-29 15: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).
bf8155a0 2000-11-29 15:17:44 new file
a82cd844 2000-11-10 22:43:37 Small fixes and formatting.
042584a9 2000-11-08 00:24:58 changed comments in the cache sub-system sources to indicate that it is now BETA code, instead of ALPHA
23a0670b 2000-11-08 00: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
8ec9dfd9 2000-11-07 23:56:02 Moving doc comments for BASE functions from source to header files.
90a03301 2000-11-07 17:21:11 All function comments are now removed from source files (and moved to the header files if necessary). Some minor fixes to have `make multi' run successfully (with gcc and g++). Fixing compiler warnings.
4b68007b 2000-11-07 06:30:29 Complementing David's changes with formatting, adding documentation, etc. More `*'-convention formatting, adding the `a' resp. `an' prefix to variables.
c6fa4aff 2000-11-07 02:59:11 removed deprecated reference to "SemTex"
856c5789 2000-11-07 02:44:04 removed incorrect comment
f96594fa 2000-11-06 23:07:51 integrated Yamano-Uchi changes to the base source code. However, I've made a few modifications: - there is no new field named "driver" in "FT_SizeRec" - the new fields in "TT_SizeRec" are: strike_index :: value 0xFFFF means "no sbit strike selected" strike_metrics :: the FT_Size_Metrics structure corresponding to the currently selected strike - the code in "ttload.c" has been somewhat cleaned up too thanks a lot, Y-U !! - David
25dee217 2000-11-06 19:29:06 some updates to the cache sub-system. some methods were moved from the concrete "FTC_Image_Cache" and "FTC_SBit_Cache" to the abstract "FTC_Glyph_Cache" and "FTC_Chunk_Cache", respectively.. note: this is not the end of changes to the cache sub-system
3a40847c 2000-11-06 04:33:56 Added/restored the `*' convention for output parameters. Some documentation fixes.
8c883fb5 2000-11-05 23:41:08 minor fixes. Add more gcc warnings for development on UNIX.
dc72aff4 2000-11-04 08:33:38 Finishing David's latest changes (there were some errors in it).
54e75749 2000-11-04 02:52:02 defining new types to hold "internal" fields of public objects: FT_Face_Internal, FT_Size_Internal, FT_Slot_Internal these contain some fields that may change between releases of FreeType, without affecting the size of FT_FaceRec, FT_SizeRec, FT_GlyphSlotRec, etc.., which means that drivers wouldn't need to be recompiled if we only add new fields to an internal structure.. I plan to hack a few things related to the auto-hinter and I need this move to ensure that we will not break binary compatibility between 2.0 and 2.1 :-) - David
76a5f623 2000-11-04 01:55:49 major reformatting of the sources: FT_EXPORT_DEF => FT_EXPORT FT_EXPORT_FUNC => FT_EXPORT_DEF BASE_DEF => FT_BASE BASE_FUNC => FT_BASE_DEF LOCAL_DEF => FT_LOCAL LOCAL_FUNC => FT_LOCAL_DEF LOCAL_FUNC_X => FT_CALLBACK_DEF LOCAL_DEF_X => FT_CALLBACK_TABLE FT_CPLUSPLUS => FT_CALLBACK_TABLE_DEF
ab855232 2000-10-31 22:13:54 Fixing include header for a `make multi' build. Finishing formatting of cache stuff. Fixed getDriverClass stuff -- added it to winfnt.c also. Note that this still has to be documented.
e4b32a5d 2000-10-31 20:42:18 Removing trailing whitespace.
dd33561e 2000-10-31 19:42:53 Formatting. Adding a .cvsignore file.
3dc4374f 2000-10-31 17:49:07 Formatting. Removed double src/cache/ftcimage.h. Replaced FTC_Image_Type with #defines since this contains bit flags and not enumerated values.
ece63798 2000-10-28 23:34:45 completed the sbit cache, though it's still buggy :-( major reformatting of the cache subsystem (again) added substantial documentation too in header files
b5084e11 2000-10-28 17:10:06 Renamed z1* files back to t1*; the same transition for Z1_* structures Removed obsolete raster1/* files.
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.