Commit graph

41 commits

Author SHA1 Message Date
wiz
6d6bf8d2bd If we depend on the package, depend on the latest version
after a library major bump.
2002-12-24 05:48:28 +00:00
wiz
896d3a455a Update to 2.1.3. Changes are too many to list here, for the most interesting
one see http://www.freetype.org/freetype2/2.1.3-explained.html .
2002-12-24 00:04:16 +00:00
jlam
903c7eec09 Create a dummy libtool archive if we use the built-in freetype2 library
from the XFree86 distribution.  This avoids problems with libtool finding
libfreetype.la if graphics/freetype2 is installed as well.  This addresses
PR 19496 by Bill Sommerfeld and reported independently by Steve Bellovin
on the netbsd-users mailing list.
2002-12-23 02:06:07 +00:00
heinz
622ba2a34e Makes awk expression work with XFree 4.1.0 (which has no FREETYPE_PATCH
in freetype.h).
2002-10-19 19:05:39 +00:00
jlam
26ef830f98 Unused. 2002-10-08 09:59:30 +00:00
jlam
368120b32f If we're using the built-in freetype2, then USE_X11 is implied. 2002-10-08 09:57:32 +00:00
jlam
424cd4584d Create an appropriate freetype2 package name for the built-in freetype2
distributed with XFree86 4.x.  This package name is used to check against
BUILDLINK_DEPENDS.freetype2 to see if we need to install the pkgsrc
freetype2 or if the built-in one is sufficient.
2002-10-08 09:32:33 +00:00
jlam
c0427e08c8 Don't prohibit building freetype2 even if it's distributed with XFree86 as
we may need to install a newer freetype2 to satisfy a package dependency.
2002-10-08 09:25:58 +00:00
jlam
f8791d0d40 Back out previous...we were actually just using the wrong *.in script;
we want the buildlink2 one.
2002-09-26 20:24:08 +00:00
wiz
fe8c5210e6 Fix replacement freetype2-config script on X3.3.6 machines. 2002-09-26 17:35:09 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
88aee464c5 Add some necessary REPLACE_BUILDLINK_SED and BUILDLINK_CONFIG_WRAPPER_SED
lines so that -Ixxx/include/freetype2 will properly translate into
-I${BUILDLINK_DIR}/include/freetype2.  This should fix problems with not
finding the freetype2 headers.
2002-08-06 06:48:10 +00:00
jlam
dc71fa7c4a Fix error in creation of the freetype-config wrapper script. Now, we
generate the wrapper if the original config scripts exists, otherwise we
create our own config script freom buildlink-freetype-config.in.
2002-07-30 02:15:42 +00:00
jlam
e54da451c1 Add new private variables _REQUIRE_BUILTIN_* that can be used to specify
that the headers/libraries must be part of the standard X11 distribution or
else they aren't symlinked into ${BUILDLINK_DIR}.  These are meant to be
used only by x11-links, and is to allow x11-links to contain all of the
parts of the standard X11 distribution.
2002-06-26 05:40:33 +00:00
wiz
2195382b12 Update mirror list. 2002-06-01 20:00:23 +00:00
wiz
a19f568af8 Update to 2.0.5, based on pkg/14771 by Rui-Xiang Guo.
Changes since 2.0.3 seem to be mostly bug fixes.
2001-12-30 14:13:26 +00:00
jlam
28dc06397c Create ECHO_BUILDLINK_MSG for printing buildlink diagnostics. It's just
set to '${ECHO_MSG} "=>"' for now.
2001-11-30 17:21:54 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV.  We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well.  Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
b5f27bc0db XFree86-installed freetype2 has a different location for the ft2build.h
header.
2001-07-14 15:56:28 +00:00
jlam
bcc6d60f7e Fix problem described in:
http://mail-index.netbsd.org/tech-pkg/2001/07/12/0000.html

where a XFree86 4.x installation includes FreeType2 headers and libraries
but not the freetype-config script.  The problem is fixed by creating a
freetype-config script for use within the buildlink framework.
2001-07-13 08:18:29 +00:00
jlam
ce1c571588 Copy the checks for built-in freetype2 and xpm into the buildlink.mk files
as they can't always use the logic in bsd.prefs.mk.
2001-07-02 14:16:54 +00:00
jlam
3d8f4bf4e7 Handle case where freetype2 is installed as part of XFree86. Also remove
unnecessary inclusion of gettext-lib/buildlink.mk.
2001-07-02 08:06:16 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
so remove it from package Makefiles.  Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
2001-06-29 04:54:49 +00:00
zuntum
bbc0369e36 o convert build to use buildlink.mk files, set USE_BUILDLINK_ONLY
o fix BUILDLINK_FILES.freetype2 in buildlink.mk, so it now works properly
o provide freetype-config config wrapper
2001-06-26 22:02:26 +00:00
zuntum
673eefb84e o add buildlink.mk file for use by other packages 2001-06-26 21:39:30 +00:00
zuntum
668932e224 Update freetype2 to 2.0.3
Changelog:

2001-05-25  David Turner  <david@freetype.org>

        Moved several documents from the top-level to the "docs" directory.

        * src/base/ftcalc.c (FT_DivFix): Small fix to return value.

2001-05-16  David Turner  <david@freetype.org>

        * src/truetype/ttgload.c (load_truetype_glyph): Fixed a bug in the
        composite loader.  Spotted by Keith Packard.
        * src/base/ftobjs.c (FT_GlyphLoader_Check_Points,
        FT_GlyphLoader_Check_Subglyphs): Ditto.

