Al-Qurtas-Islamic-bank-The-.../include/freetype/internal
Werner Lemberg 01705395b0 [sfnt] Add support for Apple's `sbix' color bitmap table.
* include/freetype/internal/tttypes.h (TT_SBit_MetricsRec): Widen
fields to FT_Short and FT_UShort, respectively.
(TT_SBitTableType): New enumeration.
(TT_FaceRec): Add `sbit_table_type' field.

* include/freetype/tttags.h (TTAG_sbix): New macro.

* src/sfnt/pngshim.c (Load_SBit_Png): Pass a more generic
FT_GlyphSlot argument instead FT_Bitmap.
Add flag to control map and metrics handling.
Update all users.

* src/sfnt/ttsbit.c: Include `ttmtx.h'.
(tt_face_load_eblc): Renamed to...
(tt_face_load_sbit): This.
Handlic `sbix' bitmaps.
(tt_face_free_eblc): Renamed to...
(tt_face_load_sbit): This.
Updated.
(tt_face_load_strike_metrics): Handle `sbix' bitmaps.
(tt_face_load_sbix_image): New function.
(tt_sbit_decoder_alloc_bitmap, tt_sbit_decoder_load_image,
tt_sbit_decoder_load_byte_aligned, tt_sbit_decoder_load_bit_aligned,
tt_sbit_decoder_load_compound, tt_sbit_decoder_load_png,
tt_sbit_decoder_load_image, tt_sbit_decoder_load_bitmap): Don't pass
and handle load flags.
(tt_sbit_decoder_load_bitmap) [!FT_CONFIG_OPTION_USE_PNG]: Better
handle formats 17-19.
Move color to grayscale conversion to...
(tt_face_load_sbit_image): Here.
Handle `sbix' bitmaps.

* src/sfnt/pngshim.h: Updated.
* src/sfnt/ttsbit.h: Updated.
* src/sfnt/sfdriver.c: Updated.
2013-07-18 13:13:12 +02:00
..
services Use `FT_Module' instead of `FT_Library' argument in property funcs. 2012-09-15 09:10:06 +02:00
autohint.h [autofit] Some macro and variable renamings for orthogonality. 2012-08-27 06:57:05 +02:00
ftcalc.h */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code. 2013-05-10 07:58:47 +02:00
ftdebug.h Another try on pragmas. 2013-06-12 23:33:11 +02:00
ftdriver.h */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code. 2013-05-10 07:58:47 +02:00
ftgloadr.h Prevent the overflows by a glyph with too many points or contours. 2009-07-08 14:52:11 +09:00
ftmemory.h Fix compiler warnings. 2013-06-05 13:43:20 +02:00
ftobjs.h Fix Savannah bug #39266. 2013-06-18 09:35:34 +02:00
ftpic.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftrfork.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
ftserv.h Another try on pragmas. 2013-06-12 23:33:11 +02:00
ftstream.h Next round of compiler fixes. 2013-06-06 09:16:38 +02:00
fttrace.h [cff] Add a new Type 2 interpreter and hinter. 2013-04-13 18:53:28 +02:00
ftvalid.h Add and improve pragmas for MSVC compiler. 2013-06-07 18:10:40 +02:00
internal.h Another try on pragmas. 2013-06-12 23:33:11 +02:00
psaux.h [type1] Fix handling of /FontBBox in MM fonts. 2012-12-23 21:14:37 +01:00
pshints.h Formatting, comment fixes. 2012-07-29 13:15:53 +02:00
sfnt.h */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code. 2013-05-10 07:58:47 +02:00
t1types.h */* [FT_CONFIG_OPTION_OLD_INTERNALS]: Remove macro and guarded code. 2013-05-10 07:58:47 +02:00
tttypes.h [sfnt] Add support for Apple's `sbix' color bitmap table. 2013-07-18 13:13:12 +02:00