freetype2/include/freetype/internal
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
..
autohint.h updating sources to support the new FT_LOAD_TARGET_ constants 2002-08-27 22:34:20 +00:00
bdftypes.h * include/freetype/ftbdf.h, include/freetype/internal/bdftypes.h, 2003-01-22 22:45:28 +00:00
cfftypes.h Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
fnttypes.h A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
ftcalc.h
ftcore.h
ftdebug.h Fixing ChangeLog entries. 2002-07-26 09:09:10 +00:00
ftdriver.h * include/freetype/internal/ftdriver.h, 2003-06-05 04:31:05 +00:00
ftexcept.h
ftgloadr.h * include/freetype/freetype.h (FT_Open_Flags): Replaced with 2003-06-18 06:59:57 +00:00
fthash.h updatinf the object sub-system and dynamic hash table implementations 2002-07-11 16:27:16 +00:00
ftmemory.h * builds/compiler/gcc.mk, builds/compiler/gcc-dev.mk (CFLAGS): 2003-06-17 22:50:09 +00:00
ftobject.h updatinf the object sub-system and dynamic hash table implementations 2002-07-11 16:27:16 +00:00
ftobjs.h * include/freetype/freetype.h (FT_Open_Flags): Replaced with 2003-06-18 06:59:57 +00:00
ftstream.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrace.h * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. 2002-05-21 14:13:01 +00:00
internal.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
pcftypes.h Cleanups. 2003-04-22 07:49:24 +00:00
pfr.h Cleanups. 2003-04-22 07:49:24 +00:00
psaux.h * include/freetype/internal/psaux.h (T1_FieldType): Add 2003-06-12 13:14:15 +00:00
pshints.h * src/autohint/ahhint.c (ah_hinter_hint_edges): Removed. Just a 2003-06-03 11:51:43 +00:00
psnames.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
sfnt.h Cleanups. 2003-04-22 07:49:24 +00:00
t1types.h Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
t42types.h Minor fixes. Formatting. 2002-06-22 13:35:41 +00:00
tttypes.h Minor cleanups. 2003-04-29 13:23:47 +00:00