2001-05-14  David Turner  <david@freetype.org>

        Fixed the incorrect blue zone computations, and improved the
        composite support.  Note that these changes result in improved
        rendering, while sometimes introducing their own artefacts.  This is
        probably the last big change to the autohinter before the
        introduction of a complete replacement.

        * src/autohint/ahglobal.c (sort_values): Fix loop.
        * src/autohint/ahglyph.c: Removed some obsolete code.
        (ah_outline_compute_edges): Modify code to set the ah_edge_round
        flag.
        (ah_outline_compute_blue_edges): Add code to compute active blue
        zones.
        * src/autohint/ahhint.c (ah_hinter_glyph_load): Change load_flags
        value.

        * src/base/ftcalc.c (FT_DivFix): Fixed a bug in the 64-bit code that
        created incorrect scale factors!
        (FT_Round_Fix, FT_CeilFix, FT_FloorFix): Minor improvements.

2001-05-12  Werner Lemberg  <wl@gnu.org>
        * include/freetype/ftbbox.h: FTBBOX_H -> __FTBBOX_H__.
        * include/freetype/fttrigon.h: __FT_TRIGONOMETRY_H__ ->
        __FTTRIGON_H__.
        Include FT_FREETYPE_H.
        Beautified; added copyright.
        * src/base/fttrigon.c: Beautified; added copyright.

2001-05-11  David Turner  <david@freetype.org>

        * src/cff/cffparse.c (cff_parse_font_matrix), src/cid/cidload.c
        (parse_font_matrix), src/type1/t1load.c (parse_font_matrix): Fixed
        the incorrect EM size computation.

        * include/freetype/fttrigon.h, src/base/fttrigon.c: New files,
        adding trigonometric functions to the core API (using Cordic
        algorithms).
        * src/base/ftbase.c, src/base/Jamfile, src/base/rules.mk: Use them.

        * builds/newline: New file.
        * builds/top_level.mk, builds/detect.mk: Use it.  This fixes
        problems with Make on Windows 2000, as well as problems when "make
        distclean" is invoked on a non-Unix platform when there is no
        "config.mk" in the current directory.

        * builds/freetype.mk: Fixed a problem with object deletions under
        Dos/Windows/OS/2 systems.

        Added new directory to hold tools and test programs.

        * docs/docmaker.py, docs/glnames.py: Moved to...
        * src/tools/docmaker.py, src/tools/glnames.py: This place.
        * src/tools/cordic.py: New file used to compute arctangent table
        needed by fttrigon.c.
        * src/tools/test_bbox.c, src/tools/test_trig.c: New test files.

        * src/tools/docmaker.py: Improved the script to add the current date
        at the footer of each web page (useful to distinguish between
        versions).

        * Jamfile: Fixed incorrect HDRMACRO argument.

        * TODO: Removed the cubic arc bbox computation note, since it has been
        fixed recently.
        * src/base/ftbbox.c (test_cubic_zero): Renamed to...
        (test_cubic_extrema): This function.  Use `UL' for unsigned long
        constants.

        * include/freetype/t1tables.h, include/freetype/config/ftoption.h:
        Formatting.

2001-05-10  David Turner  <david@freetype.org>

        * src/base/ftobjs.c (FT_Open_Face): Fixed a small memory leak
        which happened when trying to open 0-size font files!

2001-05-09  Werner Lemberg  <wl@gnu.org>

        * include/freetype/internal/ftcalc.h: Move declaration of
        FT_SqrtFixed() out of `#ifdef FT_LONG64'.

2001-05-08  Francesco Zappa Nardelli  <Francesco.Zappa.Nardelli@ens.fr>

        * src/pcfdriver.c (PCF_Load_Glyph): Fixed incorrect bitmap width
        computation.

2001-05-08  David Turner  <david@freetype.org>

        * docs/docmaker.py: Updated the DocMaker script in order to add
        command line options (--output,--prefix,--title), fix the erroneous
        line numbers reported during errors and warnings, and other
        formatting issues.

        * src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
        fixes related to rounding in 64-bits routines and
        pseudo-"optimizations".

2001-04-27  David Turner  <david@freetype.org>

        * src/base/ftbbox.c (BBox_Cubic_Check): Fixed the coefficient
        normalization algorithm (invalid final bit position, and invalid
        shift computation).

2001-04-26  Werner Lemberg  <wl@gnu.org>

        * builds/unix/config.guess, builds/unix/config.sub: Updated to
        latest versions from gnu.org.

        * builds/compiler/gcc-dev.mk: Add `-Wno-long-long' flag.

        * include/freetype/internal/ftcalc.h: Define FT_SqrtFixed()
        uncoditionally.
        * src/base/ftbbox.c: Include FT_INTERNAL_CALC_H.
        Fix compiler warnings.
        * src/base/ftcalc.c: Fix (potential) compiler warnings.

2001-04-26  David Turner  <david@freetype.org>

        * src/base/ftcalc.c (FT_SqrtFixed): Corrected/optimized the 32-bit
        fixed-point square root computation.  It is now used even with
        64-bits integers, as it is _much_ faster than calling FT_Sqrt64 :-)

        * src/base/ftbbox.c: Removed invalid "#include FT_BEZIER_H" line.

2001-04-25  David Turner  <david@freetype.org>

        * src/base/ftbbox.c (BBox_Cubic_Check): Rewrote function to use
        direct computations with 16.16 values instead of sub-divisions.  It
        is now slower, but proves a point :-)
        * src/base/ftcalc.c (FT_MulDiv, FT_MulFix, FT_DivFix): Various tiny
        fixes related to rounding in 64-bits routines and
        pseudo-"optimizations".

2001-04-27  David Turner  <david@freetype.org>

        * src/base/ftbbox.c (BBox_Cubic_Check): Fixed the coefficient
        normalization algorithm (invalid final bit position, and invalid
        shift computation).

2001-04-26  Werner Lemberg  <wl@gnu.org>

        * builds/unix/config.guess, builds/unix/config.sub: Updated to
        latest versions from gnu.org.

        * builds/compiler/gcc-dev.mk: Add `-Wno-long-long' flag.

        * include/freetype/internal/ftcalc.h: Define FT_SqrtFixed()
        uncoditionally.
        * src/base/ftbbox.c: Include FT_INTERNAL_CALC_H.
        Fix compiler warnings.
        * src/base/ftcalc.c: Fix (potential) compiler warnings.

