1//========================================================================
2//
3// ft_util.h
4//
5// FreeType helper functions.
6//
7// This file is licensed under the GPLv2 or later
8//
9// Copyright (C) 2022 Adrian Johnson <ajohnson@redneon.com>
10//
11//========================================================================
12
13#ifndef FT_UTILS_H
14#define FT_UTILS_H
15
16#include "config.h"
17#include "poppler_private_export.h"
18
19#include <ft2build.h>
20#include FT_FREETYPE_H
21
22// Same as FT_New_Face() but handles UTF-8 filenames on Windows
23POPPLER_PRIVATE_EXPORT FT_Error ft_new_face_from_file(FT_Library library, const char *filename_utf8, FT_Long face_index, FT_Face *aface);
24
25#endif // FT_UTILS_H
26

source code of poppler/goo/ft_utils.h