// MicroPDF - MuPDF API Compatible C Header
// Auto-generated from Rust FFI - DO NOT EDIT MANUALLY
// Module: font_info

#ifndef MUPDF_FITZ_FONT_INFO_H
#define MUPDF_FITZ_FONT_INFO_H

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

// ============================================================================
// Font_info Functions (4 total)
// ============================================================================

int32_t mp_pdf_font_decode_text(int32_t font, u8 const * bytes, size_t len, u8 * out_buf, size_t out_len);
void mp_pdf_font_free(int32_t font);
int32_t mp_pdf_font_from_dict(int32_t dict_ptr);
double mp_pdf_font_glyph_width(int32_t font, uint32_t char_code);

#ifdef __cplusplus
}
#endif

#endif /* MUPDF_FITZ_FONT_INFO_H */