2001-04-26  David Turner  <david@freetype.org>

        * src/base/ftcalc.c (FT_SqrtFixed): Corrected/optimized the 32-bit
        fixed-point square root computation.  It is now used even with
        64-bits integers, as it is _much_ faster than calling FT_Sqrt64 :-)

        * src/base/ftbbox.c: Removed invalid "#include FT_BEZIER_H" line.

2001-04-25  David Turner  <david@freetype.org>

        * src/base/ftbbox.c (BBox_Cubic_Check): Rewrote function to use
        direct computations with 16.16 values instead of sub-divisions.  It
        is now slower, but proves a point :-)

        * src/raster/ftraster.c, src/smooth/ftgrays.c, src/base/ftbbox.c:
        Fixed the bezier stack depths.

        * src/base/ftcalc.c (FT_MulFix): Minor rounding fix.

        * builds/beos: Added BeOS-specific files to the old build system
        (no changes were necessary to support BeOS in the Jamfile though).

2001-04-20  David Turner  <david@freetype.org>

        * ftconfig.h, ftoption.h: Updated "ftconfig.h" to detect 64-bit int
        types on platforms where Autoconf is not available).  Also removed
        FTCALC_USE_LONG_LONG and replaced it with
        FT_CONFIG_OPTION_FORCE_INT64.

        * builds/win32/freetype.dsp: Updated the Visual C++ project file.
        Doesn't create a DLL yet.

        * cffgload.c: Removed a compilation warning.

2001-04-10  Tom Kacvinsky  <tjk@ams.org>

        * t1load.c (parse_charstrings): Changed code for placing .notdef
        glyph into slot 0 so that we no longer have a memory access
        violation.

        * t1load.h: In structure T1_Loader, added swap_table (of type
        PS_Table) to facilitate placing the .notdef glyph into slot 0.

2001-04-10  Francesco Zappa Nardelli  <francesco.zappa.nardelli@ens.fr>

        * src/pcf/pcfdriver.c (PCF_Get_Char_Index): Fix return value.

2001-04-09  Laurence Withers  <lwithers@lwithers.demon.co.uk>

        * builds/dos/detect.mk: Add support for bash.

2001-04-05  Werner Lemberg  <wl@gnu.org>

        * builds/os2/*.mk: These files have been forgotten to update to
        the structure of similar makefiles.
        * builds/dos/*.mk: Ditto.
        * builds/ansi/*.mk: Ditto.

        * builds/win32/win32-def.mk (BUILD): Fix typo.

        * builds/compiler/*.mk (CLEAN_LIBRARY): Don't use NO_OUTPUT.
        This is already used in the link_*.mk files.

2001-04-03  Werner Lemberg  <wl@gnu.org>

        * src/*/Jamfile: Slight changes to make files more cryptic.

