Al-Qurtas-Islamic-bank-The-.../src/sfnt
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
..
Jamfile 2002-11-05 David Turner <david@freetype.org> 2002-11-06 22:32:54 +00:00
descrip.mms * src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU). 2002-03-31 18:48:24 +00:00
module.mk Added copyright messages to all Makefiles. 2000-10-17 03:38:43 +00:00
rules.mk Completely revised FreeType's make management. 2003-06-09 04:46:30 +00:00
sfdriver.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
sfdriver.h finishing function header formatting 2001-06-28 17:49:10 +00:00
sferrors.h Formatting. 2001-06-19 23:03:41 +00:00
sfnt.c * src/sfnt/ttcmap.c: 16bit fixes (0xFFFF -> 0xFFFFU). 2002-03-31 18:48:24 +00:00
sfobjs.c A new try to synchronize bitmap font access. 2003-07-01 07:28:55 +00:00
sfobjs.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttcmap.c * src/include/freetype/internal/tttypes.h (num_sbit_strikes, 2002-09-28 16:40:57 +00:00
ttcmap.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttcmap0.c * src/winfonts/winfnt.c (FNT_Load_Glyph): Use first_char in 2003-06-22 15:33:53 +00:00
ttcmap0.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttload.c 2003-06-25 Owen Taylor <otaylor@redhat.com> 2003-06-30 13:08:58 +00:00
ttload.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttpost.c * src/sfnt/ttpost.c (load_post_names, tt_face_free_ps_names, 2002-09-27 11:09:23 +00:00
ttpost.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttsbit.c * src/tools/glnames.py: Updated to AGL 2.0. 2003-06-23 19:26:53 +00:00
ttsbit.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00