Commit Graph

476 Commits

Author SHA1 Message Date
Werner Lemberg 7ede0f4adf Forgot to run autoconf... 2000-08-02 00:20:04 +00:00
Just van Rossum e092162ac7 Fixed Z1_Parse_CharStrings() to work correctly with "open" paths (ie. missing closepath operator) 2000-08-01 23:37:25 +00:00
Just van Rossum 0c99641a25 fixed t1_tofixed() to handle floats of the form .001 and -.001 correctly. 2000-08-01 20:47:48 +00:00
Werner Lemberg 5845e519ab Fixed dec-osf compiler switches. From Tom. 2000-08-01 18:44:18 +00:00
Werner Lemberg 53c4de62d0 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!
2000-08-01 17:05:20 +00:00
Werner Lemberg a74e4c0dac Added #ifdef's for C++ to all header files. 2000-08-01 13:17:04 +00:00
Werner Lemberg 2366de2542 Added a `distclean' target to remove files which are produced by the UNIX
configure script (in case no config.mk has been created due to errors).
2000-08-01 08:43:44 +00:00
Just van Rossum 16b6bba241 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. 2000-08-01 07:12:31 +00:00
Just van Rossum 623160b690 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... 2000-08-01 04:29:25 +00:00
Werner Lemberg 9e2d89278f Use the ANSI offsetof() macro instead of something home-brewn. 2000-08-01 01:34:18 +00:00
Werner Lemberg 4ddddb4482 Added autoconf tests FT_MUNMAP_DECL and FT_MUNMAP_PARAM to fix some devils.
Updating unix/ftsystem.c accordingly.

More warning fixes.
2000-07-31 22:51:00 +00:00
Werner Lemberg ff0cedbb2f 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.
2000-07-31 18:59:02 +00:00
Werner Lemberg 1376fe7841 Fixing gcc warnings on Solaris. 2000-07-31 12:14:27 +00:00
Werner Lemberg af753548e0 Making path of $INSTALL always absolute. 2000-07-31 10:56:42 +00:00
Werner Lemberg 7b0f516268 Update to latest versions. 2000-07-30 20:21:22 +00:00
Werner Lemberg 6ae4765fb1 Applied a patch from Tom Kacvinsky (taken from the curren libtool CVS) to
make it libtool run on OSF.
2000-07-30 09:26:45 +00:00
Werner Lemberg c1e05db2bf Formatting. 2000-07-29 20:38:19 +00:00
Just van Rossum f421261d9c 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.
2000-07-28 03:13:31 +00:00
Just van Rossum e17f3e2125 Adapted to new external stream semantics. 2000-07-28 02:25:23 +00:00
David Turner 3a3c24a684 removed warning 2000-07-28 01:51:49 +00:00
Just van Rossum 327d330d23 Oops, I had exaggerated the warning levels a weensy bit... 2000-07-28 01:37:53 +00:00
Just van Rossum e882065d41 Updated to reflect the new Mac FOND support setup. 2000-07-28 01:14:09 +00:00
Just van Rossum 22658f8eb1 Obsolete; Mac FOND support now lives in src/base/ftmac.c. 2000-07-28 01:13:29 +00:00
Just van Rossum 657ed493c7 Put FT_New_Face() in an #ifndef macintosh switch; ftmac.c provides an extended implementation. 2000-07-28 01:12:34 +00:00
Just van Rossum f88305673f Removed Mac fond driver #ifdefs 2000-07-28 01:11:20 +00:00
Just van Rossum ccb7f762c1 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(). 2000-07-28 01:10:35 +00:00
Just van Rossum 6087a93044 Header for one Mac-specific additional API call. 2000-07-28 01:08:32 +00:00
Werner Lemberg d51e088127 Formatting. 2000-07-27 23:29:08 +00:00
David Turner ee2f62d50c update to changelog 2000-07-27 21:48:48 +00:00
David Turner c289782f0b 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..
2000-07-27 21:40:22 +00:00
Werner Lemberg e4fc656e0e *slight* formatting only. Congratulations, David! :-) 2000-07-27 16:57:35 +00:00
David Turner 661f1cdbd2 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..)
2000-07-27 15:59:08 +00:00
Werner Lemberg 4d8370c954 Adapting changes for Unix to other makefiles. 2000-07-27 11:32:13 +00:00
Werner Lemberg 6a6ad14838 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).
2000-07-27 11:20:20 +00:00
Werner Lemberg 3694a4001a Updating to libtool 1.3.5. 2000-07-26 22:51:03 +00:00
David Turner e7ac6c4c66 small compilation fix on 64-bits machines.. 2000-07-26 22:29:22 +00:00
Werner Lemberg 8283759559 Use `patsubst' instead of `subst' in cleaning rule to avoid problems with
filenames which contain `lo' in its name (e.g. ahglobal.lo).
2000-07-26 21:47:19 +00:00
Just van Rossum 554a350e7e now that "type1z" is renamed to "type1"; revert to hardcoding "type1".. 2000-07-26 20:31:18 +00:00
David Turner 0e48d9f96c small update 2000-07-26 19:13:51 +00:00
David Turner 1cc00d9863 updated documentation 2000-07-26 19:07:15 +00:00
David Turner 2db9bc11f6 - 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 !!)
2000-07-26 19:04:08 +00:00
Werner Lemberg 0840a9cc9f 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
2000-07-26 14:11:15 +00:00
Werner Lemberg b31d00fa9e formatting 2000-07-25 17:25:32 +00:00
Just van Rossum 0e32d0616b Use the "type1z" driver instead of the old one. 2000-07-25 16:40:23 +00:00
Just van Rossum 704bf63216 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. 2000-07-25 16:20:57 +00:00
David Turner b1aae9194c removed obsolete file 2000-07-24 18:40:28 +00:00
Werner Lemberg 4f27de131e *** empty log message *** 2000-07-24 06:03:58 +00:00
Werner Lemberg a16d7155ec Unused files. 2000-07-24 06:02:52 +00:00
Werner Lemberg 0456354658 `make install' is available now.
Formatting.
2000-07-24 06:01:34 +00:00
Werner Lemberg db578ae090 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.
2000-07-23 21:27:52 +00:00