mupdf
Loading...
Searching...
No Matches
fz_shaper_data_t Struct Reference

#include <font.h>

Public Attributes

void * shaper_handle
void(* destroy )(fz_context *ctx, void *)

Detailed Description

In order to shape a given font, we need to declare it to a shaper library (harfbuzz, by default, but others are possible). To avoid redeclaring it every time we need to shape, we hold a shaper handle and the destructor for it within the font itself. The handle is initialised by the caller when first required and the destructor is called when the fz_font is destroyed.

Member Data Documentation

◆ destroy

void(* fz_shaper_data_t::destroy) (fz_context *ctx, void *)

◆ shaper_handle

void* fz_shaper_data_t::shaper_handle

The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/mupdf/checkouts/1.28.0/include/mupdf/fitz/font.h