Commit Graph

2953 Commits

Author SHA1 Message Date
David Turner 291afa0992 added the new "smooth" anti-aliaser
(see the file "demos/src/ftgrays.c"),

and modified "ftview" and "fttimer" to use it..

Note that this thing is still under heavy beta..
2000-03-08 14:14:55 +00:00
David Turner e98e4af73c fixed a nasty bug that occured with CMAP format 4.. 2000-03-06 17:01:07 +00:00
David Turner 0f99ddda5f changed the structure of FT_Outline in order to pack
all outline flags in a single integer..

Changed the rest of the library and demo programs
accordingly..
2000-03-06 13:23:32 +00:00
David Turner 9d76a8d67a a few fixes to get rid of unwanted compile-time warnings 2000-03-06 09:51:19 +00:00
Just van Rossum 80f4b060e3 fixed typo in comment 2000-03-05 16:10:10 +00:00
Just van Rossum 1eabbcb453 properly behave in case the console window became active 2000-03-05 16:09:21 +00:00
Just van Rossum 7eef5364b8 - ft_new_input_stream: don't make a new copy of the pathname
- ft_done_stream: remove the FREE(pathname) call, which wasn't
  kosher
- FT_Open_Face: after calling open_face, don't assume driver is
  the same as face->driver, use face->driver instead
2000-03-05 16:07:58 +00:00
Just van Rossum 59d8ac4615 formatting: some tabs replaced by spaces 2000-03-05 15:59:09 +00:00
Werner Lemberg febe3fbeba A first check of FT2's Make system. Many smaller and larger bugs have been
fixed:

. Removing unused variables.

. detect.mk files now must provide $(CONFIG_FILE) and not $(CONFIG_RULE).

. ansi.mk will now be really used as a fallback if the detect mechanism
  fails.

. ANSIFLAGS will now be really used (fixing a typo).

. `make clean' now works (again two typos).

. Detection of gcc on Unix has been fixed (using the `-v' option instead of
  `--version').

. `make devel' now works (on Unix).