2001-04-03  Werner Lemberg  <wl@gnu.org>

        * Jamfile, src/Jamfile, src/*/Jamfile: Formatted.  Slight changes
        to give files identical structure.

2001-04-02  Werner Lemberg  <wl@gnu.org>

        * CHANGES: Reformatted, minor fixes.
        * TODO: Updated.
        * README: Formatting.
        * include/freetype/freetype.h: Formatting.

        * Jamfile: Fix typo.

        * src/cff/cffparse.c: Move error code #defines to...
        * include/freetype/internal/cfferrs.h: This file.
        * src/cff/cffdrivr.c, src/cff/cffobjs.c, src/cff/cffload.c: Replaced
        `FT_Err_*' with `CFF_Err_*'.
        * src/cid/cidparse.c: Replaced `FT_Err_*' with `T1_Err_*'.
        * src/psaux/psobjs.c, src/psaux/t1decode.c: Ditto.
        * src/sfnt/sfobcs.c, src/sfnt/ttload.c: Replaced `FT_Err_*' with
        `TT_Err_*'.
        * src/truetype/ttgload.c, src/truetype/ttobjs.c: Ditto.
        * src/type1/t1gload.c, src/type1/t1load.c, src/type1/t1objs.c,
        src/type1/t1parse.c: Replaced `FT_Err_*' with `T1_Err_*'.

        * include/freetype/internal/cfferrs.h: Add
        `CFF_Err_Unknown_File_Format'.
        * include/freetype/internal/t1errors.h: Add
        `T1_Err_Unknown_File_Format'.
        * include/freetype/internal/tterrors.h: Add
        `TT_Err_Unknown_File_Format'.

        * src/cff/cffload.h: Add `cff_*_encoding' and `cff_*_charset'
        references.
        * src/psaux/psobjs.c: Include `FT_INTERNAL_TYPE1_ERRORS_H'.

        * src/cff/cffobjs.c (CFF_Init_Face, CFF_Done_Face): Use
        FT_LOCAL_DEF.
        * src/cid/cidobjs.c (CID_Done_Driver): Ditto.
        * src/trutype/ttobjs.c (TT_Init_Face, TT_Done_Face, TT_Init_Size):
        Ditto.
        * src/type1/t1objs.c (T1_Done_Driver): Ditto.
        * src/pcf/pcfdriver.c (PCF_Done_Face): Ditto.
        * src/pcf/pcf.h: Use FT_LOCAL for `PCF_Done_Face'.

2001-04-02  Tom Kacvinsky  <tjk@ams.org>

        * src/sfnt/ttload.c (TT_Load_Metrics): Fix an improper pointer
        dereference.  Submitted by Herbert Duerr <duerr@sun.com>

2001-03-26  Tom Kacvinsky  <tjk@ams.org>

        * include/freetype/config/ftconfig.h: Changed hexadecimal
        constants to use suffix U to avoid problems with HP-UX's c89
        compiler.  Submitted by G.W. Lucas <glucas@sonalysts.com>

2001-03-24  David Turner  <david.turner@freetype.org>

        * Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles to
        the source tree.  See www.freetype.org/jam/index.html for details.


        * Version 2.0.2 released.
        =========================


2001-03-20  Werner Lemberg  <wl@gnu.org>

        * builds/win32/detekt.mk: Fix .PHONY target for Intel compiler.

2001-03-20  David Turner  <david.turner@freetype.org>

        * include/freetype/config/ftheader.h, include/freetype/ftsnames.h:
        Renamed "ftnames.h" to "ftsnames.h", and FT_NAMES_H to
        FT_SFNT_NAMES_H.

        * docs/docmaker.py: Added generation of INDEX link in table of
        contents.

        * INSTALL, docs/BUILD: Updated documentation to indicate that the
        compilation process has changed slightly (no more `src' required in
        the include path).

        * builds/*/*-def.mk: Changed the objects directory from "obj" to
        "objs".

        * include/freetype/config/ftheader.h: Removed obsolete macros like
        FT_SOURCE_FILE, etc. and added cache-specific macro definitions that
        were previously defined in <freetype/ftcache.h>.  Added comments to
        be included in a new API Reference section.

        * src/*/*: Removed the use of FT_SOURCE_FILE, etc.  Now, each
        component needs to add its own directory to the include path at
        compile time.  Modified all "rules.mk" and "descrip.mms"
        accordingly.

2001-03-20  Werner Lemberg  <wl@gnu.org>

        * builds/unix/configure.in: Add $ft_version.
        * builds/unix/freetype-config.in: Use it.
        * builds/unix/configure: Updated.

2001-03-19  Tom Kacvinsky  <tjk@ams.org>

        * src/type1/t1load.c (parse_font_matrix): Assign the units per em
        value an unsigned short value, first by shifting right 16 bits,
        then by casting the results to FT_UShort.

        * src/cff/cffparse.c (cff_parse_font_bbox): Assign the units per em
        value an unsigned short value, first by shifting right 16 bits,
        then by casting the results to FT_UShort.

2001-03-17  David Turner   <david.turner@freetype.org>

        * src/cid/cidobjs.c, src/cid/cidload.c, src/pcf/pcfread.c,
        src/type1/t1load.c, src/type1/t1objs.c: Added a few casts to remove
        compiler warnings in pedantic modes.

        * include/config/ft2build.h, include/config/ftheader.h: The file
        "ft2build.h" was renamed to "ftheader.h" to avoid conflicts with the
        top-level <ft2build.h>.

        * include/config/ftheader.h: Added new section describing the #include
        macros.

2001-03-17  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/cffparse.c (cff_parse_font_bbox): Obtain rounded FT_Fixed
        values for the bounding box numbers.

        * src/cff/cffobjs.c (CFF_Init_Face): When processing a CFF/CEF font,
        set `root->ascender' (`root->descender') to the integer part of
        `root->bbox.yMax' (`root->bbox.yMin', respectively).

2001-03-16  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/cffdrivr.c (get_cff_glyph_name):  New function.  Used in
        cff_get_interface to facilitate getting a glyph name for glyph index
        via FT_Get_Glyph_Name().

        (cff_get_interface): Added support for getting a glyph name via the
        "glyph_name" module interface.  Uses the new function
        get_cff_glyph_name().
        Submitted by Sander van der Wal <svdwal@xs4all.nl>

        * src/cff/cffobjs.c (CFF_Init_Face): Logical or the face flags with
        FT_FACE_FLAG_GLYPH_NAMES only if FT_CONFIG_OPTION_NO_GLYPH_NAMES is
        not defined.  This is to add support for getting a glyph name from a
        glyph index via FT_Get_Glyph_Name().
        Submitted by Sander van der Wal <svdwal@xs4all.nl>

        * src/cff/cffgload.c (CFF_Parse_CharStrings): Added support for
        deprecated operator "dotsection".
        Submitted by Sander van der Wal <svdwal@xs4all.nl>

2001-03-12  Werner Lemberg  <wl@gnu.org>

        * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings): Fix error
        messages.

        * INSTALL, docs/BUILD: We need GNU make 3.78.1 or newer.

2001-03-12  Tom Kacvinsky  <tjk@ams.org>

        * include/freetype/internal/psaux.h:  Changed the lenIV member of
        the T1_Decoder_ struct to be an FT_Int instead of an FT_UInt.

        * src/psaux/t1decode.c (T1_Decoder_Parse_Charstrings):  Adjust
        for lenIV seed bytes at the start of a decrypted subroutine.

        * src/cid/cidload.c (cid_read_subrs): Decrypt subroutines only
        if lenIV >= 0.

        * src/cid/cidgload.c (cid_load_glyph): Decrypt charstrings only
        if lenIV >= 0.

2001-03-11  Werner Lemberg  <wl@gnu.org>

        * TODO: Updated.

        * src/pcf/pcfread.c: Put READ_Fields() always in a conditional to
        avoid compiler warnings.

2001-03-10  Tom Kacvinsky  <tjk@ams.org>

        * TODO: New file.

        * include/freetype/freetype.h: Added prototypes and notes for
        three new functions: FT_RoundFix, FT_CeilFix, and FT_FloorFix.
        * src/base/ftcalc.c (FT_RoundFix, FT_CeilFix, FT_FloorFix): Added
        implementation code.

        * src/cid/cidobjs.c (CID_Init_Face): Use calculated units_per_EM,
        and if that is not available, default to 1000 units per EM.  Changed
        assignment code for ascender and descender values.
        * src/cid/cidload.c (parse_font_matrix): Added units_per_EM
        processing.
        (parse_font_bbox): Changed to use FT_Fixed number handling.

        * src/type1/t1objs.c (T1_Init_Face): Changed the assignment code
        for ascender, descender, and max_advance_width.
        * src/type1/t1load.c (parse_font_bbox): Changed to use FT_Fixed
        number handling.

2001-03-10  Henrik Grubbstr<F6>m  <grubba@roxen.com>

        * src/*/*.c: Added many casts to make code more 64bit-safe.

