src


Log

Author Commit Date CI Message
David Turner 42022c8c 2000-09-27T01: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..
Werner Lemberg 8925009f 2000-09-26T13:25:15 Adding missing code for flat compiling mode.
Werner Lemberg f50c2954 2000-09-22T06:52:20 Fixed typo in ftimage.h Fixed sbit on/off flag in cache code.
Werner Lemberg 50dd5858 2000-09-22T03:37:45 Applied a patch from Hidetoshi for embedded bitmap metrics support.
Werner Lemberg 1a2908bb 2000-09-21T14:10:23 Added support for (3,0) pid/eid.
David Turner 4e38576a 2000-09-19T19:44:42 fixed a bug that happened when rendering spaces in monochrome mode.. actually, when outline.num_points == 0, it is legal to have outline.points == 0 too. The code did return a FT_Err_Invalid_Outline error incorrectly then because the checks were not performed in the correct order
David Turner ebdce834 2000-09-19T01:11:11 updated the cache sub-system. Major internal rewrite please be aware that major bug persist..
David Turner b71c6af0 2000-09-17T17:17:16 fixed minor bug in the smooth renderer which forced the span callback to be called with y == -1 and count == 0
David Turner d38a4f65 2000-09-15T22:42:43 removed obsolete files
David Turner b8817177 2000-09-15T17:17:17 small bug-fix, the linearHoriBearing value was not loaded not computed correctly
David Turner c9ce9e4e 2000-09-15T17:16:49 small bug-fix
David Turner f2545e80 2000-09-15T03:37:16 fixed a very stupid bug that prevented FT_Outline_Render from working correctly..
Werner Lemberg f9b03750 2000-09-11T22:50:13 small formatting issues.
David Turner a8194a97 2000-09-02T00: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 !!
Werner Lemberg 21a27ee3 2000-09-01T14:36:39 Fixed a long outstanding bug with an incorrect offset for reading post tables.
David Turner 79096739 2000-08-30T21:40:45 - the file "ftlist.h" was moved from <freetype/internal/..> to <freetype/...> - bugfix for the cache sub-system..
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.