[font] Move hb_font_t typedef

This is needed to avoid circular header dependencies.
pull/3938/head
Matthias Clasen 2 years ago committed by Behdad Esfahbod
parent 8364d9130f
commit 32ce29f99e
  1. 8
      src/hb-common.h
  2. 9
      src/hb-font.h
  3. 3
      src/hb-paint.h

@ -915,6 +915,14 @@ typedef struct hb_glyph_extents_t {
hb_position_t height;
} hb_glyph_extents_t;
/**
* hb_font_t:
*
* Data type for holding fonts.
*
*/
typedef struct hb_font_t hb_font_t;
HB_END_DECLS
#endif /* HB_COMMON_H */

@ -38,15 +38,6 @@
HB_BEGIN_DECLS
/**
* hb_font_t:
*
* Data type for holding fonts.
*
*/
typedef struct hb_font_t hb_font_t;
/*
* hb_font_funcs_t
*/

@ -29,8 +29,7 @@
#ifndef HB_PAINT_H
#define HB_PAINT_H
#include "hb.h"
#include "hb-font.h"
#include "hb-common.h"
HB_BEGIN_DECLS

Loading…
Cancel
Save