freetype2/include/freetype
Werner Lemberg 6d79899362 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
..
cache * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
config * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
internal A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
freetype.h A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
ftbbox.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftbdf.h * include/freetype/freetype.h (FT_Open_Flags): Replaced with 2003-06-18 06:59:57 +00:00
ftcache.h * include/freetype/ftcache.h (FT_POINTER_TO_ULONG): New macro. 2002-10-25 12:22:31 +00:00
ftchapters.h updating documentation & changes 2002-11-13 23:28:08 +00:00
fterrdef.h * src/type42/t42drivr.c: s/T42_ENCODING_TYPE_/T1_ENCODING_TYPE_/. 2002-05-21 14:13:01 +00:00
fterrors.h * builds/vms/ftconfig.h: Rename LOCAL_DEF and LOCAL_FUNC to 2002-03-29 07:43:04 +00:00
ftglyph.h * include/freetype/ftglyph.h (ft_glyph_bbox_unscaled, 2003-06-17 10:42:27 +00:00
ftgzip.h Cleanups. 2003-04-22 07:49:24 +00:00
ftimage.h A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
ftincrem.h * include/freetype/freetype.h (FT_Open_Flags): Replaced with 2003-06-18 06:59:57 +00:00
ftlist.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmac.h Formatting. 2001-12-07 21:56:32 +00:00
ftmm.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ftmoderr.h * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
ftmodule.h * include/freetype/ftglyph.h (ft_glyph_bbox_unscaled, 2003-06-17 10:42:27 +00:00
ftoutln.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ftpfr.h Cleanups. 2003-04-22 07:49:24 +00:00
ftrender.h * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ftsizes.h documentation updates for 2.1.2 2002-06-23 10:57:31 +00:00
ftsnames.h * src/truetype/ttgload.c: 16bit fixes. 2002-04-01 14:25:28 +00:00
ftstroke.h * include/freetype/ftstroker.h: Renamed to... 2003-06-07 04:02:21 +00:00
ftsynth.h * include/freetype/ftsynth.h, src/base/ftsynth.c: rewriting the automatic 2002-07-01 21:33:48 +00:00
ftsysio.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsysmem.h Formatting, minor doc fixes. 2002-09-18 11:32:12 +00:00
ftsystem.h * include/freetype/ftgzip.h, src/gzip/ftgzip.c: 2002-10-31 22:19:27 +00:00
fttrigon.h * include/freetype/fttrigon.h (FT_Vector_Normalize): Removed. 2003-06-01 21:30:04 +00:00
fttypes.h Adding some comments. 2002-08-18 07:15:52 +00:00
ftwinfnt.h Cleanups. 2003-04-22 07:49:24 +00:00
ftxf86.h * src/bdf/descrip.mms, src/type42/descrip.mms: New files. 2002-05-30 19:22:14 +00:00
t1tables.h Avoid overwriting of numeric font dictionary entries for synthetic 2003-05-30 09:12:50 +00:00
ttnameid.h * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
tttables.h Cleanups. 2003-04-22 07:49:24 +00:00
tttags.h finishing function header formatting 2001-06-28 17:49:10 +00:00
ttunpat.h Minor cleanups. 2003-04-29 13:23:47 +00:00