2001-03-07  Werner Lemberg  <wl@gnu.org>

        * INSTALL, docs/BUILD: We need GNU make 3.78 or newer.

2001-03-07  Tom Kacvinsky  <tjk@ams.org>

        * src/type1/t1objs.c (T1_Init_Face): Minor correction: We must wait
        until parse_font_bbox is changed before we use logical shift rights
        in the assignments of `root->ascender', `root->descender', and
        `root->max_advance_width'.

        (T1_Done_Face): Free `char_name' table to avoid a memory leak.
        Submitted by Sander van der Wal <svdwal@xs4all.nl>.

2001-03-05  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the
        the Type 2 glyph charstring (used by conversion programs).
        Submitted by Ha Shao <hashao@chinese.com>.

2001-03-04  Antoine Leca  <Antoine.Leca@renault.fr>

        * include/freetype/ttnameid.h: Correct a stupid typo which prevented
        correct compilation (TT_MS_LANGID_TIGRIGNA_ETHIOPIA appeared twice).

2001-03-04  Werner Lemberg  <wl@gnu.org>

        * src/autohint/ahtypes.h (AH_Hinter): Add elements
        `disable_horz_edges', `disable_vert_edges'.
        * src/autohint/ahhint.c (ah_hint_edges_3, ah_hinter_hint_edges): Use
        them (and remove static variables with the same names).
        * src/pcf/pcfutil.c (BitOrderInvert): Add `const'.
        * docs/glnames.py: Updated to latest pstables.h changes.

        * builds/unix/detect.mk: Add test for Hurd.
        * builds/hurd/detect.mk: Removed.

2001-03-04  Sander van der Wal  <svdwal@xs4all.nl>

        * src/psnames/pstables.h: Add more `const'.
        * src/pcf/pcfutil.c: Ditto.

2001-03-04  Werner Lemberg  <wl@gnu.org>

        * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixing typo
        (FT_Glyph_Done -> FT_Done_Glyph).

2001-03-01  Antoine Leca  <Antoine.Leca@renault.fr>

        * include/freetype/ttnameid.h: Added some new Microsoft language
        codes and LCIDs as found in Office Xp.

2001-02-28  David Turner  <david.turner@freetype.org>

        * builds/hurd/detect.mk: New file.  Added support to detect the GNU
        Hurd operating system as Unix-like.  Fix submitted by Anthony Fok
        <foka@debian.org>.

        * src/type1/t1gload.c (T1_Load_Glyph): Set glyph control data to the
        the Type 1 glyph charstring (used by conversion programs).
        Submitted by Ha Shao <hashao@chinese.com>.

2001-02-22  David Turner  <david.turner@freetype.org>

        * src/base/ftgrays.c (grays_sweep): The function didn't exit
        immediately if `num_cells' was 0 as it should.  Thanks to Boris for
        finding this out.

        * src/base/ftglyph.c (FT_Glyph_To_Bitmap): Fixed memory leak when
        bitmap rendering fails (thanks to Graham Asher).

2001-02-13  Werner Lemberg  <wl@gnu.org>

        * docs/docmaker.py (DocSection::add_element): Use
        `self.print_error()'.

        * builds/unix/config.{guess,sub}: Updated (from ftp.gnu.org).

