Commit graph

45 commits

Author SHA1 Message Date
tez
e4ddcc7416 update to 2.4.7 fixes SA46575 (CVE-2011-3256)
CHANGES BETWEEN 2.4.6 and 2.4.7

I. IMPORTANT BUG FIXES
 - Some vulnerabilities in handling Type 1 fonts have been fixed;
   see CVE-2011-3256.

II. MISCELLANEOUS
 - FreeType now properly handles ZapfDingbats glyph names while
   constructing a Unicode character map (for fonts which don't have one).
2011-10-26 19:24:45 +00:00
cheusov
86a63e1287 Fixed: build failure on 5.99.55
Update to 2.4.6, No answer from maintainer.

 CHANGES BETWEEN 2.4.5 and 2.4.6

  I. IMPORTANT BUG FIXES

    - For TrueType based fonts, the ascender and descender values were
      incorrect sometimes  (off by a pixel if the ppem value was not a
      multiple of 5).   Depending on the use you might now  experience
      a different  layout; the  change should  result in  better, more
      consistent line spacing.

    - Fix CVE-2011-0226  which causes a  vulnerability while  handling
      Type 1 fonts.

    - BDF fonts  containing  glyphs with negative values  for ENCODING
      were  incorrectly  rejected.  This  bug has  been introduced  in
      FreeType version 2.2.0.

    - David Bevan contributed a major revision of the FreeType stroker
      code:

      . The behaviour of FT_STROKER_LINEJOIN_BEVEL has been corrected.

      . A new  line join style,  FT_STROKER_LINEJOIN_MITER_FIXED,  has
        been introduced to support PostScript and PDF miter joins.

      . FT_STROKER_LINEJOIN_MITER_VARIABLE  has been introduced ches has
        been fixed.


  II. MISCELLANEOUS

      - SFNT bitmap fonts which contain an outline glyph for `.notdef'
        only no longer set the FT_FACE_FLAG_SCALABLE flag.

CHANGES BETWEEN 2.4.4 and 2.4.5

  I. IMPORTANT BUG FIXES

    - A rendering regression  for second-order B#zier curves  has been
      fixed, introduced in 2.4.3.


  II. IMPORTANT CHANGES

    - If autohinting  is not  explicitly disabled,  FreeType now  uses
      the autohinter if  a TrueType based font doesn't  contain native
      hints.

    - The load flag FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH  has been made
      redundant and  is simply ignored;  this means that FreeType  now
      ignores the global advance width value in TrueType fonts.


  III. MISCELLANEOUS

    - `FT_Sfnt_Table_Info' can now return the number of SFNT tables of
      a font.

    - Support for PCF files compressed with bzip2 has been contributed
      by Joel  Klinghed.  To  make this  work, the  OS must  provide a
      bzip2 library.

    - Bradley  Grainger  contributed  project  and  solution  files in
      Visual Studio 2010 format.

    - Again some fixes to better handle broken fonts.
2011-08-03 08:25:41 +00:00
drochner
e47dfc9e61 replace SA# in comment with a CVE reference 2011-07-18 09:54:27 +00:00
drochner
78914951d9 update to 2.4.5
changes:
-fixed rendering regression  for second-order Bezier curves
-FreeType now  uses the autohinter per default
-Support for PCF files compressed with bzip2
-misc fixes and improvements
pkgsrc change: clean up patch-ac (which fixes SA45167): put sign extension
stuff into a macro and move checks to make it closer to the upstream fix
2011-07-12 16:30:28 +00:00
drochner
5e5be1bccd avoid sign extension on right shift
(there are more occurences, but they are followed by checks for result<0)
bump PKGREV
2011-07-07 17:02:12 +00:00
adam
0c1dfa4c21 Changes 2.4.4:
I. IMPORTANT BUG FIXES
   - UVS support (TrueType/OpenType cmap format 14) support is fixed.
   This regression has been introduced in version 2.4.0.
II. MISCELLANEOUS
   - Detect tricky fonts (e.g. MingLiU)  by the lengths and checksums
     of Type42-persistent subtables (`cvt ', `fpgm', and `prep') when
     a TrueType font without family name is given.  The previous fix,
     introduced in 2.4.3,  was too rigorous,  causing many  subsetted
     fonts (mainly  from PDF files) displayed badly  because FreeType
     forced  rendering with  the TrueType bytecode engine  instead of
     the autohinter.
   - Better support for 64bit platforms.
   - More fixes to improve handling of broken fonts.
2010-12-26 19:16:15 +00:00
drochner
5a6e378115 add patch from upstream CVS to fix handling the "SHZ" bytecode instruction
which could be exploited to cause a crash and potentially execute
arbitrary code via a specially crafted font (CVE-2010-3814)
bump PKGREV
being here, add CVE reference to an older patch
2010-11-24 18:44:53 +00:00
drochner
556985876b add patch from upstream CVS to fix a possible buffer overflow
when processing TrueType GX fonts (SA41738), bump PKGREVISION
2010-11-03 11:56:37 +00:00
drochner
4c51ebb4c8 update to 2.4.3
changes:
A rendering regression of S-shaped cubic arcs (introduced in
version 2.4.0) has been fixed. Besides that, a bunch
of fixes have been applied to improve handling of broken fonts.
2010-10-22 16:14:13 +00:00
tnn
a2e838f8c8 Update to freetype2-2.4.2:
CHANGES BETWEEN 2.4.1 and 2.4.2
  I. IMPORTANT BUG FIXES
    - A stack overflow in CFF Type2 CharStrings interpreter is fixed.
    - Handling Type 42 font deallocation was broken; additionally, the
      library is now more robust against malformed Type 42 fonts.
  II. MISCELLANEOUS
    - Two new functions,  `FT_Reference_Library' (in FT_MODULE_H)  and
      `FT_Reference_Face'  (in  FT_FREETYPE_H),  have  been  added  to
      simplify life-cycle management.  A counter gets initialized to 1
      at the  time an  FT_Library (or  FT_Face) structure  is created.
      The  two  new   functions  increment  the  respective   counter.
      `FT_Done_Library' and `FT_Done_Face' then only destroy a library
      or face if the counter is 1, otherwise they simply decrement the
      counter.
2010-08-08 16:06:02 +00:00
drochner
06fa4f9668 update to 2.4.1
changes:
- Since May  2010, all  patents  regarding  the TrueType  bytecode
  interpreter have expired worldwide.  Consequently, we now define
  TT_CONFIG_OPTION_BYTECODE_INTERPRETER by  default (and  undefine
  TT_CONFIG_OPTION_UNPATENTED_HINTING).
- A new function `FT_Library_SetLcdFilterWeights' is available  to
  adjust the filter weights set by `FT_Library_SetLcdFilter'.
-increased robustness, bugfixes

pkgsrc note: the "truetype" option was removed, the bytecode interpreter
is now always enabled
2010-07-20 11:44:15 +00:00
drochner
99f40f2dfe update to 2.3.12
changes:
- For  `FT_Open_Face',  new  parameters  are  available  to ignore
  preferred family names: FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY and
  FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY.
- Support  for  incremental  font  loading  (controlled  with  the
  FT_CONFIG_OPTION_INCREMENTAL macro) is now active by default.
- Better support for vertical metrics.
- Various minor bug fixes.
2010-02-18 21:28:45 +00:00
tnn
853746f566 ensure "freetype-config --libs" emits a run path. 2009-11-24 11:26:50 +00:00
drochner
ef3efa6c0f update to 2.3.11
This is a bugfix release for the 2.3 series, which brings considerable
improvements for b/w rasterizing of hinted TrueType fonts at
small sizes. All users should upgrade.
2009-11-23 12:01:58 +00:00
tnn
c6d42e19d1 patch-[a-d]: Upstream patches for CVE-2009-0946.
Bump PKGREVISION.
2009-05-02 19:44:51 +00:00
drochner
100c2f9088 update to 2.3.9
changes:
-important bugfixes
-improved CID support

There was an ABI breakage between 2.3.7 and 2.3.8 which was reverted
in 2.3.9. The public 'PS_FontInfoRec' structure was expanded and
then shrunk. Applications compiled against 2.3.8 should work fine
with 2.3.9. Applications compiled against the new 2.3.9 can
theoretically exhibit problems if run against a 2.3.8 binary, if
some PS_FontInfo stuff is used. See the freetype release notes
for details. I didn't find any suspects for now. If one is found,
it should be changed to require 2.3.9, and PKGREV bumped.
2009-04-16 20:26:25 +00:00
drochner
3009ab9b01 update to 2.3.8
changes:
-improvements for fonts in an SFNT wrapper (used on Mac)
-FT_MulFix is now an inlined function; by default, assembler code
 is provided for x86 and ARM.  See FT_CONFIG_OPTION_INLINE_MULFIX
 and FT_CONFIG_OPTION_NO_ASSEMBLER (in ftoption.h) for more
-handling of `tricky' fonts has been generalized and changed slightly
-API additions
-bugfixes
2009-01-27 19:29:32 +00:00
tnn
fcb758cc51 Update to freetype2-2.3.7.
This is a bugfix release for the 2.3 series which provides some important
fixes for bugs which were introduced in version 2.3.6. Additionally, native
bytecode hinting for TrueType fonts has been improved.
2008-07-14 03:55:29 +00:00
drochner
dc684544cd apply a fix from upstream CVS:
* src/cff/cffobjs.c (cff_face_init): Compute final
`dict->units_per_em' value before assigning it to
`cffface->units_per_EM'.  Otherwise, CFFs without subfonts are be
scaled incorrectly if the font matrix is non-standard.  This fixes
Savannah bug #23630

This fixes the problem that text set in a font embedded as type 1C subset
was rendered unreadably small.
bump PKGREVISION
2008-07-08 15:44:36 +00:00
drochner
ccc18ba10e update to 2.3.6
This fixes some integer overflow/memory corruption/heap overflow
security problems: CVE-2008-1806, CVE-2008-1807, CVE-2008-1808

other changes:
-new function `FT_Get_CID_Registry_Ordering_Supplement' gives
 access to  those fields in a CID-keyed font
-code  to validate  the new  `MATH' OpenType  table
-API for cmap 14 support
-A new face flag FT_FACE_FLAG_CID_KEYED
-misc bugfixes and other improvements
2008-06-11 10:35:21 +00:00
drochner
b1558ffc40 update to 2.3.5
changes:
-Some subglyphs in TrueType fonts were handled incorrectly due to
 a missing graphics state reinitialization.
-Large .Z files  (as distributed with some X11  packages) weren't
 handled correctly, making FreeType increase the heap stack in an
 endless loop.
-A large  number of  bugs have  been fixed  to avoid  crashes and
 endless loops with invalid fonts.
-API extensions for caching, TT handling
-autohinter improvement for non-Latin scripts
-Support for Windows FON files in PE format
2007-07-06 18:16:28 +00:00
tron
83a2d61224 Apply patch from CVS repository to fix the security vulnerability
reported in CVE-2007-2754. Bump package revision.
2007-05-19 16:24:48 +00:00
drochner
533830deed update to 2.3.4
changes:
-includes security fixes for bdf font handling (was patched in pkgsrc)
-fixes for truetype butecode interpreter
2007-04-10 16:55:31 +00:00
drochner
100be868e2 pull in a patch from freetype CVS:
* src/bdf/bdflib.c (setsbit, sbitset): Handle values >= 128
  gracefully.
  (_bdf_set_default_spacing): Increase `name' buffer size to 256 and
  issue an error for longer names.
  (_bdf_parse_glyphs): Limit allowed number of glyphs in font to the
  number of code points in Unicode.

This fixes CVE-2007-1351.
2007-04-05 16:29:38 +00:00
joerg
e1f1e57afb DragonFly's /bin/sh is far from being happy about the stand-alone
backtick used for asthetic reasons.
2007-03-23 22:09:18 +00:00
drochner
92aacdf3ef update to 2.3.2
This switches to the new stable branch. There are too many API additions
and other changes to list here -- see the changelog.
Some notes:
-There is an unpatented hinter built in per default. The "truetype"
 pkgsrc option does still enable another one -- the documentation here
 is inconsistent, so I've left this alone for now. I couldn't find
 a visible effect with my fonts on my display.
-New pkgsrc option "subpixel". Enables subpixel rendering for LCDs.
 Not default because there are patent issues.
-There is sone strange effect of the CONFIG_SHELL environment valiable
 on the "configure" script. Worked around this by overriding the
 env var in the pkg Makefile. Someone understanding shell quoting might
 be able to locate the underlying problem.
2007-03-20 15:20:33 +00:00
joerg
4d98ef21f6 Add two patches to work around issues from CVE-2006-3467. Patches are
directly from FreeType CVS. Bump revision.
2006-08-22 18:43:50 +00:00
tron
a2b1f32b35 Remove stale checksum for "patch-aa". Problem pointed out by Dave Sainty. 2006-05-31 10:24:54 +00:00
tron
0d188c9d61 Update "freetype2" package to version 2.2.1. Changes since version 2.1.10
include:
- security fixes for SA20100
- version 2.2 no longer exposes its internals
- various improvements in font handling
2006-05-29 22:05:21 +00:00
reed
a0a19a25a2 Add another directory to the Cflags variable in the
pkg-config file.

This fixes problem where non-pkgsrc software builds using this info
can also find the ft2build.h header. (Not noticed in pkgsrc itself
because that include file is already known.)

This is also done in upstream version in the 2.2 release candidates.
The commit log message upstream is:
    builds/unix/freetype2.in (CFlags): Add missing directory.

Bump PKGREVISION.
2006-02-25 00:35:41 +00:00
adam
d451dbaf63 Changes 2.1.10:
I. IMPORTANT BUG FIXES
    - The size comparison for BDF and PCF files could fail sometimes.
    - Some  CFF files  were still not  loaded  correctly.   Patch from
      Derek Noonburg.
    - The stroker still had some serious bugs.
    - FreeType didn't properly parse empty Type 1 glyphs.
    - An unbound dynamic buffer growth was fixed in the PFR loader.
    - Several bugs have been fixed in the cache sub-system.
    - The auto-hinter didn't work properly for fonts without a Unicode
      charmap -- it even refused to load the glyphs.
  II. IMPORTANT CHANGES
    - Many fixes have been applied to drastically reduce the amount of
      heap   memory   used   by   FreeType,   especially   when  using
      memory-mapped font files  (which is the default on Unix  systems
      which support them).
    - The auto-hinter  has been replaced with a new module, called the
      `auto-fitter'.  It consumes  less memory  than its  predecessor,
      and it is  prepared to support non-latin scripts  better in next
      releases.
    - George Williams  contributed code to read  kerning data from PFM
      files.
  III. MISCELLANEOUS
    - The BDF driver  no longer converts  all returned bitmaps  with a
      depth of 2bpp or 4bpp to a depth of 8bpp.
    - A new option `--ftversion' has been  added to freetype-config to
      return the FreeType version.
    - The  memory  debugger  has  been  updated   to  dump  allocation
      statistics on  all allocation  sources in the library.
2005-06-30 13:01:28 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
jlam
3b561c5b17 Remove unused patch. It was patching the configure script to substitute
for @RPATH_FLAG@, but that didn't exist anywhere in the sources.
2004-08-05 02:50:37 +00:00
adam
1a376d7c4a Changes 2.1.9:
I. IMPORTANT BUG FIXES

    - The function  `FT_Get_CharMap_Index' was only declared,  without
      any  real  code.   For  consistency,  it  has  been  renamed  to
      `FT_Get_Charmap_Index'.   (This function is needed  to implement
      cmap caches.)

    - `FT_Outline_Get_BBox'  sometimes returned  incorrect values  for
      conic outlines (e.g., for TrueType fonts).

    - Handling of `bhed' table has been fixed.

    - The TrueType driver with enabled byte code interpreter sometimes
      returned artifacts due to incorrect rounding.  This bug has been
      introduced after version 2.1.4.

    - The BDF driver dropped the last glyph in the font.

    - The BDF driver now uses the DEFAULT_CHAR property (if available)
      to select a glyph shape for the undefined glyph.


  II. IMPORTANT CHANGES

    - George  Williams   contributed  code  to   handle  Apple's  font
      distortion technology found in GX fonts (`avar', `cvar', `fvar',
      and `gvar' tables;  the Multiple Masters  API has been  slightly
      extended to cope with the new functionality).

    - The `FT_GlyphSlotRec' structure has been extended:  The elements
      `lsb_delta' and  `rsb_delta' give the difference  between hinted
      and  unhinted  left and right  side bearings  if autohinting  is
      active.  Using those values can improve the inter-letter spacing
      considerably.   See the documentation of  `FT_GlyphSlotRec'  and
      the `ftstring' demo program how to use it.


  III. MISCELLANEOUS

    - A new  documentation file  `formats.txt' describes various  font
      formats supported (and not supported) by FreeType.
2004-08-02 12:30:01 +00:00
adam
bde1588a89 Changes 2.1.8:
* bug fixes

* Both  PCF  and BDF  drivers  now  handle  the SETWIDTH_NAME  and
  ADD_STYLE_NAME    properties.     Values    are   appended    to
  face->style_name; example: `Bold SemiCondensed'.

