Go to file
Wu, Chia-I (吳佳一) bcc438b15e * include/freetype/freetype.h (FT_Select_Size): Rename the second
argument from `idx' to `strike_index'.
(FT_Size_Request_Type): Add FT_SIZE_REQUEST_TYPE_MAX to the end of
this enum.

* include/freetype/internal/ftobjs.h (FT_REQUEST_WIDTH,
FT_REQUEST_HEIGHT): New macros to get the width and height of a
request, in fractional pixels.

* include/freetype/internal/ftobjs.h (FT_Select_Metrics,
FT_Request_Metrics), src/base/ftobjs.c (FT_Select_Metrics,
FT_Request_Metrics): New base functions to set the font metrics.  They
were part of FT_Select_Size/FT_Request_Size and are made independent
functions so that metrics are not set again and again.

* src/base/ftobjs.c (FT_Select_Size, FT_Request_Size): Metrics are set
only when driver's size_select/size_request is NULL.  That is, drivers
should set the metrics themselves.
(FT_Match_Size): Round before matching.  This was what we did and it
does cause some problems without rounding.

* src/cff/cffobjs.c (cff_size_select), src/truetype/ttdriver.c
(tt_size_select): Set the font metrics.
s/index/strike_index/.
The scaled metrics are always preferred over strikes' metrics, even
when some strike is selected.  This is done because the strikes'
metrics are not reliable, e.g., the sign of the descender is wrong for
some fonts.

* src/cff/cffobjs.c (cff_size_request), src/truetype/ttdriver.c
(tt_size_request): Set the font metrics.
Call cff_size_select/tt_size_select when some strike is matched.

* src/bdf/bdfdrivr.c, src/cff/cffobjs.c, src/cid/cidobjs.c,
src/pcf/pcfdrivr.c, src/truetype/ttdriver.c, src/type1/t1objs.c,
src/type1/t1objs.h, src/type42/t42objs.c, src/winfonts/winfnt.c:
Set the font metrics.
s/index/strike_index/.

* src/tools/test_afm.c, src/psaux/psconv.c: Older versions of these
files were committed.  Just a catch-up.
(PS_Conv_ToFixed): Remove the `goto'.
(PS_Conv_ASCIIHexDecode, PS_Conv_EexecDecode): Speed up a little.

* src/sfnt/ttsbit.c (tt_face_load_sbit_strikes,
tt_face_load_strike_metrics), src/sfnt/ttsbit0.c
(tt_face_load_sbit_strikes, tt_face_load_strike_metrics): The
advertised metrics in `available_sizes' are different from those
actually used.
2006-01-23 14:12:40 +00:00
builds * builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from 2006-01-23 07:28:03 +00:00
devel * include/freetype/config/ftoption.h: commenting the definition of 2005-04-03 22:09:41 +00:00
docs * builds/win32/visualc/freetype.dsp: Updated. 2006-01-19 08:30:58 +00:00
include * include/freetype/freetype.h (FT_Select_Size): Rename the second 2006-01-23 14:12:40 +00:00
objs updated 2003-06-18 07:06:54 +00:00
src * include/freetype/freetype.h (FT_Select_Size): Rename the second 2006-01-23 14:12:40 +00:00
.cvsignore Formatting. 2000-10-31 19:42:53 +00:00
ChangeLog * include/freetype/freetype.h (FT_Select_Size): Rename the second 2006-01-23 14:12:40 +00:00
ChangeLog.20 * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be 2005-06-16 19:07:08 +00:00
ChangeLog.21 * src/base/ftoutln.c (FT_Outline_Embolden): Strength should be 2005-06-16 19:07:08 +00:00
Jamfile * Jamfile, docs/reference/README: fix it so that "jam refdoc" works 2005-12-23 13:32:06 +00:00
Jamrules Add license. 2005-06-04 23:04:30 +00:00
Makefile Add license. 2005-06-04 23:04:30 +00:00
README Add license. 2005-06-04 23:04:30 +00:00
README.CVS Add license. 2005-06-04 23:04:30 +00:00
autogen.sh Add license. 2005-06-04 23:04:30 +00:00
configure Add license. 2005-06-04 23:04:30 +00:00
vms_make.com Add license. 2005-06-04 23:04:30 +00:00

README

  Special notes to Unix users
  ===========================

  Please  read  the file  "docs/UPGRADE.UNX".   It contains  important
  information regarding the installation  of FreeType on Unix systems,
  especially GNU based operating systems like GNU/Linux.

  FreeType 2's  library is called `libfreetype',  FreeType 1's library
  is called `libttf'.  They are *not* compatible!


  FreeType 2.1.10
  ===============

  Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION.

  Read the files "docs/INSTALL" for installation instructions.

  Note  that  the FreeType  2  documentation  is  now available  as  a
  separate package from our sites.  See:

    ftp://ftp.freetype.org/freetype/freetype2/ftdocs-2.1.10.tar.bz2
    ftp://ftp.freetype.org/freetype/freetype2/ftdocs-2.1.10.tar.gz
    ftp://ftp.freetype.org/freetype/freetype2/ftdoc2110.zip


  Bugs
  ====

  Please report bugs by  e-mail to `devel@freetype.org'.  Don't forget
  to send  a detailed explanation of  the problem --  there is nothing
  worse  than receiving  a terse  message that  only says  "it doesn't
  work".


  Enjoy!


    The FreeType Team

----------------------------------------------------------------------

Copyright 2001, 2002, 2003, 2004 by
David Turner, Robert Wilhelm, and Werner Lemberg.

This file  is part  of the  FreeType project,  and may  only be  used,
modified,  and distributed  under the  terms of  the FreeType  project
license,  LICENSE.TXT.  By  continuing to  use, modify,  or distribute
this file you  indicate that you have read  the license and understand
and accept it fully.


--- end of README ---