Al-Qurtas-Islamic-bank-The-.../src/sfnt
Dominik Röttsches 7d4e55c329 [sfnt] Improve paint limit checks
Paint tables can appear before the `base_glyphs_v1` offset if the
font is produced with the layer list before the base glyph list.  In
this case paint tables can occur after the layer list but before the
base glyph list.  Checks in the 'COLR' v1 code were rejecting fonts
with this layout.  Improve these checks by calculating a minimum
offset after which paint tables can occur and use that in safety
checks.

* src/sfnt/ttcolr.c (Colr, tt_face_load_colr): Declare
`paint_start_v1` and calculate that as the minimum of the end of
layer list and base glyph list.
(get_child_table_pointer, read_paint, tt_face_get_paint_layers):
Use that in safety checks.
2021-06-28 18:02:55 +02: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] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-23 19:22:51 -04: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] Additional guards on the POST table. 2021-05-16 23:12:01 -04:00
sfobjs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfwoff.c [sfnt] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-23 19:22:51 -04:00
sfwoff.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
sfwoff2.c [woff2] Avoid some memory zeroing. 2021-05-01 09:09:52 -04:00
sfwoff2.h Update all copyright notices. 2021-01-17 07:18:48 +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] Improve paint limit checks 2021-06-28 18:02:55 +02:00
ttcolr.h More various documentation improvements and fixes. 2021-06-08 18:23:16 +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 [sfnt] Additional guards on the POST table. 2021-05-16 23:12:01 -04: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 Fix compilation errors and (some) warnings for clang++. 2021-05-29 09:51:04 +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 Update all copyright notices. 2021-01-17 07:18:48 +01:00
woff2tags.h Update all copyright notices. 2021-01-17 07:18:48 +01:00