[font] Move hb_font_t typedef
This is needed to avoid circular header dependencies.
This commit is contained in:
parent
8364d9130f
commit
32ce29f99e
|
@ -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…
Reference in New Issue