Al-Qurtas-Islamic-bank-The-.../src/sfnt
Werner Lemberg 7ef266045f [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed.
Based on a patch from metarutaiga (MR !106).  The gist of this commit is
that it doesn't make sense to support WOFF without compression (which would
be only possible in WOFF 1.0 anyway).

* src/sfnt/sfobjs.c (sfnt_open_font): Guard WOFF code with
`FT_CONFIG_OPTION_USE_ZLIB` block.
Guard WOFF2 code with `FT_CONFIG_OPTION_USE_BROTLI` block.

* src/sfnt/sfwoff.c, src/sfnt/sfwoff.h: Guard files with
`FT_CONFIG_OPTION_USE_ZLIB` blocks, not parts of the code.

* src/sfnt/sfwoff2.c, src/sfnt/sfwoff2.h, src/sfnt/woff2tags.c,
src/sfnt/woff2tags.h: Guard files with `FT_CONFIG_OPTION_USE_BROTLI` blocks,
not parts of the code.

Fixes #1111.
2021-11-08 08:56:37 +01:00
..
module.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
pngshim.c * src/sfnt/pngshim.c (Load_SBit_Png): Tweak allocaton macro. 2021-05-01 09:22:26 -04:00
pngshim.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
rules.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfdriver.c [sfnt] Add API for retrieving a 'COLR' v1 'ClipBox' table. 2021-08-07 14:44:05 +02:00
sfdriver.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sferrors.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfnt.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfobjs.c [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
sfobjs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfwoff.c [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
sfwoff.h [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
sfwoff2.c [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
sfwoff2.h [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
ttbdf.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttbdf.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttcmap.c [sfnt] Sanitize cmap4 table better. 2021-06-08 15:26:41 +02:00
ttcmap.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttcmapc.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttcolr.c [sfnt] Clarify `COLR` v1 FT_Paint* format representations 2021-11-03 08:28:10 +00:00
ttcolr.h [sfnt] Add API for retrieving a 'COLR' v1 'ClipBox' table. 2021-08-07 14:44:05 +02:00
ttcpal.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttcpal.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttkern.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttkern.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttload.c * src/sfnt/ttload.c (tt_face_load_gasp): Fix a type mismatch warning. 2021-11-07 23:21:40 -05:00
ttload.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttmtx.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttmtx.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttpost.c * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
ttpost.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ttsbit.c * src/*: Don't use more than one '\n' in `FT_TRACE` and `FT_ERROR`. 2021-02-04 07:46:46 +01:00
ttsbit.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
woff2tags.c [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00
woff2tags.h [sfnt] Reduce footprint if WOFF and WOFF2 support is not needed. 2021-11-08 08:56:37 +01:00