Al-Qurtas-Islamic-bank-The-.../src/sfnt
Werner Lemberg ee3cc2e4fc Fix handling of EBDT formats 8 and 9 (part 2).
This patch fixes the following problems in ttsbit0.c:

. Bitmaps for compound glyphs were never allocated.

. `SBitDecoder' refused to load metrics if some other metrics have
  already been loaded.  This condition certainly makes no sense for
  recursive calls, so I've just disabled it.  Another possibility
  would be resetting `decoder->metrics_loaded' to false before
  loading each composite component.  However, we must restore the
  original metrics after finishing the recursion; otherwise we can
  get a misaligned glyph.

. `tt_sbit_decoder_load_bit_aligned' incorrectly handled `x_pos',
  causing some glyph components to be shifted too far to the right
  (especially noticeable for small sizes).

Note that support for grayscale bitmaps (not necessarily compound) is
completely broken in ttsbit0.c.

* src/sfnt/tt_sbit_decoder_load_metrics: Always load metrics.
(tt_sbit_decoder_load_bit_aligned): Handle `x_pos' correctly in case
of `h == height'.
(tt_sbit_decoder_load_compound): Reset metrics after loading
components.
Allocate bitmap.
2009-03-09 13:13:44 +00:00
..
Jamfile * src/{otvalid,sfnt}/Jamfile: Add missing targets for multi build by jam 2008-09-21 18:33:57 +00:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk * src/base/ftoutln.c (FT_Outline_Get_Orientation): Fix compilation 2007-01-13 08:45:00 +00:00
sfdriver.c Implement FT_Get_Name_Index for SFNT driver. 2009-01-18 10:53:29 +00:00
sfdriver.h finishing function header formatting 2001-06-28 17:49:10 +00:00
sferrors.h * include/freetype/internal/ftobjs.h: Don't include 2004-09-06 07:06:56 +00:00
sfnt.c * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in 2006-02-15 06:05:52 +00:00
sfobjs.c Fix Savannah bug #25495. 2009-02-09 22:20:27 +00:00
sfobjs.h * massive re-formatting changes to many, many source files. I don't 2002-08-27 20:20:29 +00:00
ttbdf.c Formatting, copyright years. 2006-02-25 16:52:16 +00:00
ttbdf.h Convert to Unix line endings. 2006-03-01 11:31:08 +00:00
ttcmap.c Protect FT_Get_Next_Char. 2009-01-18 13:13:17 +00:00
ttcmap.h * src/sfnt/ttcmap.c, src/sfnt/ttcmap.h: 2005-11-30 18:47:49 +00:00
ttkern.c Formatting. 2009-03-03 23:34:49 +00:00
ttkern.h formatting, minor doc fixes, copyright years 2007-01-05 09:03:31 +00:00
ttload.c * include/freetype/freetype.h (FT_LOAD_ADVANCE_ONLY): Use value 2008-12-05 18:37:44 +00:00
ttload.h * include/freetype/ftoutln.h (FT_Outline_Embolden): Mention in 2006-02-15 06:05:52 +00:00
ttmtx.c Formatting. 2008-11-29 09:31:44 +00:00
ttmtx.h Clean up the SFNT_Interface. In this final pass, `load_hmtx' is 2006-02-14 07:25:57 +00:00
ttpost.c * src/sfnt/sfobjs.c (tt_face_get_name): Modified to return an error 2008-11-08 07:20:25 +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 Fix handling of EBDT formats 8 and 9. 2009-03-02 09:09:12 +00:00
ttsbit.h Formatting. 2008-11-29 09:31:44 +00:00
ttsbit0.c Fix handling of EBDT formats 8 and 9 (part 2). 2009-03-09 13:13:44 +00:00