From 6b8fc61b772b394d7a205531b492101c519dc47d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Aug 2021 17:44:35 +0200 Subject: Add support for gzip compression and prepare for PSF support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libskrift.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libskrift.h') diff --git a/libskrift.h b/libskrift.h index 4c8cd25..41814e6 100644 --- a/libskrift.h +++ b/libskrift.h @@ -232,6 +232,12 @@ int libskrift_open_font_file(LIBSKRIFT_FONT **, const char *); _LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__))) int libskrift_open_font_mem(LIBSKRIFT_FONT **, const void *, size_t); +_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__))) +int libskrift_open_font_adopt_mem(LIBSKRIFT_FONT **, void *, size_t); + +_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__))) +int libskrift_open_font_adopt_mmap(LIBSKRIFT_FONT **, void *, size_t); + _LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__))) int libskrift_open_font_fd(LIBSKRIFT_FONT **, int); -- cgit v1.2.3-70-g09d2