2001-02-13  David Turner  <david.turner@freetype.org>

        * docs/docmaker.py, include/freetype/*.h: Updated the DocMaker
        script to support chapters and section block ordering.  Updated the
        public header files accordingly.

        * src/base/ftglyph.c (FT_Glyph_Copy): Advance width and glyph format
        were not correctly copied.

2001-02-08  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/cffparse.c (cff_parse_font_matrix): Removed an
        unnecessary fprintf( stderr, ... ).

2001-02-07  Tom Kacvinsky  <tjk@ams.org>

        * src/type1/t1objs.c (T1_Init_Face): Added code to get the
        units_per_EM from the value assigned in parse_font_matrix, if
        available.  Default to 1000 if not available.

        * src/cff/cffparse.c (cff_parse_font_matrix): Added logic to get
        the units_per_EM from the FontMatrix.

        (cff_parse_fixed_thousand): New function. Gets a real number from
        the CFF font, but multiplies by 1000 (this is to avoid rounding
        errors when placing this real number into a 16.16 fixed number).

        (cff_parse_real): Added code so that the integer part is moved
        into the high sixteen bits of the 16.16 fixed number.

        * src/cff/cffobjs.c (CFF_Init_Face): Added logic to get the units
        per EM from the CFF dictionary, if available.

        * include/freetype/internal/cfftypes.h: In struct CFF_Font_Dict_,
        added a units_per_em member to facilitate passing of units_per_em
        from function cff_parse_font_matrix.

        * src/type1/t1load.c (is_alpha): Make `-' a legal alphanumeric
        character.  This is so that font names with `-' are fully parsed,
        etc...

2001-02-02  Werner Lemberg  <wl@gnu.org>

        * src/psaux/psobjs.c (shift_elements): Remove if clause (which is
        obsolete now).

        (reallocate_t1_table, PS_Table_Done): Replace REALLOC() with ALLOC()
        + MEM_Copy() to avoid a memory bug.

2001-02-01  David Turner  <david.turner@freetype.org>

        * docs/docmaker.py: Improved the index sorting routine to place
        capital letters before small ones.  Added the "<order>" marker to
        section blocks in order to give the order of blocks.

2001-01-30  Antoine Leca  <Antoine.Leca@renault.fr>

        * include/freetype/ttnameid.h: Latest updates to Microsoft language
        ID codes.

2001-01-24  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/t1load.c (parse_font_matrix): Added heuristic to get
        units_per_EM from the font matrix.

        (parse_dict): Deleted test to see whether the FontInfo keyword has
        been seen.  Deletion of this test allows fonts without FontInfo
        dictionaries to be parsed by the Type 1 driver.

        (T1_Open_Face): Deleted empty subroutines array test to make sure
        fonts with no subroutines still are parsed.

2001-01-17  Francesco Zappa Nardelli  <francesco.zappa.nardelli@ens.fr>

        * src/pcfread.c (pcf_get_properties, pcf_get_metrics,
        pcf_get_bitmaps): Fix compiler errors.

2001-01-11  David Turner  <david.turner@freetype.org>

        * src/pcf/pcfread.c: Removed some compilation warnings related
        to comparison of signed vs. unsigned integers.

        * include/freetype/internal/ftdebug.h: Changed the debug trace
        constants from trace_t2xxxx to trace_cffxxxx to be able to compile
        the CFF driver in debug mode.

2001-01-11  Matthew Crosby  <mcrosby@marthon.org>

        * builds/unix/freetype-config.in: Fix problems with separate
        --prefix and --exec-prefix.

2001-01-11  David Turner  <david.turner@freetype.org>

        * docs/docmaker.py: Added cross-references generation as well as
        more robust handling of pathname wildcard matching.

2001-01-10  Werner Lemberg  <wl@gnu.org>

        * docs/docmaker.py: Minor improvements to reduce unwanted spaces
        and empty lines in output.

2001-01-09  David Turner  <david.turner@freetype.org>

        * docs/docmaker.py: Improved script to generate table of contents
        and index pages.  It also supports wildcards on non Unix systems.

        * include/freetype/*.h, include/freetype/cache/*.h: Updated comments
        to include section definitions/delimitations for the API Reference
        generator.

        * include/freetype/freetype.h: Moved declaration of
        `FT_Generic_Finalizer' and the `FT_Generic' structure to...
        * include/freetype/fttypes.h: here.

2001-01-04  Werner Lemberg  <wl@gnu.org>

        * include/freetype/ttnameid.h: Updated Unicode code range comments.

2001-01-03  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/rules.mk: Use cffgload.{c,h} instead of t2gload.{c,h}.

        * include/freetype/internal/internal.h: Changed to use cfftypes.h
        (cfferrs.h) instead of t2types.h (t2errors.h, respectively).

        * include/freetype/internal/cfftypes.h: Merged in changes from
        t2types.h and made this the canonical `types' header for the CFF
        driver.

        * include/freetype/internal/t2types.h: This file was merged with
        cfftypes.h and is no longer necessary.

        * include/freetype/internal/t2errors.h: Renamed to cfferrs.h.

        * src/cff/cffobjs.c, src/cff/cffobjs.h, src/cff/cffparse.c,
        src/cff/cffdrivr.c, src/cff/cff.c, src/cff/cffload.c,
        src/cff/cffgload.c, src/cff/cffgload.h: Changed to use
        cffgload.{c,h} instead of t2gload.{c,h}.  All occurences of t2_
        (T2_) were replaced with cff_ (CFF_, respectively).

        * src/cff/t2gload.h: Renamed cffgload.h.

        * src/cff/t2gload.c: Renamed cffgload.c

2000-01-02  Jouk Jansen  <joukj@hrem.stm.tudelft.nl>

        * builds/vms: Support files for VMS architecture added.
        * descrip.mms, src/*/descrip.mms: VMS makefiles added.
        * README.VMS: New file.

2000-01-01  Werner Lemberg  <wl@gnu.org>

        * LICENSE.TXT: Added info about PCF driver license.

