Debian Codegraph @

pdf/pdf_fontmt.h

raw
1 /* Copyright (C) 2020-2025 Artifex Software, Inc.
2 All Rights Reserved.
3
4 This software is provided AS-IS with no warranty, either express or
5 implied.
6
7 This software is distributed under license and may not be copied,
8 modified or distributed except as expressly authorized under the terms
9 of the license contained in the file LICENSE in this distribution.
10
11 Refer to licensing information at http://www.artifex.com or contact
12 Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
13 CA 94129, USA, for further information.
14 */
15 #ifdef UFST_BRIDGE
16 int pdfi_alloc_mt_font(pdf_context *ctx, pdf_string *fco_path, int32_t index, pdf_font_microtype **font);
17 int pdfi_copy_microtype_font(pdf_context *ctx, pdf_font *spdffont, pdf_dict *font_dict, pdf_font **tpdffont);
18 int pdfi_free_font_microtype(pdf_obj *font);
19 #else /* UFST_BRIDGE */
20 #define pdfi_alloc_mt_font(ctx, fco_path, index, font) gs_error_undefined
21 #define pdfi_copy_microtype_font(ctx, spdffont, font_dict, tpdffont) gs_error_undefined
22 #define pdfi_free_font_microtype(font) gs_error_undefined
23 #endif /* UFST_BRIDGE */