diff options
author | Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com> | 2019-06-30 04:31:04 +0530 |
---|---|---|
committer | Nikhil Ramakrishnan <ramakrishnan.nikhil@gmail.com> | 2019-06-30 04:36:44 +0530 |
commit | f6c4d58ec8340051051311ef4781089a9e56d17c (patch) | |
tree | dcd64fe623f1b98a68e2b8caefecc921e692f04f /src/cid/type1cid.c | |
parent | 6d3d309ae62d2153444c53601da1ff4b3c7a57db (diff) | |
download | freetype2-f6c4d58ec8340051051311ef4781089a9e56d17c.tar.gz |
Uncompress Brotli streams and face_index support.
WOFF2 compressed stream is now uncompressed if Brotli is available. This
data is stored in a separate buffer (uncompressed_buf) because it does
not contain direct table data. Certain tables have transformations
applied to them, and they must be reconstructed before we can write
those tables to the SFNT stream.
`face_index' is now being passed as a parameter to `woff2_open_font'.
* src/sfnt/sfobjs.c (sfnt_open_font): Add parameter
`face_instance_index'.
* src/sfnt/sfwoff2.c (woff2_uncompress): New function.
(woff2_open_font): Call `woff2_uncompress'.
* src/sfnt/sfwoff2.h (woff2_open_font): Modify declaration.
Diffstat (limited to 'src/cid/type1cid.c')
0 files changed, 0 insertions, 0 deletions