Go to file
Werner Lemberg a9c7e677de A new try to synchronize bitmap font access.
include/freetype/freetype.h (FT_Bitmap_Size): `height' is now
defined to return the baseline-to-baseline distance.  This was
already the value returned by the BDF and PCF drivers.

The `width' field now gives the average width.  I wasn't able to
find something better.  It should be taken as informative only.

New fields `size', `x_ppem', and `y_ppem'.

* src/pcf/pcfread.c (pcf_load_font): Updated to properly fill
FT_Bitmap_Size.
Do proper rounding and conversion from 72.27 to 72 points.

* src/bdf/bdfdrivr.c (BDF_Face_Init): Updated to properly fill
FT_Bitmap_Size.
Do proper rounding and conversion from 72.27 to 72 points.

* src/sfnt/sfobjs.c (sfnt_load_face): Updated to properly fill
FT_Bitmap_Size.

* src/winfonts/winfnt.c (FNT_Face_Init): Updated to properly fill
FT_Bitmap_Size.

Redesigning the FNT driver to return multiple faces, not multiple
strikes.  At least one font (app850.fon from WinME) contains
different FNT charmaps for its subfonts.  Consequently, the previous
design of having multiple bitmap strikes in a single font face fails
since we have only one charmap per face.

* include/freetype/internal/fnttypes.h (FNT_Size_Rec): Removed.
(FNT_FaceRec): Remove `num_fonts' field and replace `fonts' with
`font'.

* src/base/ftwinfnt.c (FT_Get_WinFNT_Header): Updated.

* src/winfonts/winfnt.c (fnt_font_load): Don't set pixel_width equal
to pixel_height.
(fnt_face_done_fonts): Removed.
(fnt_face_get_dll_fonts): Renamed to...
(fnt_face_get_dll_font): This.  Add second function argument to
select face index.
Updated to load just one subfont.
(fnt_font_done, FNT_Face_Done): Updated.
(FNT_Face_Init): Handle `face_index'.
Updated.
(FNT_Size_Set_Pixels): Simplified; similar to BDF and PCF, the
bitmap width is now ignored.
(FNT_Load_Glyph): Updated.
Fix glyph index computation.
(winfnt_driver_class): Updated.
2003-07-01 07:28:55 +00:00
builds * builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS): 2003-06-17 22:50:09 +00:00
devel Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
docs Minor documentation typos. 2003-06-14 21:39:17 +00:00
include A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
objs updated 2003-06-18 07:06:54 +00:00
src A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
tests Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
.cvsignore Formatting. 2000-10-31 19:42:53 +00:00
ChangeLog A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
configure * Makefile, configure, */*.mk, builds/unix/unix-def.in, 2002-06-14 08:09:25 +00:00
install Formatting. 2002-01-09 21:01:18 +00:00
Jamfile * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
Jamfile.in * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
Jamrules * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
Makefile * Makefile, configure, */*.mk, builds/unix/unix-def.in, 2002-06-14 08:09:25 +00:00
README * doc/INSTALL.UNX: Cleaned up. 2003-04-21 13:30:27 +00:00
vms_make.com * vms_make.com: Reworked support for shareable images on VMS. The 2003-05-28 06:27:26 +00:00

  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.4
  ==============

  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/pub/freetype2/ftdocs-2.1.4.tar.bz2
    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.1.4.tar.gz
    ftp://ftp.freetype.org/pub/freetype2/ftdoc214.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