Al-Qurtas-Islamic-bank-The-.../src/truetype
Werner Lemberg d689d1cf78 Implement support for WOFF containers.
We simply synthesize a SFNT from the WOFF, create a memory stream
for the new data, and load the SFNT as usual.

Does NOT add any API to access WOFF metadata or private blocks.

* include/freetype/internal/tttypes.h (WOFF_HeaderRec,
WOFF_TableRec): New structures.

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

* src/base/ftobjs.c (FT_Open_Face): Set `stream' after calling
`open_face'.

* src/sfnt/sfobjs.c [FT_CONFIG_OPTION_SYSTEM_ZLIB]: Include
`FT_GZIP_H'.
(WRITE_BYTE, WRITE_USHORT, WRITE_ULONG): New temporary macros for
writing to a stream.
(sfnt_stream_close, compare_offsets, woff_open_font): New functions.
(sfnt_open_font): Handle `TTAG_wOFF'.
(sfnt_init_face): Set `stream' after calling `sfnt_open_font'.

* src/truetype/ttobjs.c (tt_face_init): Set `stream' after calling
`sfnt->init_face'.

* src/base/ftobjs.c (open_face): Use a pointer to FT_Stream as an
argument so that a changed stream survives.
Update callers.
2013-08-29 17:53:40 +02:00
..
Jamfile Position Independent Code (PIC) support in truetype driver. 2009-04-05 18:03:02 +03:00
module.mk FT_USE_MODULE declares things as: 2008-12-21 10:29:30 +00:00
rules.mk [truetype] Support subpixel hinting. 2012-06-18 10:36:06 +02:00
truetype.c [truetype] Support subpixel hinting. 2012-06-18 10:36:06 +02:00
ttdriver.c [truetype] Add `interpreter-version' property. 2013-05-17 13:51:07 +02:00
ttdriver.h Position Independent Code (PIC) support in truetype driver. 2009-04-05 18:03:02 +03:00
tterrors.h Prepare source code for amalgamation. 2012-03-08 06:04:03 +01:00
ttgload.c Better tracing of loaded glyphs. 2013-08-26 12:55:48 +02:00
ttgload.h Always ignore global advance. 2011-04-21 08:21:37 +02:00
ttgxvar.c Next round of compiler fixes. 2013-06-06 09:16:38 +02:00
ttgxvar.h truetype: Extend mmvar_len to hold size_t values. 2009-08-01 00:32:18 +09:00
ttinterp.c Fix gcc pragmas, part 2. 2013-08-06 00:21:46 +02:00
ttinterp.h Formatting, comment improvements. 2013-01-28 13:56:23 +01:00
ttobjs.c Implement support for WOFF containers. 2013-08-29 17:53:40 +02:00
ttobjs.h [truetype] Add `interpreter-version' property. 2013-05-17 13:51:07 +02:00
ttpic.c Whitespace. 2013-03-17 08:14:46 +01:00
ttpic.h [truetype] Add framework for TrueType properties. 2013-05-12 15:08:57 +02:00
ttpload.c */*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate. 2013-03-14 17:50:49 +01:00
ttpload.h * builds/win32/visualc/freetype.dsp: updating the project file, adding 2006-03-20 13:32:33 +00:00
ttsubpix.c [truetype] Formatting and an additional subpixel tweak. 2013-05-21 21:03:00 -05:00
ttsubpix.h [truetype] Simplify and improve subpixel function detection. 2013-05-20 07:38:21 +02:00