compiler warnings with GCC + "-ansi -pedantic -Wall -W"
and LCC.
Also fixed the compilation of "type1z" with Win32-LCC
(its pre-processor is broken !!)
Updated the BUILD document too
taken from the correct location)
plus a small update in the tutorial to reflect the fact that
we know use the "freetype" directory prefix for header
inclusion
correctly for now and will be updated later. They are currently ignored by the
build system.
You can however run `autoconf' when in "freetype2/config/unix" to generate
the `configure' script there.
Then, launch `configure' while in "config/unix". This will generate the
following files:
- ftconfig.h
- unix.mk
- libtool
copy "unix.mk" to "freetype2/config.mk", then run make from the top-level
directory.
Note that for now, these file compile the library (with libtool). However,
installing isn't supported yet, as well as compiling the demo programs..
- there is now a "convenience" API to manage glyphs in
"include/ftglyph.h". See the demo program "ftstring" for
an example..
- the raster interface has been changed in order to allow
direct composition through user-provided callbacks. This
has been tested but isn't demonstrated for now in "demos"
- the FT_LOAD_NO_RECURSE flag is supported, as this is
required by some new code in the auto-hinting engine
- some bug fixed in FT_MulFix which made FT_xxx_Transform
return incorrect results..
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).
- 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"
`config/<platform>/ftmodule.h' which contains the list of available
font drivers.
The list can be re-generated with "make modules" from the top directory