. Fixing *again* a bug in demos/graph/x11/rules.mk to allow multiple use
  of `-L' compiler options.

. $(BASE_H) now contains a few more header files.

As usual, a lot of formatting (not finished yet).
2000-03-05 01:14:19 +00:00
Just van Rossum 8c5c932e46 fixed typo in comment 2000-03-02 10:53:32 +00:00
Just van Rossum 1e5754f2d6 added missing "else": without it FT_Open_Face() would still scan the list of drivers when specifying an explicit driver 2000-03-02 10:52:57 +00:00
Just van Rossum 7ba2c674a6 readme file: needs copyright notice 2000-03-02 01:42:48 +00:00
Just van Rossum 858fd5f7f1 Mac demo support stuff. 2000-03-02 01:38:53 +00:00
Just van Rossum 2e8482b31d Mac modules file. For now the same as the default, minus the t1z driver. First step in adding a Mac FOND driver... 2000-03-02 01:28:18 +00:00
Just van Rossum 926c81c8ba CodeWarrior Pro4 project file to build the FT library under MacOS 2000-03-02 01:26:53 +00:00
Just van Rossum 829fbf194e Mac backend for the graphics subsystem. 2000-03-02 01:18:38 +00:00
Just van Rossum f21dac0209 Don't #include <memory.h> but #include <string.h> to avoid header clash under MacOS. I don't think this affects other platforms. 2000-03-02 01:17:50 +00:00
Just van Rossum c3b680942c MacOS: include grmac.h
(+ fixed typo in comment)
2000-03-02 01:16:33 +00:00
Just van Rossum 3d76a9fbbe added cast to the string literal for Text to shut up my compiler. (btw. this literal contains non 7-bit characters!)
if compiled for MacOS
- use the Mac path separator to get the base file name
- don't append .ttf if no dot in the file name
2000-03-02 01:15:37 +00:00
Just van Rossum 2a4f206f5f if compiled for MacOS
- use the Mac path separator to get the base file name
- don't append .ttf if no dot in the file name
(plus small typo fix and error message enhancement)
2000-03-02 01:11:17 +00:00
Just van Rossum 6f9a72d54e ft_basename(): if compiled for MacOS, use the Mac path separator 2000-03-02 01:09:28 +00:00
Just van Rossum d35aea7090 ft_new_input_stream(): set the pathname field of the stream to args->pathname. Needed for the Mac fond driver.
ft_done_stream(): free the pathname field, if not null
2000-03-02 01:07:50 +00:00
David Turner ca13392d83 a few changes to really compile font drivers in
independent single objects..
2000-03-01 13:24:38 +00:00
David Turner d275435a4f simple change to compile with the latest FT2 source
changes
2000-03-01 13:23:41 +00:00
David Turner e595014a64 simple minor fix in t1afm.h/t1afm.c 2000-02-29 17:14:02 +00:00
David Turner c75f71e049 fix 2000-02-29 17:12:03 +00:00
David Turner e755002ddc moved the ANSI "ftsystem.c" to src/base 2000-02-29 17:11:53 +00:00
David Turner 7bda46d094 updated the build system to avoid file duplication :
- All "common" ANSI files were moved to "freetype2/config"
- The modules list is in "config" now (instead of
  config/<system>")
- All system-specific configuration Makefiles have been
  renamed. E.g.  "config/win32/Makefile.gcc" is now
  "config/win32/w32-gcc.mk"
- Updated "config/freetype.mk" and "config/modules.mk"
2000-02-29 16:56:18 +00:00
David Turner 587bc78f86 the Win32 seems to be fixed and working now 2000-02-28 15:13:08 +00:00
David Turner 9c84887db3 remaining fixes from Just 2000-02-28 11:32:54 +00:00
David Turner 9ac7fa16ff small update in config files 2000-02-28 11:32:17 +00:00
David Turner 7b63d2ea1b fixed a bug that prevented the reading of AFM
files..
2000-02-28 11:25:01 +00:00
David Turner 7bb7fedef1 fixed a bug which appeared when loading
unscaled composite glyphs
2000-02-28 11:23:36 +00:00
David Turner 58c10b5a6b updated 2000-02-22 14:31:42 +00:00
David Turner 9e2943496c updated the license 2000-02-22 13:53:16 +00:00
David Turner 35eee3f307 removed the reference to 'type1z' in order to allow compilation under OS/2 2000-02-22 13:53:01 +00:00
David Turner 63cb46dd1a simple fixes 2000-02-22 13:34:26 +00:00
David Turner d60389be36 formatting 2000-02-21 17:46:24 +00:00
David Turner a1b60580a2 small fix, PageUp/PageDown now work
Alt-F4 doesn't work anymore (needs more
changes :-)
2000-02-21 17:45:15 +00:00
David Turner b2a21e5170 minor change, for benchmark comparison 2000-02-21 16:18:43 +00:00
David Turner fbff3e8fc7 added a memory checking test program, used to
solve the memory leak reported by Jack Davis
2000-02-21 16:18:25 +00:00
David Turner c64f644264 simple update to allow several rendering modes
(useful for testing the Unicode charmaps)
2000-02-21 16:18:01 +00:00
David Turner 1e7f843261 simple fix 2000-02-21 16:17:36 +00:00
David Turner 08fdac980a fixed a bug in the glyph loader that caused a memory
block to be freed twice. Also performed changes to use
the new glyph zone object that has appeared in ftobjs.h
2000-02-21 16:01:33 +00:00
David Turner cbfaedcefa added glyph zone objects 2000-02-21 16:00:36 +00:00
David Turner 4ea18e5573 added some configuration macros 2000-02-17 10:25:24 +00:00
Werner Lemberg 547a252af1 Formatting. Adding/Fixing documentation. 2000-02-16 08:23:58 +00:00
David Turner d16a4b8111 removed obsolete hinter source code 2000-02-15 12:56:44 +00:00
David Turner 95bec28220 updated version of the experimental Type 1 driver
(this thing now works even better than the "regular"
driver, but is much smaller).

Provides no hinter !!
2000-02-15 12:55:57 +00:00
David Turner 861ba624db small fix (reduce compiler warnings) 2000-02-15 12:54:51 +00:00