summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2001-05-24 15:00:19 +0000
committerDavid Turner <david@freetype.org>2001-05-24 15:00:19 +0000
commit664643336a00d24240f460dae524b6e528353f4e (patch)
tree6cf4e5448f9b8d66c907d91d4965e1341edcf535
parent09c9ac29363f9048c624bfbbdae99b33d9cfd226 (diff)
downloadfreetype2-664643336a00d24240f460dae524b6e528353f4e.tar.gz
moving documents to the "docs" directory
-rw-r--r--ChangeLog4
-rw-r--r--README8
-rw-r--r--builds/compiler/gcc.mk1
-rw-r--r--docs/CHANGES (renamed from CHANGES)106
-rw-r--r--docs/license.txt (renamed from LICENSE.TXT)0
-rw-r--r--docs/readme.vms (renamed from README.VMS)0
-rw-r--r--docs/todo (renamed from TODO)0
-rw-r--r--src/base/ftcalc.c2
8 files changed, 115 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b7d7ad62..b0ebebed4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-25 David Turner <david@freetype.org>
+
+ * moved several documents from the top-level to the "docs" directory
+
2001-05-16 David Turner <david@freetype.org>
* src/truetype/ttgload.c (load_truetype_glyph): Fixed a bug in the
diff --git a/README b/README
index 2510d1cfb..f30d3e6b3 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
- FreeType 2.0.2
+ FreeType 2.0.3
==============
Please read the CHANGES file, it contains IMPORTANT INFORMATION.
@@ -9,9 +9,9 @@
Note that the FreeType 2 documentation is now available as a separate
package from our sites. See:
- ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.2.tar.bz2
- ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.2.tar.gz
- ftp://ftp.freetype.org/pub/freetype2/ftdoc202.zip
+ ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.3.tar.bz2
+ ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.3.tar.gz
+ ftp://ftp.freetype.org/pub/freetype2/ftdoc203.zip
Enjoy!
diff --git a/builds/compiler/gcc.mk b/builds/compiler/gcc.mk
index 34a3ad7a0..f2c94de3b 100644
--- a/builds/compiler/gcc.mk
+++ b/builds/compiler/gcc.mk
@@ -52,7 +52,6 @@ L := -l
#
T := -o$(space)
-
# C flags
#
# These should concern: debug output, optimization & warnings.
diff --git a/CHANGES b/docs/CHANGES
index a3d25c4da..c379151c9 100644
--- a/CHANGES
+++ b/docs/CHANGES
@@ -1,3 +1,109 @@
+LATEST CHANGES BETWEEN 2.0.3 and 2.0.3
+
+ I. CHANGES TO THE MODULES / FONT DRIVERS :
+
+ - THE AUTO-HINTER HAS BEEN SLIGHTLY IMPROVED, in order to fix several
+ annoying artefacts, mainly:
+
+ - blue zone alignement of horizontal stems wasn't performed
+ correctly, resulting in artefacts like the "d" being placed
+ one pixel below the "b" in some fonts like Time New Roman
+
+ - overshoot thresholding wasn't performed correctly, creating
+ unpleasant artefacts at large character pixel sizes
+
+ - composite glyph loading has been simplified. This gets rid
+ of various artefacts where the components of a composite glyphs
+ were not correctly spaced.
+
+ These are the last changes to the current auto-hinting module.
+ A new hinting sub-system is currently in the work in order to
+ support native hints in Type 1 / CFF / OpenType fonts, as well
+ as globally improve rendering
+
+
+ - The PCF driver has been fixed. It reported invalid glyph dimensions
+ for the fonts available on Solaris.
+
+ - The Type 1, CID and CFF drivers have been modified to fix the
+ computation of the EM size
+
+ - The Type 1 driver has been fixed to avoid a dangerous bug that
+ crashed the library with non-conforming fonts (i.e. ones that
+ do not place the .notdef glyph at position 0)
+
+ - The TrueType driver had a rather subtle bug (dangling pointer when
+ loading composite glyphs) that could crash the library in rare
+ occasions !
+
+
+ II. HIGH-LEVEL API CHANGES :
+
+ - the error code enumeration values have been changed. An error
+ value is decomposed in a generic error code, and a module number.
+ see <freetype/fterrors.h> for details
+
+ - a new public header file has been introduced, named FT_TRIGONOMETRY_H
+ (include/freetype/fttrig.h), providing trigonometric functions to
+ compute sines, cosines, arctangents, etc.. with 16.16 fixed
+ precision. The implementation is based on the CORDIC algorithm
+ and is very fast while being sufficiently accurate.
+
+
+ III. INTERNALS :
+
+ - added BeOS-specific files in the old build sub-system. Note that
+ no changes were required to compile the library with Jam.
+
+ - the configuration is now capable of automatically detecting 64-bit
+ integers on a set of predefined compilers (GCC,Visual C++,Borland C++)
+ and will use them by default. This provides a small performance
+ boost
+
+ - a small memory leak that happened when opening 0-sized files (duh !!)
+ have been fixed..
+
+ - fixed bezier stack depth bug in the routines provided by the
+ FT_BBOX_H header file. Also fixed similar bugs in the rasterizers.
+
+ - the outling bounding box code has been rewritten to use direct
+ computations, instead of bezier sub-division, to compute the
+ exact bounding box of glyphs. This is slightly slower but more
+ accurate.
+
+ - The build system has been improved and fixed, mainly to support "make"
+ on Windows 2000 correctly, avoid problems with "make distclean" on
+ non Unix systems, etc..
+
+ - hexadecimal constants have been suffixed with "U" to avoid problems
+ with certain compilers on 64-bit platforms.
+
+ - a new directory named "src/tools" has been created. It contains
+ Python scripts and simple unit test programs used to develop the
+ library.
+
+ - the DocMaker tool has been moved from "docs" to "src/tools" and
+ has been updated with the following:
+
+ - now accepts the "--title=XXXX" or "-t XXXX" option from the
+ command line to set the project's name in the generated
+ API reference
+
+ - now accepts the "--output=DIR" or "-o DIR" option from the
+ command line to set the output directory for all generated
+ HTML files
+
+ - now accepts the "--prefix=XXXX" or "-p XXX" option from the
+ command line to set the file prefix to use for all generated
+ HTML files.
+
+ - now generates the current time/data on each generated page
+ in order to distinguish between versions.
+
+ DocMaker can be used with other projects now, not only FT2
+ (e.g. MLib, FTLayout, etc..)
+
+===========================================================================
LATEST CHANGES BETWEEN 2.0.2 and 2.0.1
diff --git a/LICENSE.TXT b/docs/license.txt
index 741bc9f45..741bc9f45 100644
--- a/LICENSE.TXT
+++ b/docs/license.txt
diff --git a/README.VMS b/docs/readme.vms
index a82b9fd01..a82b9fd01 100644
--- a/README.VMS
+++ b/docs/readme.vms
diff --git a/TODO b/docs/todo
index 552da0aa2..552da0aa2 100644
--- a/TODO
+++ b/docs/todo
diff --git a/src/base/ftcalc.c b/src/base/ftcalc.c
index 327b31800..899c9c8f5 100644
--- a/src/base/ftcalc.c
+++ b/src/base/ftcalc.c
@@ -190,7 +190,7 @@
/* compute result directly */
q = ( ((FT_Int64)a << 16) + (b >> 1)) / b;
- return (FT_Long)( s < 0 ? -q : q );
+ return ( s < 0 ? -(FT_Long)q : (FT_Long)q );
}