* The PCF driver now handles bitmap  fonts compressed with the LZW
  algorithm (extension .pcf.Z, compressed with `compress').

* A  new  API   function  `FT_Get_CMap_Language_ID'  (declared  in
  `tttables.h')  is  available  to   get  the  language  ID  of  a
  TrueType/SFNT cmap.

* The hexadecimal format of  data after the `StartData' command in
  CID-keyed Type 1 fonts is now supported.  While this can't occur
  in  file-based   fonts,  it  can   happen  in  document-embedded
  resources of PostScript documents.

* Embedded bitmaps in SFNT-based CFF fonts are now supported.

* A simple  API is  now available  to control  FreeType's  tracing
  mechanism if compiled  with FT_DEBUG_LEVEL_TRACE.   See the file
  `ftdebug.h' for more details.

* YAMATO Masatake contributed improved  handling of MacOS resource
  forks on non-MacOS platforms (for example, Linux can mount MacOS
  file systems).

* Support for MacOS has been improved; there is now a new function
  `FT_New_Face_From_FSSpec'  similar to `FT_New_Face'  except that
  it accepts an FSSpec instead of a path.

* The cache sub-system has been rewritten.
2004-04-27 14:59:49 +00:00
adam
be4fc71def Back to 2.1.5 2003-12-19 13:45:59 +00:00
adam
21b5805b7e CHANGES BETWEEN 2.1.7 and 2.1.6:
- Updated  to newest  libtool  version, fixing  build problems  on
      various platforms.
    - On  Unix  platforms,  `make  install' didn't  copy  the  correct
      `ftconfig.h' file.

CHANGES BETWEEN 2.1.6 and 2.1.5:
    - The PFR  font driver didn't  load kerning tables  correctly, and
      the functions in FT_PFR_H didn't work at all.
    - Type 1 font  files in  binary format  (PFB) with  an end-of-file
      indicator weren't accepted by the FreeType engine.
    - Fonts which contain /PaintType  and /StrokeWidth no longer cause
      a segfault.  This bug has been introduced in version 2.1.5.
    - Fonts  loaded  with   FT_LOAD_RENDER  no  longer  cause  strange
      results.  This bug has been introduced in version 2.1.5.
    - Some  Windows   (bitmap)  FNT/FON  files   couldn't  be  handled
      correctly.
    - The internal  module API  has been heavily  changed in  favor of
      massive simplifications within the font engine.
    - The PostScript  parser has been enhanced to  handle comments and
      strings   correctly.   Additionally,   more  syntax   forms  are
      recognized.
    - Added the  optional unpatented hinting system  for TrueType.
    - There  is now  a guard  in the  public header  files  to protect
      against inclusion of freetype.h from FreeType 1.
    - Direct inclusion of freetype.h  and other public header files no
      longer works.  You have to use the documented scheme
          #include <ft2build.h>
          #include FT_FREETYPE_H
      to load freetype.h with  a symbolic name.  This protects against
      renaming  of public  header  files (which  shouldn't happen  but
      actually  has, avoiding two  public header  files with  the same
      name).
2003-12-18 11:28:42 +00:00
adam
1db4d5a465 LATEST CHANGES BETWEEN 2.1.5 and 2.1.4
I. IMPORTANT BUG FIXES
    - Parsing the /CIDFontName field now removes the leading slash to
      be in sync with other font drivers.
    - gzip support was buggy. Some fonts could not be read.
    - Fonts which have nested subglyphs more than one level deep no
      longer cause a segfault.
    - Creation of synthetic cmaps for fonts in CFF format was broken
      partially.
    - Numeric font dictionary entries for synthetic fonts are no longer
      overwritten.
    - The font matrix wasn't applied to the advance width for Type1, CID,
      and CFF fonts. This caused problem when loading certain synthetic
      Type 1 fonts like "Helvetica Narrow"
    - The test for the charset registry in BDF and PCF fonts is now
      case-insensitive.
    - FT_Vector_Rotate rotating sometimes returned strange values due to
      rounding errors.
    - The PCF driver now returns the correct number of glyphs (including
      an artificial `notdef' glyph at index 0).
    - FreeType now supports buggy CMaps which are contained in many CJK
      fonts from Dynalab.
    - Opening an invalid font on a Mac caused a segfault due to
      double-freeing memory.
    - BDF fonts with more than 32768 glyphs weren't supported properly.

  II. IMPORTANT CHANGES
    - Accessing bitmap font formats has been synchronized.  To do that
      the FT_Bitmap_Size structure has been extended to contain new
      fields `size', `x_ppem', and `y_ppem'.
    - The FNT driver now returns multiple faces, not multiple strikes.
    - The `psnames' module has been updated to the Adobe Glyph List
      version 2.0.
    - The `psnames' module now understands `uXXXX[X[X]]' glyph names.
    - The algorithm for guessing the font style has been improved.
    - For fonts in sfnt format, root->height is no longer increased if
      the line gap is zero.  There exist fonts (containing e.g. form
      drawing characters) which intentionally have a zero line gap value.
    - ft_glyph_bbox_xxx flags are now deprecated in favour of
      FT_GLYPH_BBOX_XXX.
    - ft_module_xxx flags are now deprecated in favour of FT_MODULE_XXX.
    - FT_ENCODING_MS_{SJIS,GB2312,BIG5,WANSUNG,JOHAB} are now deprecated
      in favour of FT_ENCODING_{SJIS,GB2312,GIB5,WANSONG,JOHAB} -- those
      encodings are not specific to Microsoft.

  III. MISCELLANEOUS
    - The autohinter has been further improved; for example, `m' glyphs
      now retain its vertical symmetry.
    - Partial support of Mac fonts on non-Mac platforms.
    - `make refdoc' (after first `make') builds the HTML documentation.
      You need Python for this.
    - The make build system should now work more reliably on DOS-like
      platforms.
    - Support for EMX gcc and Watson C/C++ compilers on MS-DOS has been
      added.
    - Better VMS build support.
    - Support for the pkg-config package by providing a `freetype.pc'
      file.
    - New configure option --with-old-mac-fonts for Darwin.
    - Some source files have been renamed (mainly to fit into the 8.3
      naming scheme).
2003-09-13 08:32:18 +00:00
wiz
69ef771841 Update to 2.1.4, provided by Christopher Richards in PR 21191.
Extract of changes:
    - a fix in the Gzip stream reader, it couldn't read certain .gz files
      properly due to a small typo. In certain cases, FreeType could also
      loop endlessly when trying to load tiny gzipped files.
    - certain fonts couldn't be loaded by 2.1.3 because they lacked a
      Unicode charmap (e.g. SYMBOL.TTF). FreeType erroneously rejected
      them.
    - the CFF loader was modified to accept fonts which only
      contain a subset of their reference charset. This prevented the
      correct use of PDF-embedded fonts.
    - the logic to detect Unicode charmaps has been modified. this is required
      to support fonts which include both 16-bit and 32-bit charmaps (like
      very recent asian ones) using the new 10 and 12 SFNT formats.
    - the TrueType loader now limits the depth of composite glyphs. This is
      necessary to prevent broken fonts to break the engine by blowing the
      stack with recursive glyph definitions.
    - the CMap cache is now capable of managing UCS-4 character codes that
      are mapped through extended charmaps in recent TrueType/OpenType fonts
    - the cache sub-system now properly manages out-of-memory conditions,
      instead of blindly reporting them to the caller. This means that it
      will try to empty the cache before restarting its allocations to see
      if that can help.
    - the PFR driver didn't return the list of available embedded bitmaps
      properly.

    - David Chester contributed some enhancements to the auto-hinter that
      significantly increase the quality of its output. The Postscript hinter
      was also improved in several ways..
    - the FT_RENDER_MODE_LIGHT render mode was implemented
    - a new API, called FT_Get_BDF_Property has been added to FT_BDF_H to
      retrieve BDF properties from BDF _and_ PCF font files. THIS IS STILL
      EXPERIMENTAL, since it hasn't been properly tested yet.
    - a Windows FNT specific API has been added, mostly to access font
      headers. This is used by Wine
    - TrueType tables without a "hmtx" table are now tolerated when an
      incremental interface is used. This happens for certain Type42 fonts
      passed from Ghostscript to FreeType.
    - the PFR font driver is now capable of returning the font family and
      style names when they're available (instead of the sole "FontID"). This
      is performed by parsing an *undocumented* portion of the font file !!
2003-04-16 08:53:45 +00:00
dillo
830413cb62 fix two bugs in freetype-config that prevent it from working outside
of pkgsrc:
- place -I${LOCALBASE}/freetype2 before -I${LOCALBASE}, since
  otherwise freetype 1 headers might be used
- add -Wl,${RPATH_FLAG}

bump pkgrevision
2003-03-21 22:25:50 +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
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
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
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