freetype/docs
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
..
reference We no longer use CVS. 2010-01-23 16:19:33 +01:00
CHANGES Introduce a way of quickly retrieving (embedded) bitmap metrics. 2016-11-06 12:32:51 +01:00
CMAKE * docs/CMAKE: New dummy file. 2013-11-10 06:26:52 +01:00
CUSTOMIZE Update copyright year. 2016-01-13 11:54:10 +01:00
DEBUG Update copyright year. 2016-01-13 11:54:10 +01:00
formats.txt URL updates. 2016-10-13 22:52:40 -04:00
freetype-config.1 * Version 2.7 released. 2016-09-08 09:04:32 +02:00
FTL.TXT Encoding tweaks. 2016-06-16 22:57:24 -04:00
GPLv2.TXT Update license documentation. 2011-06-18 08:06:57 +02:00
INSTALL Update copyright year. 2016-01-13 11:54:10 +01:00
INSTALL.ANY Update copyright year. 2016-01-13 11:54:10 +01:00
INSTALL.CROSS Update copyright year. 2016-01-13 11:54:10 +01:00
INSTALL.GNU Update copyright year. 2016-01-13 11:54:10 +01:00
INSTALL.MAC * src/base/ftbase.c: <ftmac.c> is replaced by "ftmac.c" 2008-02-14 02:55:16 +00:00
INSTALL.UNIX Update copyright year. 2016-01-13 11:54:10 +01:00
INSTALL.VMS Update copyright year. 2016-01-13 11:54:10 +01:00
LICENSE.TXT [bdf, base] Lift hash functions from bdf driver to base module. 2015-12-19 16:59:40 +01:00
MAKEPP formatting, minor doc fixes, copyright years 2007-01-05 09:03:31 +00:00
PROBLEMS * docs/PROBLEMS: Mention rendering differences on different 2011-02-24 20:01:00 +01:00
raster.txt Update copyright year. 2016-01-13 11:54:10 +01:00
release Rename `VERSION.DLL' (#47472). 2016-03-23 07:40:12 +01:00
TODO Update copyright year. 2016-01-13 11:54:10 +01:00
VERSIONS.TXT * Version 2.7 released. 2016-09-08 09:04:32 +02:00