src


Log

Author Commit Date CI Message
Werner Lemberg 353dfeaf 2000-08-29T18:58:41 More warnings fixed.
Werner Lemberg 4a5c142a 2000-08-29T18:37:25 Minor fixes.
Werner Lemberg 4e9dae68 2000-08-29T16:50:01 Introducing new macro LOCA_VAR to solve some problems with structures containing function pointers. FT will now compile again with C++.
David Turner 80b96f35 2000-08-29T16: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).
David Turner e12e313a 2000-08-29T16:03:28 a small optimisation that should speed things a bit. I'm surprised I didn't do it before..
David Turner 5878a6d2 2000-08-29T16:03:01 a fix to the computation of the font "text height" (i.e. the baseline-to-baseline distance). Unfortunately, we cannot rely on the OS/2 fields, like sTypoAscender or usWinAscent to compute it. Rather, we only look at the horizontal header's content. In case the "line gap" is set to 0, we compute the text height as 115% of the ascender+descender value.. (this percentage is based on the values found in many Windows fonts).
Werner Lemberg 95853c87 2000-08-26T22:16:44 Introducing new error code FT_Err_Invalid_Cache_Handle. Regrouping of error codes.
Just van Rossum 9b4bb291 2000-08-25T20:00:58 #include <freetype/internal/ftdebug.h> /* for FT_ERROR() */
Werner Lemberg d1b7475b 2000-08-24T16:29:15 Formatting, small fixes. Adding basic input parameter checking for exported functions.
David Turner 35db7322 2000-08-24T12:39:40 - fixed an horrible FT_LOAD_RENDER bug that returned empty bitmaps !! - tested and fixed the image cache object. I'm performing a few more checks though, and we'll call the cache sub-system completed !!
David Turner 98d2701c 2000-08-24T11: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)
Just van Rossum 4a47f668 2000-08-24T00:43:08 fixed typo in FT_FLAT_COMPILE section
David Turner fcf5e686 2000-08-24T00:30:24 renamed "psmodule.c" to "psauxmod.c"
David Turner 888706a3 2000-08-23T22:50:39 removing obsolete files
David Turner b8a7a0bd 2000-08-23T22:48:50 removing obsolete files. These are moved to a new CVS module called "ftlayout"
David Turner 34f1c2f5 2000-08-23T22:47:44 finally, the CID and Type1z driver are finished !! Werner, please have a look at the code and start re-formatting it :-)
David Turner 3b2c50eb 2000-08-23T21:11:13 completing the FreeType Cache subsystem files
Werner Lemberg 8728f294 2000-08-23T17:32:42 Formatting, small fixes. Adding copyright notices etc.
David Turner b466a765 2000-08-23T11:22:30 The FreeType Caching Subsystem - first lines of code beware, this code is not tested, and probably doesn't compile correctly.. more information will follow..
David Turner a39acf55 2000-08-23T02: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..
David Turner d8b4514d 2000-08-22T22:53:03 added preliminary emboldening code.. still _very_ experimental
David Turner 97488074 2000-08-22T22: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)..
David Turner f95a6031 2000-08-21T04: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 :-)
David Turner c38ddff8 2000-08-21T04:43:01 fixed a _serious_ bug in FT_Glyph_Get_CBox
Werner Lemberg b1c8bf06 2000-08-17T07:18:04 Minor formatting. Adding copyright/C++ guards to psaux files.
David Turner 24d7024c 2000-08-17T01: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...)
David Turner 710354b8 2000-08-16T17:04:22 fixed the bug that prevented bitmap formats to be loaded correctly when the auto-hinter is used (symptom: "winfonts" driver didn't load bitmaps correctly).
Werner Lemberg 9a814fab 2000-08-06T19:48:47 Yamano-uchi added support for SFNT-wrapped CID bitmap font files (with minor modifications from WL).
Werner Lemberg 29a90e26 2000-08-03T00: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.
Just van Rossum 41743505 2000-08-02T02:44:25 Added little know adx offset to t1operator_seac() -- accent positioning now seems correct.
Just van Rossum 2fd491d5 2000-08-01T23:37:25 Fixed Z1_Parse_CharStrings() to work correctly with "open" paths (ie. missing closepath operator)
Just van Rossum dd81f422 2000-08-01T20:47:48 fixed t1_tofixed() to handle floats of the form .001 and -.001 correctly.
Werner Lemberg 3a89c2a4 2000-08-01T17: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!
Werner Lemberg c713d924 2000-08-01T13:17:04 Added #ifdef's for C++ to all header files.
Just van Rossum 80a330af 2000-08-01T07:12:31 fixed two bugs related to T2 real numbers: the "skipping" code didn't behave correctly (leaving a bad stack ptr), and the actual parsing code also parsed the code (30) as two nibbles.
Just van Rossum 7c64409e 2000-08-01T04:29:25 Some simple patches that allow synthetic fonts to be rendered. *However*: although the FontMatrix is read correctly, it does _not_ seem to be used! I don't understand this...
Werner Lemberg b1dd3535 2000-07-31T22:51:00 Added autoconf tests FT_MUNMAP_DECL and FT_MUNMAP_PARAM to fix some devils. Updating unix/ftsystem.c accordingly. More warning fixes.
Werner Lemberg e72c9fec 2000-07-31T18: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.
Werner Lemberg 35ca3426 2000-07-31T12:14:27 Fixing gcc warnings on Solaris.
Werner Lemberg 05c21b8f 2000-07-29T20:38:19 Formatting.
Just van Rossum e97cb912 2000-07-28T03:13:31 FT_Done_Stream(): do stream->close = 0 after calling stream->close(); this makes it safe to call FT_Done_Stream() more than once. David: please review this; I hope you agree with this minor change.
Just van Rossum 5fe94ff6 2000-07-28T02:25:23 Adapted to new external stream semantics.
David Turner 08d78b62 2000-07-28T01:51:49 removed warning
Just van Rossum 622f514c 2000-07-28T01:13:29 Obsolete; Mac FOND support now lives in src/base/ftmac.c.
Just van Rossum 9e830c5d 2000-07-28T01:12:34 Put FT_New_Face() in an #ifndef macintosh switch; ftmac.c provides an extended implementation.
Just van Rossum 6012037b 2000-07-28T01:11:20 Removed Mac fond driver #ifdefs
Just van Rossum ae4bceef 2000-07-28T01:10:35 Brand new Mac support -- no more muching with changing drivers and reinitializing streams, but a clean layer on top of FT_Open_Face(): an extended version of FT_New_Face().
Werner Lemberg 58b17f96 2000-07-27T23:29:08 Formatting.
David Turner c5cdf8bc 2000-07-27T21: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..
Werner Lemberg c703b1bf 2000-07-27T16:57:35 *slight* formatting only. Congratulations, David! :-)
David Turner 666b11d5 2000-07-27T15:59:08 small fix to the auto-hinter: the filling direction of each glyph is now re-computed on the fly, given that we cannot rely on the "flags" field of the source outline.. this fixes problems with many fonts, including the Arphic ones (not to say that CJK fonts are handled better for now though..)
Werner Lemberg 321cd27d 2000-07-27T11:20:20 Removing compiler warnings about unused portions of code. Now unix.in uses absolute paths also to overcome problems with libtool. To do that in a consistent way I had to modify the rules how to handle $OBJ_DIR (and consequently $LIB_DIR): You should set $OBJ_DIR explicitly on the command line (or environment).
Just van Rossum 1fd410bb 2000-07-26T20:31:18 now that "type1z" is renamed to "type1"; revert to hardcoding "type1"..
David Turner 5fe4c00e 2000-07-26T19: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 !!)
Werner Lemberg c3dd151b 2000-07-26T14:11:15 autohint: Formatting. Replacing many enums with #defines since we do arithmetics (especially ORing which would produce undefined enum values). The ideal thing instead of #defines is `const int' as provided in C++... Adding header files to rules.mk
Werner Lemberg d082cd68 2000-07-25T17:25:32 formatting
Just van Rossum 1f46fed3 2000-07-25T16:40:23 Use the "type1z" driver instead of the old one.
Just van Rossum 53fb1f54 2000-07-25T16:20:57 Changed parse_subrs() so that it'll work correctly both with wrongly sorted subr indices *and* non-contiguous subr arrays. Thanks to Tom K. for helping to isolate the problem.
Werner Lemberg 04563546 2000-07-24T06:01:34 `make install' is available now. Formatting.
Werner Lemberg db578ae0 2000-07-23T21:27:52 Adding $(SO) and $(SA), denoting objects and library for a static build. This is currently used for Unix only -- it should be extended that it is possible to build DLLs and static libs on other platforms also. Formatting.
Just van Rossum d1ab7f5a 2000-07-23T16:23:12 Hardcode loading the Mac FOND driver here, as config/ftmodule.h sometimes gets regenerated.
Just van Rossum 70e5aa23 2000-07-23T16:21:52 updating the Mac stuff to the current situaton
Werner Lemberg 81991cd2 2000-07-21T16:43:55 Fix file inclusion.
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 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 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 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 415cc7c9 2000-07-08T22:52:21 Formatting. Adding proper trace level.
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 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 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 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.