2001-01-01  Francesco Zappa Nardelli  <francesco.zappa.nardelli@ens.fr>

        * src/pcf/*: New driver module for PCF font format (used in
        X Windows).
        * include/freetype/internal/ftdebug.h (FT_Trace): Added values for
        PCF driver.
        * include/freetype/internal/pcftypes.h: New file.
        * include/freetype/config/ftmodule.h: Added PCF driver module.

2001-01-01  Werner Lemberg  <wl@gnu.org>

        * src/winfonts/winfnt.c (FNT_Get_Char_Index): Fix parameter type.

2000-12-31  Werner Lemberg  <wl@gnu.org>

        * builds/modules.mk (clean_module_list): Fixed deletion of module
        file in case `make make_module_list' is called before `make setup'.

2000-12-30  Werner Lemberg  <wl@gnu.org>

        * src/cff/cffload.c (CFF_Load_Charset): Improved error messages.
        (CFF_Load_Charset, CFF_Load_Encoding): Remove unnecessary variable
        definition.

2000-12-30  Tom Kacvinsky  <tjk@ams.org>

        * include/freetype/internal/t2types.h,
        include/freetype/internal/cfftypes.h: Changed the structures for
        CFF_Encoding and CFF_Encoding for the new implementations of the
        charset and encoding parsers in the CFF driver.

        * src/cff/t2gload.c (t2_lookup_glyph_by_stdcharcode,
        t2_operator_seac): Added these functions for use in implementing the
        seac emulation provided by the Type 2 endchar operator.
        (T2_Parse_CharStrings): Added seac emulation for the endchar
        operator.

        * src/cff/cffload.c (CFF_Load_Encoding, CFF_Load_Charset,
        CFF_Done_Encoding, CFF_Done_Charset): Extended to load and parse the
        charset/encoding tables, and free the memory used by them when the
        CFF driver is finished with them.  Added tables

            cff_isoadobe_charset
            cff_expert_charset
            cff_expertsubset_charset
            cff_standard_encoding
            cff_expert_encoding

        so that the encoding/charset parser can handle predefined encodings and
        charsets.

2000-12-24  Tom Kacvinsky  <tjk@ams.org>

        * src/cff/t2gload.c (T2_Load_Glyph): Added code so that the font
        transform is applied.

        * src/cff/cffparse.c (cff_parse_font_matrix): Added code so that
        the font matrix numbers are scaled by 1/(matrix->yy).  Also, the
        offset vector now contains integer values instead of 16.16 fixed
        numbers.

2000-12-22  Tom Kacvinsky  <tjk@ams.org>

        * src/autohint/ahhint.c (ah_hinter_load_glyph):
        Removed unnecessary comments and commented-out code.

2000-12-21  David Turner  <david.turner@freetype.org>

        * src/cid/cidafm.c, src/cid/cidafm.h: removed un-needed files,
        we'll work on supporting CID AFM files later I guess :-)

2000-12-21  Tom Kacvinsky  <tjk@ams.org>

        * src/autohint/ahhint.c (ah_hinter_load, ah_hinter_load_glyph):
        Changed so that fonts with a non-standard FontMatrix render
        correctly.  Previously, the first glyph rendered from such a
        font did not have the tranformation matrix applied.

2000-12-17  Werner Lemberg  <wl@gnu.org>

        * *.mk: Added lots of `.PHONY' targets.

2000-12-17  Karsten Fleischer  <kfleisc1@ford.com>

        * *.mk: Implemented `platform' target to disable auto-detection.

2000-12-14  Werner Lemberg  <wl@gnu.org>

        * docs/design/modules.html: Removed.  Covered by design-*.html.

        * INSTALL: Added info about makepp.

2000-12-14  David Turner  <david.turner@freetype.org>

        Added support for clipped direct rendering in the smooth renderer.
        This should not break binary compatibility of existing applications.

        * include/freetype/fttypes.h, include/freetype/ftimage.h: Move
        definition of the FT_BBox structure from the former to the latter.
        * include/freetype/ftimage.h: Add `ft_raster_flag_clip' value to
        FT_Raster_Flag enumeration.
        Add `clip_box' element to FT_Raster_Params structure.
        * src/smooth/ftgrays.c (grays_convert_glyph): Implement it.

        * INSTALL: Updated installation instructions on Win32, listing the
        new "make setup list" target used to list supported
        compilers/targets.

        * src/raster/ftraster.c (ft_black_render): Test for unsupported
        direct rendering before testing arguments.

2000-12-13  David Turner  <david.turner@freetype.org>

        * include/freetype/config/ft2build.h,
        include/freetype/internal/internal.h: Fixed header inclusion macros
        to use direct definitions.  This is the only way to do these things
        in a portable way :-(  The rest of the code should follow shortly
        though everything compiles now.

        * builds/compiler/intelc.mk, builds/compiler/watcom.mk: New files.

        * builds/win32/detect.mk: Added support for the Intel C/C++
        compiler, as well as _preliminary_ (read: doesn't work!) support for
        Watcom.  Also added a new setup target.  Type "make setup list" for
        a list of supported command-line compilers on Win32.

        * src/base/ftdebug.c: Added dummy symbol to avoid empty file if
        conditionals are off.

2000-12-13  Werner Lemberg  <wl@gnu.org>

        * builds/unix/ftsystem.c: Fixed typos.  Fixed inclusion of wrong
        ftconfig.h file.

2000-12-12  Werner Lemberg  <wl@gnu.org>

        * include/freetype/config/ft2build.h (FT2_ROOT, FT2_CONFIG_ROOT):
        Removed.  ANSI C doesn't (explicitly) allow macro expansion in
        arguments using `##'.
        (FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE): Use directory
        names directly.  Make them configurable.  Use `##' to strip leading
        and trailing spaces from arguments.

        * builds/unix/ft2unix.h: Adapted.

        * src/base/ftsystem.c (ft_alloc, ft_realloc, ft_free, ft_io_stream,
        ft_close_stream): Use FT_CALLBACK_DEF.

        * builds/unix/ftsystem.c: Use new header scheme.
        (FT_Done_Memory): Use free() from FT_Memory structure.

        * src/base/ftinit.c, src/base/ftmac.c: Header scheme fixes.

2000-12-11  Werner Lemberg  <wl@gnu.org>

        * include/freetype/config/ft2build.h (FT2_CONFIG_ROOT,
        FT2_PUBLIC_FILE, FT2_CONFIG_FILE, FT2_INTERNAL_FILE,
        FT_SOURCE_FILE): Use `##' operator to be really ANSI C compliant.

2000-12-09  Werner Lemberg  <wl@gnu.org>

        * builds/unix/detect.mk: Remove unused USE_CFLAGS variable.

2000-12-08  Werner Lemberg  <wl@gnu.org>

        * */*.h: Changed body inclusion macro names to start and end with
        `__' (those which haven't converted yet).  Fixed minor conversion
        issues.

        * src/winfonts/winfnt.c: Updated to new header inclusion scheme.

        * src/truetype/ttinterp.c: Remove unused CALC_Length() macro.

2000-12-07  David Turner  <david.turner@freetype.org>

        * */*.[ch]: Changed source files to adhere to the new
        header inclusion scheme.  Not completely tested but works for now
        here.

        * src/cff/t2driver.c: Renamed and updated to...
        * src/cff/cffdrivr.c: New file.
        * src/cff/t2driver.h: Renamed and updated to...
        * src/cff/cffdrivr.h: New file.
        * src/cff/t2load.c: Renamed and updated to...
        * src/cff/cffload.c: New file.
        * src/cff/t2load.h: Renamed and updated to...
        * src/cff/cffload.h: New file.
        * src/cff/t2objs.c: Renamed and updated to...
        * src/cff/cffobjs.c: New file.
        * src/cff/t2objs.h: Renamed and updated to...
        * src/cff/cffobjs.h: New file.
        * src/cff/t2parse.c: Renamed and updated to...
        * src/cff/cffparse.c: New file.
        * src/cff/t2parse.h: Renamed and updated to...
        * src/cff/cffparse.h: New file.
        * src/cff/t2tokens.h: Renamed and updated to...
        * src/cff/cfftoken.h: New file.

        * src/cff/cff.c, src/cff/rules.mk: Updated.

2000-12-06  David Turner  <david.turner@freetype.org>

        * src/cache/ftlru.c (FT_Lru_Done): Fixed memory leak.

2000-12-06  Werner Lemberg  <wl@gnu.org>

        * builds/module.mk: Replaced `xxx #' with `xxx$(space).
        * builds/os2/detekt.mk, builds/win32/detekt.mk: Moved comment to
        avoid trailing spaces in variable.
        * builds/freetype.mk: Use $(D) instead of $D to make statement more
        readable.

        * docs/docmaker.py: Formatting.

