| 1 |
/* Copyright (C) 2020-2024 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 |
|
| 16 |
/* We expect to lookup a name, but what we get back might be a name, |
| 17 |
or might be a string. |
| 18 |
*/ |
| 19 |
int |
| 20 |
pdfi_fontmap_lookup_font(pdf_context *ctx, pdf_dict *font_dict, pdf_name *fname, pdf_obj **mapname, int *findex); |
| 21 |
|
| 22 |
|
| 23 |
/* The name parameter is to allow for internally derived font names to be looked up, |
| 24 |
like, for example, /Adobe-Japan1 |
| 25 |
*/ |
| 26 |
int |
| 27 |
pdfi_fontmap_lookup_cidfont(pdf_context *ctx, pdf_dict *font_dict, pdf_name *name, pdf_obj **mapname, int *findex); |