Al-Qurtas-Islamic-bank-The-.../src/sfnt
Werner Lemberg 37e193e935 Introduce a way of quickly retrieving (embedded) bitmap metrics.
`FT_Load_Glyph' doesn't generate a bitmap for a non-bitmap glyph
until the user calls `FT_Render_Glyph'.  However, it always
allocates memory for bitmaps and copies or decodes the contents of a
bitmap glyph, which can be quite slow for PNG data.

* include/freetype/freetype.h (FT_LOAD_BITMAP_METRICS_ONLY): New
macro.

* src/base/ftobjs.c (FT_Load_Glyph): Unset FT_LOAD_RENDER if
FT_LOAD_BITMAP_METRICS_ONLY is used.

* src/sfnt/ttsbit.c (tt_sbit_decoder_alloc_bitmap,
tt_sbit_decoder_load_bitmap): Add argument to control allocation of
the glyph slot.
(tt_sbit_decoder_load_image, tt_sbit_decoder_load_compound,
tt_face_load_sbit_image): Updated.

* src/pcf/pcfdrivr.c (PCF_Glyph_Load): Quickly exit if
`FT_LOAD_BITMAP_METRICS_ONLY' is set.

* src/pfr/pfrsbit.c, src/pfr/pfrsbit.h (pfr_slot_load_bitmap): Add
argument to control allocation of the glyph slot.
* src/pfr/pfrobjs (pfr_slot_load): Updated.

* src/winfonts/winfnt.c (FNT_Load_Glyph): Ditto.

* docs/CHANGES: Updated.
2016-11-06 12:32:51 +01:00
..
Jamfile Update copyright year. 2016-01-13 11:54:10 +01:00
module.mk Update copyright year. 2016-01-13 11:54:10 +01:00
pngshim.c Update copyright year. 2016-01-13 11:54:10 +01:00
pngshim.h Update copyright year. 2016-01-13 11:54:10 +01:00
rules.mk Update copyright year. 2016-01-13 11:54:10 +01:00
sfdriver.c s/0/NULL/ for function pointers; comments, formatting. 2016-09-17 17:12:50 +02:00
sfdriver.h Update copyright year. 2016-01-13 11:54:10 +01:00
sferrors.h Update copyright year. 2016-01-13 11:54:10 +01:00
sfnt.c Update copyright year. 2016-01-13 11:54:10 +01:00
sfntpic.c Update copyright year. 2016-01-13 11:54:10 +01:00
sfntpic.h Update copyright year. 2016-01-13 11:54:10 +01:00
sfobjs.c [truetype] Disallow bitmap strokes for non-default instances. 2016-09-29 19:49:07 +02:00
sfobjs.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttbdf.c Update copyright year. 2016-01-13 11:54:10 +01:00
ttbdf.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttcmap.c s/0/NULL/ for function pointers; comments, formatting. 2016-09-17 17:12:50 +02:00
ttcmap.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttcmapc.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttkern.c Update copyright year. 2016-01-13 11:54:10 +01:00
ttkern.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttload.c Comments. 2016-09-29 19:51:28 +02:00
ttload.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttmtx.c Update copyright year. 2016-01-13 11:54:10 +01:00
ttmtx.h Update copyright year. 2016-01-13 11:54:10 +01:00
ttpost.c [sfnt] Improve handling of invalid post 2.5 tables [#49393]. 2016-10-22 18:34:48 +02:00
ttpost.h Typos. 2016-04-13 00:11:52 -04:00
ttsbit.c Introduce a way of quickly retrieving (embedded) bitmap metrics. 2016-11-06 12:32:51 +01:00
ttsbit.h Update copyright year. 2016-01-13 11:54:10 +01:00