2000-12-05  David Turner  <david.turner@freetype.org>

        * src/psaux/psauxmod.c: Fixed a broken inclusion of component
        header files (an FT_FLAT_COMPILE test was missing).

        * src/cache/ftcmanag.c (FTC_Manager_Done): Fixed a bug that caused
        an occasional crash when the function was called (due to a dangling
        pointer).

        * src/base/ftsystem.c (FT_Done_Memory): Fixed an obvious bug:
        The ANSI "free()" function was called instead of "memory->free()".

        * docs/docmaker.py: Added section filtering, multi-page generation
        (index page generation is still missing though).

2000-12-04  David Turner  <david.turner@freetype.org>

        * builds/unix/install.mk, builds/unix/ft2unix.h: The file "ft2unix.h"
        is now installed as <ft2build.h> for Unix systems.  Note that we
        still use the "freetype2/freetype" installation path for now.

        * */*.[ch]: Now using <ft2build.h> as the default build and setup
        configuration file in all public headers.  Internal source files
        still need some changes though.

        * builds/devel/ft2build.h, builds/devel/ftoption.h: Created a new
        directory to hold all development options for both the Unix and
        Win32 developer builds.

        * builds/win32/detect.mk, builds/win32/w32-bccd.mk,
        builds/win32/w32-dev.mk: Changed the developer build targets to
        "devel-gcc" and "devel-bcc" in order to be able to develop with the
        Borland C++ compiler.
2001-06-26 21:30:13 +00:00
agc
c91357e86f Move to sha1 digest, and add distfile size 2001-05-08 16:36:01 +00:00
jlam
2505570ce2 Handle freetype2 package like the MesaLib package as it is bundled with
XFree86-4.0.x.
2001-04-19 19:11:59 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
hubertf
a5bbac3e93 First round of cleaning up INSTALL usage:
INSTALL -d 	=> INSTALL_*_DIR
 INSTALL	=> INSTALL_*

Beware that only invocations are changed that don't set special
values for owner, mode or group!

Cleanup suggested by zuntum@IRC
2001-02-24 02:09:27 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
wiz
685c7ca009 Update to 2.0.1. Changes: Not beta anymore, many bug fixes, some headers
moved, some new; new freetype-config program.
2000-12-24 02:27:41 +00:00
rh
b73685bb12 Initial import of freetype2-2.0b8, version 2 of the freetype library. 2000-11-27 14:42:19 +00:00